Package it.unimi.di.big.mg4j.query.nodes
Class Not
- java.lang.Object
-
- it.unimi.di.big.mg4j.query.nodes.Not
-
- All Implemented Interfaces:
Query
,Serializable
public class Not extends Object implements Query
A node representing the logical not of the underlying query.- Author:
- Sebastiano Vigna
- See Also:
- Serialized Form
-
-
Field Detail
-
query
public final Query query
The only underlying node.
-
-
Constructor Detail
-
Not
public Not(Query query)
-
-
Method Detail
-
accept
public <T> T accept(QueryBuilderVisitor<T> visitor) throws QueryBuilderVisitorException
Description copied from interface:Query
Accepts a visitor.- Specified by:
accept
in interfaceQuery
- Parameters:
visitor
- the visitor.- Returns:
- the result of the visit, or
null
if the visit should stop. - Throws:
QueryBuilderVisitorException
- See Also:
Query
-
-