java.lang.Object
java.lang.Enum<TermVector>
org.springframework.data.elasticsearch.annotations.TermVector
All Implemented Interfaces:
Serializable, Comparable<TermVector>, Constable

public enum TermVector extends Enum<TermVector>
Since:
4.0
Author:
Peter-Josef Meisch
  • Enum Constant Details

    • none

      public static final TermVector none
    • no

      public static final TermVector no
    • yes

      public static final TermVector yes
    • with_positions

      public static final TermVector with_positions
    • with_offsets

      public static final TermVector with_offsets
    • with_positions_offsets

      public static final TermVector with_positions_offsets
    • with_positions_payloads

      public static final TermVector with_positions_payloads
    • with_positions_offsets_payloads

      public static final TermVector with_positions_offsets_payloads
  • Method Details

    • values

      public static TermVector[] 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 TermVector 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