public abstract class BinaryCompositeSpacePredicate extends CompositeSpacePredicate
Modifier | Constructor and Description |
---|---|
protected |
BinaryCompositeSpacePredicate()
Default constructor for Externalizable.
|
protected |
BinaryCompositeSpacePredicate(ISpacePredicate leftOperand,
ISpacePredicate rightOperand)
Creates a binary 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 leftOperand,
ISpacePredicate rightOperand) |
ISpacePredicate |
getLeftOperand()
Gets the left operand of this binary predicate.
|
protected abstract String |
getOperatorName() |
ISpacePredicate |
getRightOperand()
Gets the right operand of this binary predicate.
|
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 BinaryCompositeSpacePredicate()
protected BinaryCompositeSpacePredicate(ISpacePredicate leftOperand, ISpacePredicate rightOperand)
leftOperand
- Left operand of the binary predicate.rightOperand
- Right operand of the binary predicate.public ISpacePredicate getLeftOperand()
public ISpacePredicate getRightOperand()
public boolean execute(Object target)
ISpacePredicate
execute
in interface ISpacePredicate
execute
in class AbstractSpacePredicate
protected abstract boolean execute(Object target, ISpacePredicate leftOperand, ISpacePredicate rightOperand)
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.