Package org.infinispan.query.dsl
Interface FilterConditionContext
- All Known Subinterfaces:
FilterConditionContextQueryBuilder
,RangeConditionContext
,RangeConditionContextQueryBuilder
Deprecated.
The context of a complete filter. Provides operations to allow connecting multiple filters together with boolean
operators.
- Since:
- 6.0
- Author:
- anistor@redhat.com
-
Method Summary
Modifier and TypeMethodDescriptionand()
Deprecated.Creates a new context and connects it with the current one using boolean AND.and
(FilterConditionContext rightCondition) Deprecated.Connects a given context with the current one using boolean AND.or()
Deprecated.Creates a new context and connects it with the current one using boolean OR.or
(FilterConditionContext rightCondition) Deprecated.Connects a given context with the current one using boolean OR.Deprecated.To be removed in Infinispan 10.0 without replacement.
-
Method Details
-
and
Deprecated.Creates a new context and connects it with the current one using boolean AND. The new context is added after the current one. The two conditions are not grouped so operator precedence in the resulting condition might change. The effect is: a AND b- Returns:
- the new context
-
and
Deprecated.Connects a given context with the current one using boolean AND. The new context is added after the current one and is grouped. Operator precedence will be unaffected due to grouping. The effect is: a AND (b)- Parameters:
rightCondition
- the second condition- Returns:
- the new context
-
or
Deprecated.Creates a new context and connects it with the current one using boolean OR. The new context is added after the current one. The effect is: a OR b- Returns:
- the new context
-
or
Deprecated.Connects a given context with the current one using boolean OR. The new context is added after the current one and is grouped. The effect is: a OR (b)- Parameters:
rightCondition
- the second condition- Returns:
- the new context
-
toBuilder
Deprecated.To be removed in Infinispan 10.0 without replacement.Get theQueryBuilder
that created this context. As of Infinispan 9.0 this is no longer needed.- Returns:
- the parent builder
-
QueryBuilder
.