it.unimi.di.mg4j.query.nodes
Class Range
java.lang.Object
it.unimi.di.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 |
CharSequence |
left
The string representation of the left extreme of the range, or null for no left extreme. |
CharSequence |
right
The string representation of the right extreme of the range, or null for no right extreme. |
left
public final CharSequence left
- The string representation of the left extreme of the range, or
null
for no left extreme.
right
public final CharSequence right
- The string representation of the right extreme of the range, or
null
for no right extreme.
Range
public Range(CharSequence left,
CharSequence right)
toString
public String toString()
- Overrides:
toString
in class Object
accept
public <T> T accept(QueryBuilderVisitor<T> visitor)
throws QueryBuilderVisitorException
- Description copied from interface:
Query
- Accepts a visitor.
- Specified by:
accept
in interface Query
- Parameters:
visitor
- the visitor.
- Returns:
- the result of the visit, or
null
if the visit should stop.
- Throws:
QueryBuilderVisitorException
- See Also:
Query
equals
public boolean equals(Object o)
- Overrides:
equals
in class Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class Object