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
-
Method Summary
Modifier and TypeMethodDescription<R> R
This method allows the application of a function to thisCriteriaDefinition.Predicate
value.boolean
getValue()
int
hashCode()
-
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.Predicate
value. The function should expect a singleObject
argument and produce anR
result. 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()
-