public abstract class ScalarSpacePredicate extends AbstractSpacePredicate
Modifier and Type | Field and Description |
---|---|
protected ConvertedObjectWrapper |
_convertedValueWrapper |
protected Object |
_expectedValue |
protected FunctionCallDescription |
functionCallDescription |
Modifier | Constructor and Description |
---|---|
protected |
ScalarSpacePredicate()
Default constructor for Externalizable.
|
protected |
ScalarSpacePredicate(Object expectedValue,
FunctionCallDescription functionCallDescription)
Creates a scalar predicate using the specified expected value
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
boolean |
execute(Object target)
Executes this predicate on the specified target.
|
Object |
getExpectedValue()
Gets the expected value.
|
protected abstract String |
getOperatorName() |
protected Object |
getPreparedExpectedValue(Object target) |
protected abstract boolean |
match(Object actual,
Object expected) |
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
enabledSmartExternalizableWithReference
readExternal, writeExternal
protected Object _expectedValue
protected FunctionCallDescription functionCallDescription
protected transient ConvertedObjectWrapper _convertedValueWrapper
protected ScalarSpacePredicate()
protected ScalarSpacePredicate(Object expectedValue, FunctionCallDescription functionCallDescription)
expectedValue
- Expected value.public Object getExpectedValue()
public boolean execute(Object target)
ISpacePredicate
execute
in interface ISpacePredicate
execute
in class AbstractSpacePredicate
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.