Class AbstractSpacePredicate
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.internal.query.predicate.AbstractSpacePredicate
- All Implemented Interfaces:
ISpacePredicate,SmartExternalizable,Externalizable,Serializable
- Direct Known Subclasses:
BetweenSpacePredicate,CompositeSpacePredicate,FalseSpacePredicate,InSpacePredicate,NotNullSpacePredicate,NullSpacePredicate,ScalarSpacePredicate,TrueSpacePredicate,ValueGetterSpacePredicate
public abstract class AbstractSpacePredicate
extends AbstractExternalizable
implements ISpacePredicate
A common basic implementation for space predicate implementations.
- Since:
- 7.1
- Author:
- Niv ingberg
- See Also:
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedDefault constructor for Externalizable. -
Method Summary
Modifier and TypeMethodDescriptionabstract booleanExecutes this predicate on the specified target.protected ISpacePredicatebooleanvoidsetCacheManagerForExecution(CacheManager cacheManager) Methods inherited from class com.gigaspaces.internal.serialization.AbstractExternalizable
readExternal, readExternalImpl, writeExternal, writeExternalImplMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AbstractSpacePredicate
protected AbstractSpacePredicate()Default constructor for Externalizable.
-
-
Method Details
-
preparePredicate
-
execute
Description copied from interface:ISpacePredicateExecutes this predicate on the specified target.- Specified by:
executein interfaceISpacePredicate- Returns:
- True if the specified target matches the predicate, false otherwise.
-
requiresCacheManagerForExecution
public boolean requiresCacheManagerForExecution()- Specified by:
requiresCacheManagerForExecutionin interfaceISpacePredicate
-
setCacheManagerForExecution
- Specified by:
setCacheManagerForExecutionin interfaceISpacePredicate
-