Package org.infinispan.query.dsl
Interface FilterConditionContext
-
- All Known Subinterfaces:
FilterConditionContextQueryBuilder
,RangeConditionContext
,RangeConditionContextQueryBuilder
@Deprecated public interface FilterConditionContext
Deprecated.since 10.1. See deprecation note onQueryBuilder
.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
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description FilterConditionBeginContext
and()
Deprecated.Creates a new context and connects it with the current one using boolean AND.FilterConditionContextQueryBuilder
and(FilterConditionContext rightCondition)
Deprecated.Connects a given context with the current one using boolean AND.FilterConditionBeginContext
or()
Deprecated.Creates a new context and connects it with the current one using boolean OR.FilterConditionContextQueryBuilder
or(FilterConditionContext rightCondition)
Deprecated.Connects a given context with the current one using boolean OR.QueryBuilder
toBuilder()
Deprecated.To be removed in Infinispan 10.0 without replacement.
-
-
-
Method Detail
-
and
FilterConditionBeginContext 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
FilterConditionContextQueryBuilder and(FilterConditionContext rightCondition)
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
FilterConditionBeginContext 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
FilterConditionContextQueryBuilder or(FilterConditionContext rightCondition)
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 QueryBuilder 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
-
-