Class FetchDocValuesContext.FieldAndFormat

java.lang.Object
org.elasticsearch.search.fetch.subphase.FetchDocValuesContext.FieldAndFormat
All Implemented Interfaces:
Writeable
Enclosing class:
FetchDocValuesContext

public static final class FetchDocValuesContext.FieldAndFormat
extends java.lang.Object
implements Writeable
Wrapper around a field name and the format that should be used to display values of this field.
  • Field Details

    • field

      public final java.lang.String field
      The name of the field.
    • format

      public final java.lang.String format
      The format of the field, or null if defaults should be used.
  • Constructor Details

    • FieldAndFormat

      public FieldAndFormat​(java.lang.String field, @Nullable java.lang.String format)
      Sole constructor.
    • FieldAndFormat

      public FieldAndFormat​(StreamInput in) throws java.io.IOException
      Serialization constructor.
      Throws:
      java.io.IOException
  • Method Details