Class DocValueFieldsContext.FieldAndFormat

  • All Implemented Interfaces:
    Writeable
    Enclosing class:
    DocValueFieldsContext

    public static final class DocValueFieldsContext.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 Detail

      • 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 Detail

      • 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