Package com.gigaspaces.internal.query
Class CompoundOrCustomQuery
java.lang.Object
com.gigaspaces.internal.query.AbstractCustomQuery
com.gigaspaces.internal.query.AbstractCompundCustomQuery
com.gigaspaces.internal.query.CompoundOrCustomQuery
- All Implemented Interfaces:
ICustomQuery,SmartExternalizable,Externalizable,Serializable
Provides a logical OR combination for a list of custom queries.
- Since:
- 8.0.1
- Author:
- Anna Pavtulov
- See Also:
-
Field Summary
Fields inherited from class com.gigaspaces.internal.query.AbstractCompundCustomQuery
_subQueries -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Externalizable.CompoundOrCustomQuery(List<ICustomQuery> subQueries) -
Method Summary
Modifier and TypeMethodDescriptionbooleanmatches(CacheManager cacheManager, ServerEntry entry, String skipAlreadyMatchedIndexPath) Checks whether the specified entry matches this query.toSQLQuery(ITypeDesc typeDesc) Methods inherited from class com.gigaspaces.internal.query.AbstractCompundCustomQuery
get_subQueries, handleConvertingException, readExternal, writeExternalMethods 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
-
CompoundOrCustomQuery
public CompoundOrCustomQuery()Default constructor for Externalizable. -
CompoundOrCustomQuery
-
-
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
-