Module spring.data.cassandra
Class CriteriaDefinition.Predicate
java.lang.Object
org.springframework.data.cassandra.core.query.CriteriaDefinition.Predicate
- Enclosing interface:
- CriteriaDefinition
Represents an operator associated with its value.
- Author:
- Mark Paluch
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription<R> RThis method allows the application of a function to thisCriteriaDefinition.Predicatevalue.booleangetValue()inthashCode()
-
Constructor Details
-
Predicate
- Parameters:
operator- must not be null.value- the match value.
-
-
Method Details
-
getOperator
- Returns:
- the operator, such as =, >=, LIKE.
-
getValue
- Returns:
- the match value.
-
as
This method allows the application of a function to thisCriteriaDefinition.Predicatevalue. The function should expect a singleObjectargument and produce anRresult. Any exception thrown by f() will be propagated to the caller.- Type Parameters:
R-- Returns:
- the result of the
mappingFunction.
-
equals
-
hashCode
public int hashCode()
-