Package com.j_spaces.jdbc.builder.range
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 com.j_spaces.jdbc.builder.range.ContainsValueRange
_templateMatchCodeFields inherited from class com.j_spaces.jdbc.builder.range.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 com.j_spaces.jdbc.builder.range.ContainsValueRange
getTemplateMatchCode, intersection, intersection, intersection, intersection, intersection, intersection, intersection, intersection, intersection, intersection, isComplex, toEntryPacket, toSQLQueryMethods inherited from class com.j_spaces.jdbc.builder.range.SingleValueRange
getValue, isRelevantForAllIndexValuesOptimization, setValueMethods inherited from class com.j_spaces.jdbc.builder.range.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 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.internal.query.ICustomQuery
getCustomIndexes, toSQLQueryMethods inherited from interface com.gigaspaces.serialization.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
-