Class AndSpacePredicate
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.BinaryCompositeSpacePredicate
com.gigaspaces.internal.query.predicate.composite.AndSpacePredicate
- All Implemented Interfaces:
ISpacePredicate, SmartExternalizable, Externalizable, Serializable
An implementation of a logical binary AND condition: This predicate returns true if and only if
both left and right operands return true.
- Since:
- 7.1
- Author:
- Niv Ingberg
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Externalizable.AndSpacePredicate(ISpacePredicate leftPredicate, ISpacePredicate rightPredicate) Creates a binary predicate using the specified predicates. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexecute(Object target, ISpacePredicate leftOperand, ISpacePredicate rightOperand) protected StringMethods inherited from class BinaryCompositeSpacePredicate
equals, execute, getLeftOperand, getRightOperand, readExternalImpl, toString, writeExternalImplMethods inherited from class AbstractSpacePredicate
preparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecutionMethods inherited from class AbstractExternalizable
readExternal, writeExternalMethods inherited from class Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Externalizable
readExternal, writeExternalMethods inherited from interface SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
AndSpacePredicate
public AndSpacePredicate()Default constructor for Externalizable. -
AndSpacePredicate
Creates a binary predicate using the specified predicates.- Parameters:
leftPredicate- Left predicate of the binary predicate.rightPredicate- Right predicate of the binary predicate.
-
-
Method Details
-
execute
- Specified by:
executein classBinaryCompositeSpacePredicate
-
getOperatorName
- Specified by:
getOperatorNamein classBinaryCompositeSpacePredicate
-