Class ContainsItemValueRange
java.lang.Object
com.gigaspaces.internal.query.AbstractCustomQuery
com.j_spaces.jdbc.builder.range.Range
com.j_spaces.jdbc.builder.range.SingleValueRange
com.j_spaces.jdbc.builder.range.ContainsValueRange
com.j_spaces.jdbc.builder.range.ContainsItemValueRange
- All Implemented Interfaces:
IContainsItemsCustomQuery, ICustomQuery, SmartExternalizable, Externalizable, Serializable
a range for c collection imposede on single item rendered.
- Since:
- 9.6
- Author:
- Yechiel Fefer
- See Also:
-
Field Summary
Fields inherited from class ContainsValueRange
_templateMatchCodeFields inherited from class Range
EMPTY_RANGE -
Constructor Summary
ConstructorsConstructorDescriptionContainsItemValueRange(String relativePath, String fullPath, FunctionCallDescription functionCallDescription, Object value, short templateMatchCode) ContainsItemValueRange(String relativePath, String fullPath, FunctionCallDescription functionCallDescription, Object value, short templateMatchCode, String relation, String typeName) -
Method Summary
Modifier and TypeMethodDescriptiongetRoot()booleanbooleanbooleanbooleanmatches(CacheManager cacheManager, ServerEntry entry, Object collectionItem) booleanmatches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath) Checks whether the specified entry matches this query.voidvoidbooleanvoidMethods inherited from class ContainsValueRange
getTemplateMatchCode, intersection, intersection, intersection, intersection, intersection, intersection, intersection, intersection, intersection, intersection, isComplex, toEntryPacket, toSQLQueryMethods inherited from class SingleValueRange
getValue, isRelevantForAllIndexValuesOptimization, setValueMethods inherited from class Range
chooseRange, evaluatePredicate, getFunction, getFunctionCallDescription, getPath, getPredicate, getRightColumnPosition, hasFunctionCallDescription, hasFunctionOnlyOnOneSide, hasSameFunction, intersection, intersection, isEmptyRange, isEqualValueRange, isIndexed, isNestedQuery, isSegmentRange, isUidsRange, setFunction, setFunctionCallDescription, suitableAsCompoundIndexSegment, twoBuiltInFunctionsMethods inherited from class AbstractCustomQuery
addCustomIndex, getCustomIndexes, matchConvertingExceptionHandlerMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ICustomQuery
getCustomIndexes, toSQLQueryMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
ContainsItemValueRange
public ContainsItemValueRange() -
ContainsItemValueRange
public ContainsItemValueRange(String relativePath, String fullPath, FunctionCallDescription functionCallDescription, Object value, short templateMatchCode) -
ContainsItemValueRange
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceIContainsItemsCustomQuery
-
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 classContainsValueRange- Returns:
- Returns true if the specified entry matches this query, false otherwise.
-
isRootHandler
public boolean isRootHandler()- Specified by:
isRootHandlerin interfaceIContainsItemsCustomQuery
-
isInternalRange
public boolean isInternalRange()- Overrides:
isInternalRangein classRange
-
getRoot
-
setRoot
-
supportsIntersection
public boolean supportsIntersection() -
intersectIfPossible
-
getIndexScanner
- Overrides:
getIndexScannerin classContainsValueRange
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classContainsValueRange- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classContainsValueRange- Throws:
IOException
-