Class AnySpacePredicate
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.internal.query.predicate.AbstractSpacePredicate
com.gigaspaces.internal.query.predicate.composite.CompositeSpacePredicate
com.gigaspaces.internal.query.predicate.composite.MultipleCompositeSpacePredicate
com.gigaspaces.internal.query.predicate.composite.AnySpacePredicate
- All Implemented Interfaces:
ISpacePredicate, SmartExternalizable, Externalizable, Serializable
An implementation of a logical multiple OR condition: This predicate returns true if and only if
any of the operands return true.
- Since:
- 7.1
- Author:
- Niv Ingberg
- See Also:
-
Field Summary
Fields inherited from class MultipleCompositeSpacePredicate
_cacheManager -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Externalizable.AnySpacePredicate(ISpacePredicate... operands) Creates a multiple composite space predicate using the specified operands.AnySpacePredicate(List<ISpacePredicate> operands) Creates a multiple composite space predicate using the specified operands. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexecute(Object target, ISpacePredicate[] operands) Methods inherited from class MultipleCompositeSpacePredicate
addOperand, equals, execute, getNumOfOperands, getOperand, readExternalImpl, requiresCacheManagerForExecution, setCacheManagerForExecution, setOperand, writeExternalImplMethods inherited from class AbstractSpacePredicate
preparePredicateMethods inherited from class AbstractExternalizable
readExternal, writeExternalMethods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AnySpacePredicate
public AnySpacePredicate()Default constructor for Externalizable. -
AnySpacePredicate
Creates a multiple composite space predicate using the specified operands. -
AnySpacePredicate
Creates a multiple composite space predicate using the specified operands.
-
-
Method Details
-
execute
- Specified by:
executein classMultipleCompositeSpacePredicate
-