Class NotSpacePredicate
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.UnaryCompositeSpacePredicate
com.gigaspaces.internal.query.predicate.composite.NotSpacePredicate
- All Implemented Interfaces:
ISpacePredicate,SmartExternalizable,Externalizable,Serializable
An implementation of a logical unary NOT condition: This predicate returns true if and only if
the operand returns false.
- Since:
- 7.1
- Author:
- Niv Ingberg
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Externalizable.NotSpacePredicate(ISpacePredicate operand) Creates a binary predicate using the specified operands. -
Method Summary
Modifier and TypeMethodDescriptionprotected booleanexecute(Object target, ISpacePredicate operand) Executes the operand predicate on the target.protected StringGets this operator's name, to be used in toString().Methods inherited from class com.gigaspaces.internal.query.predicate.composite.UnaryCompositeSpacePredicate
equals, execute, getOperand, readExternalImpl, toString, writeExternalImplMethods inherited from class com.gigaspaces.internal.query.predicate.AbstractSpacePredicate
preparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecutionMethods inherited from class com.gigaspaces.internal.serialization.AbstractExternalizable
readExternal, writeExternalMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
NotSpacePredicate
public NotSpacePredicate()Default constructor for Externalizable. -
NotSpacePredicate
Creates a binary predicate using the specified operands.- Parameters:
operand- Operand for unary predicate.
-
-
Method Details
-
execute
Description copied from class:UnaryCompositeSpacePredicateExecutes the operand predicate on the target.- Specified by:
executein classUnaryCompositeSpacePredicate- Parameters:
target- Target object for predicate execution.operand- Predicate to execute.
-
getOperatorName
Description copied from class:UnaryCompositeSpacePredicateGets this operator's name, to be used in toString().- Specified by:
getOperatorNamein classUnaryCompositeSpacePredicate- Returns:
- This operator's name.
-