Enum FilterOperator

java.lang.Object
java.lang.Enum<FilterOperator>
com.datastax.astra.client.model.FilterOperator
All Implemented Interfaces:
Serializable, Comparable<FilterOperator>, java.lang.constant.Constable

public enum FilterOperator extends Enum<FilterOperator>
Ease process of creating a where clause.
Author:
Cedrick LUNVEN (@clunven)
  • Enum Constant Details

    • GREATER_THAN

      public static final FilterOperator GREATER_THAN
      Greater Than.
    • GREATER_THAN_OR_EQUALS_TO

      public static final FilterOperator GREATER_THAN_OR_EQUALS_TO
      Greater Than Or Equal To.
    • LESS_THAN

      public static final FilterOperator LESS_THAN
      Less Than.
    • LESS_THAN_OR_EQUALS_TO

      public static final FilterOperator LESS_THAN_OR_EQUALS_TO
      Less Than Or Equal To.
    • EQUALS_TO

      public static final FilterOperator EQUALS_TO
      Equal To.
    • NOT_EQUALS_TO

      public static final FilterOperator NOT_EQUALS_TO
      Not Equal To.
    • IN

      public static final FilterOperator IN
      in.
    • NOT_IN

      public static final FilterOperator NOT_IN
      in.
    • EXISTS

      public static final FilterOperator EXISTS
      Exist.
    • CONTAINS

      public static final FilterOperator CONTAINS
      Contains.
    • CONTAIN_KEY

      public static final FilterOperator CONTAIN_KEY
      Contains Key.
    • CONTAIN_ENTRY

      public static final FilterOperator CONTAIN_ENTRY
      Contains Entry.
  • Method Details

    • values

      public static FilterOperator[] values()
      Returns an array containing the constants of this enum type, in the order they are declared.
      Returns:
      an array containing the constants of this enum type, in the order they are declared
    • valueOf

      public static FilterOperator valueOf(String name)
      Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)
      Parameters:
      name - the name of the enum constant to be returned.
      Returns:
      the enum constant with the specified name
      Throws:
      IllegalArgumentException - if this enum type has no constant with the specified name
      NullPointerException - if the argument is null