Interface Predicate.Builder

  • Method Details

    • or

      A list of predicates to combine logically.

      Parameters:
      or - A list of predicates to combine logically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • or

      A list of predicates to combine logically.

      Parameters:
      or - A list of predicates to combine logically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • or

      A list of predicates to combine logically.

      This is a convenience method that creates an instance of the Predicate.Builder avoiding the need to create one manually via Predicate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to or(List<Predicate>).

      Parameters:
      or - a consumer that will call methods on Predicate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • and

      A list of predicates to combine logically.

      Parameters:
      and - A list of predicates to combine logically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • and

      A list of predicates to combine logically.

      Parameters:
      and - A list of predicates to combine logically.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • and

      A list of predicates to combine logically.

      This is a convenience method that creates an instance of the Predicate.Builder avoiding the need to create one manually via Predicate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to and(List<Predicate>).

      Parameters:
      and - a consumer that will call methods on Predicate.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • field

      Predicate.Builder field(String field)

      The field to query.

      Parameters:
      field - The field to query.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operator

      Predicate.Builder operator(String operator)

      The operator to use to perform the evaluation.

      Parameters:
      operator - The operator to use to perform the evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operand

      Predicate.Builder operand(String operand)

      The value to use when performing the evaluation.

      Parameters:
      operand - The value to use when performing the evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operandType

      Predicate.Builder operandType(String operandType)

      The type of value to use when performing the evaluation.

      Parameters:
      operandType - The type of value to use when performing the evaluation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.