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, setCacheManagerForExecutionreadExternal, writeExternalclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencereadExternal, writeExternalprotected 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)
ISpacePredicateexecute in interface ISpacePredicateexecute in class AbstractSpacePredicateprotected abstract boolean execute(Object target, ISpacePredicate leftOperand, ISpacePredicate rightOperand)
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.