Package it.unimi.di.big.mg4j.query.nodes
Class Select
- java.lang.Object
-
- it.unimi.di.big.mg4j.query.nodes.Select
-
- All Implemented Interfaces:
Query
,Serializable
public class Select extends Object implements Query
A node representing an index selection.- Author:
- Sebastiano Vigna
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description CharSequence
index
The name of the index selected for the subquery.Query
query
The only underlying node.
-
Constructor Summary
Constructors Constructor Description Select(CharSequence index, Query query)
-
-
-
Field Detail
-
index
public final CharSequence index
The name of the index selected for the subquery.
-
query
public final Query query
The only underlying node.
-
-
Constructor Detail
-
Select
public Select(CharSequence index, 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
-
-