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, setCacheManagerForExecution
readExternal, writeExternal
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readExternal, writeExternal
protected UnaryCompositeSpacePredicate()
protected UnaryCompositeSpacePredicate(ISpacePredicate operand)
operand
- Operand for unary predicate.public ISpacePredicate getOperand()
public boolean execute(Object target)
ISpacePredicate
execute
in interface ISpacePredicate
execute
in class AbstractSpacePredicate
protected 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 AbstractExternalizable
IOException
ClassNotFoundException
protected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl
in class AbstractExternalizable
IOException
Copyright © GigaSpaces.