Class DateIndexNameProcessor

All Implemented Interfaces:
ProcessorVariant, JsonpSerializable

public class DateIndexNameProcessor
extends ProcessorBase
implements ProcessorVariant
See Also:
API specification
  • Field Details

  • Method Details

    • of

      public static DateIndexNameProcessor of​(java.util.function.Function<DateIndexNameProcessor.Builder,​ObjectBuilder<DateIndexNameProcessor>> fn)
    • _processorKind

      public Processor.Kind _processorKind()
      Processor variant kind.
      Specified by:
      _processorKind in interface ProcessorVariant
    • dateFormats

      public final java.util.List<java.lang.String> dateFormats()
      Required - API name: date_formats
    • dateRounding

      public final java.lang.String dateRounding()
      Required - How to round the date when formatting the date into the index name. Valid values are: y (year), M (month), w (week), d (day), h (hour), m (minute) and s (second). Supports template snippets.

      API name: date_rounding

    • field

      public final java.lang.String field()
      Required - API name: field
    • indexNameFormat

      public final java.lang.String indexNameFormat()
      Required - API name: index_name_format
    • indexNamePrefix

      public final java.lang.String indexNamePrefix()
      Required - API name: index_name_prefix
    • locale

      public final java.lang.String locale()
      Required - API name: locale
    • timezone

      public final java.lang.String timezone()
      Required - API name: timezone
    • serializeInternal

      protected void serializeInternal​( generator, JsonpMapper mapper)
      serializeInternal in class ProcessorBase
    • setupDateIndexNameProcessorDeserializer

      protected static void setupDateIndexNameProcessorDeserializer​(ObjectDeserializer<DateIndexNameProcessor.Builder> op)