Package com.j_spaces.jdbc.builder.range
Class UidsRange
java.lang.Object
com.gigaspaces.internal.query.AbstractCustomQuery
com.j_spaces.jdbc.builder.range.Range
com.j_spaces.jdbc.builder.range.UidsRange
- All Implemented Interfaces:
ICustomQuery,SmartExternalizable,Externalizable,Serializable
Represents a set of uids to match against the candidates
- Since:
- 14.3
- Author:
- Yechiel
- See Also:
-
Field Summary
Fields inherited from class com.j_spaces.jdbc.builder.range.Range
EMPTY_RANGE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintersection(EqualValueRange range) intersection(InRange range) intersection(IsNullRange range) intersection(NotEqualValueRange range) intersection(NotNullRange range) intersection(NotRegexRange range) intersection(Range range) intersection(RegexRange range) intersection(RelationRange range) intersection(SegmentRange range) booleanbooleanbooleanbooleanbooleanmatches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath) Checks whether the specified entry matches this query.voidvoidtoEntryPacket(QueryTemplatePacket e, int index) Convert the range to a single external entry expressiontoSQLQuery(ITypeDesc typeDesc) voidMethods inherited from class com.j_spaces.jdbc.builder.range.Range
chooseRange, evaluatePredicate, getFunction, getFunctionCallDescription, getPath, getPredicate, getRightColumnPosition, hasFunctionCallDescription, hasFunctionOnlyOnOneSide, hasSameFunction, intersection, intersection, isEmptyRange, isEqualValueRange, isInternalRange, isNestedQuery, isSegmentRange, setFunction, setFunctionCallDescription, suitableAsCompoundIndexSegment, twoBuiltInFunctionsMethods inherited from class com.gigaspaces.internal.query.AbstractCustomQuery
addCustomIndex, getCustomIndexes, matchConvertingExceptionHandlerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
UidsRange
public UidsRange() -
UidsRange
-
UidsRange
-
-
Method Details
-
getInValues
- Returns:
- the value
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
toEntryPacket
Description copied from class:RangeConvert the range to a single external entry expression- Overrides:
toEntryPacketin classRange
-
intersection
- Specified by:
intersectionin classRange
-
toSQLQuery
- Parameters:
typeDesc- TODO- Returns:
- SQLQuery
-
intersection
- Specified by:
intersectionin classRange
-
intersection
- Specified by:
intersectionin classRange
-
isComplex
public boolean isComplex() -
getIndexScanner
- Overrides:
getIndexScannerin classRange
-
isIndexed
-
matches
public boolean matches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath) Description copied from interface:ICustomQueryChecks whether the specified entry matches this query.- Specified by:
matchesin interfaceICustomQuery- Overrides:
matchesin classRange- Returns:
- Returns true if the specified entry matches this query, false otherwise.
-
isUidsRange
public boolean isUidsRange()- Overrides:
isUidsRangein classRange
-
isRelevantForAllIndexValuesOptimization
public boolean isRelevantForAllIndexValuesOptimization()- Overrides:
isRelevantForAllIndexValuesOptimizationin classRange
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classRange- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classRange- Throws:
IOException
-