Package com.gigaspaces.internal.query
Class CompoundAndCustomQuery
java.lang.Object
com.gigaspaces.internal.query.AbstractCustomQuery
com.gigaspaces.internal.query.AbstractCompundCustomQuery
com.gigaspaces.internal.query.CompoundAndCustomQuery
- All Implemented Interfaces:
ICustomQuery,SmartExternalizable,Externalizable,Serializable
Provides a logical AND combination for a list of custom queries.
- Since:
- 7.1
- Author:
- Niv Ingberg
- See Also:
-
Field Summary
Fields inherited from class com.gigaspaces.internal.query.AbstractCompundCustomQuery
_subQueries -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Externalizable.CompoundAndCustomQuery(List<ICustomQuery> subQueries) -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(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.AbstractCompundCustomQuery
get_subQueries, handleConvertingExceptionMethods 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
-
CompoundAndCustomQuery
public CompoundAndCustomQuery()Default constructor for Externalizable. -
CompoundAndCustomQuery
-
-
Method Details
-
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.
-
toSQLQuery
- Parameters:
typeDesc- TODO- Returns:
- SQLQuery
-
readExternal
- Specified by:
readExternalin interfaceExternalizable- Overrides:
readExternalin classAbstractCompundCustomQuery- Throws:
IOExceptionClassNotFoundException
-
writeExternal
- Specified by:
writeExternalin interfaceExternalizable- Overrides:
writeExternalin classAbstractCompundCustomQuery- Throws:
IOException
-