public abstract class Range extends AbstractCustomQuery
Modifier and Type | Field and Description |
---|---|
static EmptyRange |
EMPTY_RANGE
Empty range indicates an intersection between two non-overlapping ranges
|
Modifier | Constructor and Description |
---|---|
|
Range()
Default constructor for Externalizable.
|
protected |
Range(String path,
FunctionCallDescription functionCallDescription,
ISpacePredicate predicate) |
addCustomIndex, getCustomIndexes
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
toSQLQuery
public static final EmptyRange EMPTY_RANGE
public Range()
protected Range(String path, FunctionCallDescription functionCallDescription, ISpacePredicate predicate)
public boolean isIndexed(ITypeDesc typeDesc)
public ISpacePredicate getPredicate()
public String getPath()
public boolean isNestedQuery()
public boolean matches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath)
ICustomQuery
matches
in interface ICustomQuery
matches
in class AbstractCustomQuery
public void toEntryPacket(QueryTemplatePacket e, int index)
public boolean isComplex()
public IQueryIndexScanner getIndexScanner()
public Range intersection(EmptyRange range)
public Range intersection(CompositeRange range)
public boolean suitableAsCompoundIndexSegment()
public boolean isEqualValueRange()
public boolean isSegmentRange()
public boolean isInternalRange()
public boolean isEmptyRange()
public abstract Range intersection(IsNullRange range)
public abstract Range intersection(NotNullRange range)
public abstract Range intersection(EqualValueRange range)
public abstract Range intersection(NotEqualValueRange range)
public abstract Range intersection(RegexRange range)
public abstract Range intersection(NotRegexRange range)
public abstract Range intersection(SegmentRange range)
public abstract Range intersection(RelationRange range)
public boolean isRelevantForAllIndexValuesOptimization()
public FunctionCallDescription getFunctionCallDescription()
public void setFunctionCallDescription(FunctionCallDescription functionCallDescription)
protected boolean hasSameFunction(Range range)
protected boolean hasFunctionCallDescription(Range range)
public SqlFunction getFunction()
public void setFunction(SqlFunction function)
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class AbstractCustomQuery
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class AbstractCustomQuery
IOException
Copyright © GigaSpaces.