Class EqualsSpacePredicate
java.lang.Object
com.gigaspaces.internal.serialization.AbstractExternalizable
com.gigaspaces.internal.query.predicate.AbstractSpacePredicate
com.gigaspaces.internal.query.predicate.comparison.ScalarSpacePredicate
com.gigaspaces.internal.query.predicate.comparison.EqualsSpacePredicate
- All Implemented Interfaces:
ISpacePredicate,SmartExternalizable,Externalizable,Serializable
An implementation of equals to comparison: This predicate returns true if and only if the
predicate's argument is equal to the expected value. Equality is performed using the object's
equals method.
- Since:
- 7.1
- Author:
- Niv ingberg
- See Also:
-
Field Summary
Fields inherited from class com.gigaspaces.internal.query.predicate.comparison.ScalarSpacePredicate
_convertedValueWrapper, _expectedValue, functionCallDescription -
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for Externalizable.EqualsSpacePredicate(Object expectedValue) EqualsSpacePredicate(Object expectedValue, FunctionCallDescription functionCallDescription) Creates a scalar predicate using the specified expected value -
Method Summary
Methods inherited from class com.gigaspaces.internal.query.predicate.comparison.ScalarSpacePredicate
equals, execute, getExpectedValue, getPreparedExpectedValue, readExternalImpl, toString, writeExternalImplMethods inherited from class com.gigaspaces.internal.query.predicate.AbstractSpacePredicate
preparePredicate, requiresCacheManagerForExecution, setCacheManagerForExecutionMethods inherited from class com.gigaspaces.internal.serialization.AbstractExternalizable
readExternal, writeExternalMethods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.io.Externalizable
readExternal, writeExternalMethods inherited from interface com.gigaspaces.serialization.SmartExternalizable
enabledSmartExternalizableWithReference
-
Constructor Details
-
EqualsSpacePredicate
public EqualsSpacePredicate()Default constructor for Externalizable. -
EqualsSpacePredicate
Creates a scalar predicate using the specified expected value- Parameters:
expectedValue- Expected value.
-
EqualsSpacePredicate
-
-
Method Details
-
match
- Specified by:
matchin classScalarSpacePredicate
-
getOperatorName
- Specified by:
getOperatorNamein classScalarSpacePredicate
-