Interface FilterConditionContext

All Known Subinterfaces:
FilterConditionContextQueryBuilder, RangeConditionContext, RangeConditionContextQueryBuilder

@Deprecated public interface FilterConditionContext
Deprecated.
since 10.1. See deprecation note on QueryBuilder.
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 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 the QueryBuilder that created this context. As of Infinispan 9.0 this is no longer needed.
      Returns:
      the parent builder