Package it.unimi.di.big.mg4j.query.nodes
Class Range
- java.lang.Object
-
- it.unimi.di.big.mg4j.query.nodes.Range
-
- All Implemented Interfaces:
Query,Serializable
public class Range extends Object implements Query
A node representing a range query on a payload-only index.- Author:
- Sebastiano Vigna
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description CharSequenceleftThe string representation of the left extreme of the range, ornullfor no left extreme.CharSequencerightThe string representation of the right extreme of the range, ornullfor no right extreme.
-
Constructor Summary
Constructors Constructor Description Range(CharSequence left, CharSequence right)
-
-
-
Field Detail
-
left
public final CharSequence left
The string representation of the left extreme of the range, ornullfor no left extreme.
-
right
public final CharSequence right
The string representation of the right extreme of the range, ornullfor no right extreme.
-
-
Constructor Detail
-
Range
public Range(CharSequence left, CharSequence right)
-
-
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
-
-