public class SegmentRange extends Range
EMPTY_RANGE
Constructor and Description |
---|
SegmentRange() |
SegmentRange(String colName,
Comparable<?> value1,
boolean includeMin,
Comparable<?> value2,
boolean includeMax) |
SegmentRange(String colName,
FunctionCallDescription functionCallDescription,
Comparable<?> value1,
boolean includeMin,
Comparable<?> value2,
boolean includeMax) |
chooseRange, evaluatePredicate, getFunction, getFunctionCallDescription, getPath, getPredicate, hasFunctionCallDescription, hasFunctionOnlyOnOneSide, hasSameFunction, intersection, intersection, isComplex, isEmptyRange, isEqualValueRange, isIndexed, isInternalRange, isNestedQuery, isUidsRange, matches, setFunction, setFunctionCallDescription, twoBuiltInFunctions
addCustomIndex, getCustomIndexes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public SegmentRange()
public SegmentRange(String colName, Comparable<?> value1, boolean includeMin, Comparable<?> value2, boolean includeMax)
public SegmentRange(String colName, FunctionCallDescription functionCallDescription, Comparable<?> value1, boolean includeMin, Comparable<?> value2, boolean includeMax)
public Comparable getMin()
public Comparable getMax()
public boolean isIncludeMin()
public void setIncludeMin(boolean includeMin)
includeMin
- the includeMin to setpublic void setIncludeMax(boolean includeMax)
includeMax
- the includeMax to setpublic boolean isIncludeMax()
public void toEntryPacket(QueryTemplatePacket e, int index)
Range
toEntryPacket
in class Range
public boolean contains(Comparable value)
public Range intersection(SegmentRange range)
intersection
in class Range
public Range intersection(Range range)
intersection
in class Range
public Range intersection(EqualValueRange range)
intersection
in class Range
public Range intersection(NotEqualValueRange range)
intersection
in class Range
public Range intersection(IsNullRange range)
intersection
in class Range
public Range intersection(NotNullRange range)
intersection
in class Range
public Range intersection(RegexRange range)
intersection
in class Range
public Range intersection(NotRegexRange range)
intersection
in class Range
public Range intersection(InRange range)
intersection
in class Range
public Range intersection(RelationRange range)
intersection
in class Range
public boolean suitableAsCompoundIndexSegment()
suitableAsCompoundIndexSegment
in class Range
public boolean isSegmentRange()
isSegmentRange
in class Range
public boolean isRelevantForAllIndexValuesOptimization()
isRelevantForAllIndexValuesOptimization
in class Range
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class Range
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class Range
IOException
public IQueryIndexScanner getIndexScanner()
getIndexScanner
in class Range
Copyright © GigaSpaces.