public abstract class ComparableScalarSpacePredicate extends ScalarSpacePredicate
_convertedValueWrapper, _expectedValue, functionCallDescription| Modifier | Constructor and Description |
|---|---|
protected |
ComparableScalarSpacePredicate()
Default constructor for Externalizable.
|
protected |
ComparableScalarSpacePredicate(Comparable<?> expectedValue)
Creates a comparable scalar predicate using the specified expected value.
|
protected |
ComparableScalarSpacePredicate(Comparable<?> expectedValue,
Comparator<?> comparator)
Creates a comparable scalar predicate using the specified expected value and comparator.
|
| Modifier and Type | Method and Description |
|---|---|
protected abstract boolean |
compare(int compareResult) |
boolean |
equals(Object obj) |
Comparator |
getComparator()
Gets the comparator associated with this predicate.
|
protected boolean |
match(Object actual,
Object expected) |
protected void |
readExternalImpl(ObjectInput in) |
protected void |
writeExternalImpl(ObjectOutput out) |
execute, getExpectedValue, getOperatorName, getPreparedExpectedValue, toStringpreparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecutionreadExternal, writeExternalclone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenabledSmartExternalizableWithReferencereadExternal, writeExternalprotected ComparableScalarSpacePredicate()
protected ComparableScalarSpacePredicate(Comparable<?> expectedValue)
expectedValue - Expected value.protected ComparableScalarSpacePredicate(Comparable<?> expectedValue, Comparator<?> comparator)
expectedValue - Expected value.comparator - Comparator to use while comparing.public Comparator getComparator()
protected boolean match(Object actual, Object expected)
match in class ScalarSpacePredicateprotected abstract boolean compare(int compareResult)
public boolean equals(Object obj)
equals in class ScalarSpacePredicateprotected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl in class ScalarSpacePredicateIOExceptionClassNotFoundExceptionprotected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl in class ScalarSpacePredicateIOExceptionCopyright © GigaSpaces.