Interface CriteriaDefinition.Operator

All Known Implementing Classes:
CriteriaDefinition.Operators
Enclosing interface:
CriteriaDefinition

public static interface CriteriaDefinition.Operator
Strategy interface to represent a CQL predicate operator.
  • Method Summary

    Modifier and Type
    Method
    Description
    default String
    toCql(Object value)
    Render to a CQL-like representation.
     
  • Method Details

    • toString

      String toString()
      Overrides:
      toString in class Object
      Returns:
      the String representation of the operator.
    • toCql

      default String toCql(@Nullable Object value)
      Render to a CQL-like representation. Rendering does not apply conversion via CodecRegistry therefore this output is an approximation towards CQL and not necessarily valid CQL.
      Parameters:
      value - optional predicate value, can be null.
      Returns:
      A CQL-like representation.
      Since:
      2.1