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 com.gigaspaces.internal.query.predicate.composite.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 com.gigaspaces.internal.query.predicate.composite.MultipleCompositeSpacePredicate
addOperand, equals, execute, getNumOfOperands, getOperand, readExternalImpl, requiresCacheManagerForExecution, setCacheManagerForExecution, setOperand, writeExternalImplMethods inherited from class com.gigaspaces.internal.query.predicate.AbstractSpacePredicate
preparePredicateMethods inherited from class com.gigaspaces.internal.serialization.AbstractExternalizable
readExternal, writeExternalMethods inherited from class java.lang.Object
clone, 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
-
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
-