Package com.gigaspaces.internal.query
Class CompoundContainsItemsCustomQuery
java.lang.Object
com.gigaspaces.internal.query.AbstractCustomQuery
com.gigaspaces.internal.query.CompoundContainsItemsCustomQuery
- All Implemented Interfaces:
IContainsItemsCustomQuery,ICustomQuery,SmartExternalizable,Externalizable,Serializable
public class CompoundContainsItemsCustomQuery
extends AbstractCustomQuery
implements IContainsItemsCustomQuery
using a common root query for item in collection-contains.
- Since:
- 9.6
- Author:
- Yechiel Fefer
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected short[]protected SpacePropertyInfo[]protected String[] -
Constructor Summary
ConstructorsConstructorDescriptionCompoundContainsItemsCustomQuery(String rootPath, String fullPath, List<IContainsItemsCustomQuery> subQueries) -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanmatches(CacheManager cacheManager, ServerEntry entry, Object collectionItem) booleanmatches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath) Checks whether the specified entry matches this query.voidtoSQLQuery(ITypeDesc typeDesc) voidMethods 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
getCustomIndexesMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Field Details
-
_tokens
-
_propertyInfo
-
_containsIndexes
protected transient short[] _containsIndexes
-
-
Constructor Details
-
CompoundContainsItemsCustomQuery
public CompoundContainsItemsCustomQuery(String rootPath, String fullPath, List<IContainsItemsCustomQuery> subQueries) -
CompoundContainsItemsCustomQuery
public CompoundContainsItemsCustomQuery()
-
-
Method Details
-
getSubQueries
-
toSQLQuery
- Specified by:
toSQLQueryin interfaceICustomQuery- Parameters:
typeDesc- TODO- Returns:
- SQLQuery
-
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- Specified by:
matchesin classAbstractCustomQuery- Returns:
- Returns true if the specified entry matches this query, false otherwise.
-
isRootHandler
public boolean isRootHandler()- Specified by:
isRootHandlerin interfaceIContainsItemsCustomQuery
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classAbstractCustomQuery- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classAbstractCustomQuery- Throws:
IOException
-