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, toString
preparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecution
readExternal, writeExternal
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
readExternal, writeExternal
protected 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 ScalarSpacePredicate
protected abstract boolean compare(int compareResult)
public boolean equals(Object obj)
equals
in class ScalarSpacePredicate
protected void readExternalImpl(ObjectInput in) throws IOException, ClassNotFoundException
readExternalImpl
in class ScalarSpacePredicate
IOException
ClassNotFoundException
protected void writeExternalImpl(ObjectOutput out) throws IOException
writeExternalImpl
in class ScalarSpacePredicate
IOException
Copyright © GigaSpaces.