Enum Class AttributeIndex.Type
- All Implemented Interfaces:
Serializable, Comparable<AttributeIndex.Type>, Constable
- Enclosing class:
AttributeIndex
Defines the value representation used by the search backend.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionIndexes a boolean value.Indexes a date-and-time value.Indexes a floating-point value.Indexes analyzed text for full-text search queries.Indexes a signed integer value.Indexes one exact string value for equality and aggregation queries.Indexes an array of exact string values. -
Method Summary
Modifier and TypeMethodDescriptionstatic AttributeIndex.TypeReturns the enum constant of this class with the specified name.static AttributeIndex.Type[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
KEYWORD
Indexes one exact string value for equality and aggregation queries. -
FULL_TEXT
Indexes analyzed text for full-text search queries. -
KEYWORD_ARRAY
Indexes an array of exact string values. -
INT
Indexes a signed integer value. -
DOUBLE
Indexes a floating-point value. -
BOOL
Indexes a boolean value. -
DATETIME
Indexes a date-and-time value.
-
-
Method Details
-
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
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 nameNullPointerException- if the argument is null
-