Enum Class AttributeIndex.Type

java.lang.Object
java.lang.Enum<AttributeIndex.Type>
io.superdurable.dex.AttributeIndex.Type
All Implemented Interfaces:
Serializable, Comparable<AttributeIndex.Type>, Constable
Enclosing class:
AttributeIndex

public static enum AttributeIndex.Type extends Enum<AttributeIndex.Type>
Defines the value representation used by the search backend.
  • Enum Constant Details

    • KEYWORD

      public static final AttributeIndex.Type KEYWORD
      Indexes one exact string value for equality and aggregation queries.
    • FULL_TEXT

      public static final AttributeIndex.Type FULL_TEXT
      Indexes analyzed text for full-text search queries.
    • KEYWORD_ARRAY

      public static final AttributeIndex.Type KEYWORD_ARRAY
      Indexes an array of exact string values.
    • INT

      public static final AttributeIndex.Type INT
      Indexes a signed integer value.
    • DOUBLE

      public static final AttributeIndex.Type DOUBLE
      Indexes a floating-point value.
    • BOOL

      public static final AttributeIndex.Type BOOL
      Indexes a boolean value.
    • DATETIME

      public static final AttributeIndex.Type DATETIME
      Indexes a date-and-time value.
  • Method Details

    • values

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

      public static AttributeIndex.Type valueOf(String name)
      Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified name
      NullPointerException - if the argument is null