public class ContainsValueRange extends SingleValueRange
Modifier and Type | Field and Description |
---|---|
protected short |
_templateMatchCode |
EMPTY_RANGE
Constructor and Description |
---|
ContainsValueRange() |
ContainsValueRange(String colName,
FunctionCallDescription functionCallDescription,
Object value,
short templateMatchCode) |
ContainsValueRange(String colName,
FunctionCallDescription functionCallDescription,
Object value,
short templateMatchCode,
ContainsPredicate predicate) |
Modifier and Type | Method and Description |
---|---|
IQueryIndexScanner |
getIndexScanner() |
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 |
isComplex() |
boolean |
matches(CacheManager cacheManager,
ServerEntry entry,
String skipAlreadyMatchedIndexPath)
Checks whether the specified entry matches this query.
|
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) |
getValue, isRelevantForAllIndexValuesOptimization, setValue
chooseRange, getFunction, getFunctionCallDescription, getPath, getPredicate, hasFunctionCallDescription, hasFunctionOnlyOnOneSide, hasSameFunction, intersection, intersection, isEmptyRange, isEqualValueRange, isIndexed, isInternalRange, isNestedQuery, isSegmentRange, setFunction, setFunctionCallDescription, suitableAsCompoundIndexSegment, twoBuiltInFunctions
addCustomIndex, getCustomIndexes
public ContainsValueRange()
public ContainsValueRange(String colName, FunctionCallDescription functionCallDescription, Object value, short templateMatchCode)
public ContainsValueRange(String colName, FunctionCallDescription functionCallDescription, Object value, short templateMatchCode, ContainsPredicate predicate)
public void toEntryPacket(QueryTemplatePacket e, int index)
Range
toEntryPacket
in class Range
public Range intersection(Range range)
intersection
in class Range
public Range intersection(EqualValueRange range)
intersection
in class Range
public Range intersection(SegmentRange 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 SQLQuery toSQLQuery(ITypeDesc typeDesc)
typeDesc
- TODOpublic boolean matches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath)
ICustomQuery
matches
in interface ICustomQuery
matches
in class Range
public IQueryIndexScanner getIndexScanner()
getIndexScanner
in class Range
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal
in interface Externalizable
readExternal
in class SingleValueRange
IOException
ClassNotFoundException
public void writeExternal(ObjectOutput out) throws IOException
writeExternal
in interface Externalizable
writeExternal
in class SingleValueRange
IOException
Copyright © GigaSpaces.