public class CriteriaRange extends Range
EMPTY_RANGE
Constructor and Description |
---|
CriteriaRange(boolean isUnion) |
Modifier and Type | Method and Description |
---|---|
CriteriaRange |
add(Range range)
Add a range to the composite ranges
|
boolean |
evaluatePredicate(IEntryData entryData) |
List<Range> |
getRanges() |
Range |
intersection(EqualValueRange range) |
Range |
intersection(InRange range) |
Range |
intersection(IsNullRange range) |
Range |
intersection(NotEqualValueRange range) |
Range |
intersection(NotNullRange range) |
Range |
intersection(NotRegexRange range) |
Range |
intersection(Range range) |
Range |
intersection(RegexRange range) |
Range |
intersection(RelationRange range) |
Range |
intersection(SegmentRange range) |
boolean |
isUnion() |
void |
readExternal(ObjectInput in) |
void |
toEntryPacket(QueryTemplatePacket e,
int index)
Convert the range to a single external entry expression
|
SQLQuery |
toSQLQuery(ITypeDesc typeDesc) |
void |
writeExternal(ObjectOutput out) |
chooseRange, getFunction, getFunctionCallDescription, getIndexScanner, getPath, getPredicate, hasFunctionCallDescription, hasFunctionOnlyOnOneSide, hasSameFunction, intersection, intersection, isComplex, isEmptyRange, isEqualValueRange, isIndexed, isInternalRange, isNestedQuery, isRelevantForAllIndexValuesOptimization, isSegmentRange, isUidsRange, matches, setFunction, setFunctionCallDescription, suitableAsCompoundIndexSegment, twoBuiltInFunctions
addCustomIndex, getCustomIndexes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
enabledSmartExternalizableWithReference
public boolean isUnion()
public CriteriaRange add(Range range)
public Range intersection(Range range)
intersection
in class Range
public Range intersection(SegmentRange 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(NotNullRange range)
intersection
in class Range
public Range intersection(IsNullRange range)
intersection
in class Range
public void toEntryPacket(QueryTemplatePacket e, int index)
Range
toEntryPacket
in class Range
public Range intersection(RegexRange range)
intersection
in class Range
public Range intersection(RelationRange range)
intersection
in class Range
public Range intersection(NotRegexRange range)
intersection
in class Range
public Range intersection(InRange range)
intersection
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 SQLQuery toSQLQuery(ITypeDesc typeDesc)
typeDesc
- TODOpublic boolean evaluatePredicate(IEntryData entryData)
evaluatePredicate
in class Range
Copyright © GigaSpaces.