Enum Class SourceFieldMode

java.lang.Object
java.lang.Enum<SourceFieldMode>
co.elastic.clients.elasticsearch._types.mapping.SourceFieldMode
All Implemented Interfaces:
JsonEnum, JsonpSerializable, Serializable, Comparable<SourceFieldMode>, Constable

@JsonpDeserializable public enum SourceFieldMode extends Enum<SourceFieldMode> implements JsonEnum
See Also:
  • Enum Constant Details

    • Disabled

      public static final SourceFieldMode Disabled
    • Stored

      public static final SourceFieldMode Stored
    • Synthetic

      public static final SourceFieldMode Synthetic
      Instead of storing source documents on disk exactly as you send them, Elasticsearch can reconstruct source content on the fly upon retrieval.
  • Field Details

  • Method Details

    • values

      public static SourceFieldMode[] 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 SourceFieldMode 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
    • jsonValue

      public String jsonValue()
      Specified by:
      jsonValue in interface JsonEnum