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