public abstract class UnaryCompositeSpacePredicate extends CompositeSpacePredicate
| Modifier | Constructor and Description |
|---|---|
protected |
UnaryCompositeSpacePredicate()
Default constructor for Externalizable.
|
protected |
UnaryCompositeSpacePredicate(ISpacePredicate operand)
Creates an unary predicate using the specified operands.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
boolean |
execute(Object target)
Executes this predicate on the specified target.
|
protected abstract boolean |
execute(Object target,
ISpacePredicate operand)
Executes the operand predicate on the target.
|
ISpacePredicate |
getOperand()
Gets the operand of this unary predicate.
|
protected abstract String |
getOperatorName()
Gets this operator's name, to be used in toString().
|
protected void |
readExternalImpl(ObjectInput in) |
String |
toString() |
protected void |
writeExternalImpl(ObjectOutput out) |
preparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecutionreadExternal, writeExternalclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencereadExternal, writeExternalprotected UnaryCompositeSpacePredicate()
protected UnaryCompositeSpacePredicate(ISpacePredicate operand)
operand - Operand for unary predicate.public ISpacePredicate getOperand()
public boolean execute(Object target)
ISpacePredicateexecute in interface ISpacePredicateexecute in class AbstractSpacePredicateprotected abstract boolean execute(Object target, ISpacePredicate operand)
target - Target object for predicate execution.operand - Predicate to execute.protected abstract String getOperatorName()
protected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl in class AbstractExternalizableIOExceptionClassNotFoundExceptionprotected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl in class AbstractExternalizableIOExceptionCopyright © GigaSpaces.