Interface SearchExpression.Builder

    • Method Detail

      • filters

        SearchExpression.Builder filters​(Collection<Filter> filters)

        A list of filter objects.

        Parameters:
        filters - A list of filter objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • filters

        SearchExpression.Builder filters​(Filter... filters)

        A list of filter objects.

        Parameters:
        filters - A list of filter objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nestedFilters

        SearchExpression.Builder nestedFilters​(Collection<NestedFilters> nestedFilters)

        A list of nested filter objects.

        Parameters:
        nestedFilters - A list of nested filter objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • nestedFilters

        SearchExpression.Builder nestedFilters​(NestedFilters... nestedFilters)

        A list of nested filter objects.

        Parameters:
        nestedFilters - A list of nested filter objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subExpressions

        SearchExpression.Builder subExpressions​(Collection<SearchExpression> subExpressions)

        A list of search expression objects.

        Parameters:
        subExpressions - A list of search expression objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • subExpressions

        SearchExpression.Builder subExpressions​(SearchExpression... subExpressions)

        A list of search expression objects.

        Parameters:
        subExpressions - A list of search expression objects.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
      • operator

        SearchExpression.Builder operator​(String operator)

        A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.

        Parameters:
        operator - A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BooleanOperator, BooleanOperator
      • operator

        SearchExpression.Builder operator​(BooleanOperator operator)

        A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.

        Parameters:
        operator - A Boolean operator used to evaluate the search expression. If you want every conditional statement in all lists to be satisfied for the entire search expression to be true, specify And. If only a single conditional statement needs to be true for the entire search expression to be true, specify Or. The default value is And.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        BooleanOperator, BooleanOperator