Class DateIndexNameProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.DateIndexNameProcessor
- All Implemented Interfaces:
ProcessorVariant,JsonpSerializable
@JsonpDeserializable
public class DateIndexNameProcessor
extends ProcessorBase
implements ProcessorVariant
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
ProcessorBase.AbstractBuilder<BuilderT extends ProcessorBase.AbstractBuilder<BuilderT>> -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final JsonpDeserializer<DateIndexNameProcessor>Json deserializer forDateIndexNameProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.Required - API name:date_formatsfinal StringRequired - How to round the date when formatting the date into the index name.final Stringfield()Required - API name:fieldfinal StringAPI name:index_name_formatfinal StringAPI name:index_name_prefixfinal Stringlocale()API name:localestatic DateIndexNameProcessorprotected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal Stringtimezone()API name:timezoneMethods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase
description, if_, ignoreFailure, onFailure, serialize, setupProcessorBaseDeserializer, tag, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface co.elastic.clients.elasticsearch.ingest.ProcessorVariant
_toProcessor
-
Field Details
-
_DESERIALIZER
Json deserializer forDateIndexNameProcessor
-
-
Method Details
-
of
public static DateIndexNameProcessor of(Function<DateIndexNameProcessor.Builder, ObjectBuilder<DateIndexNameProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
dateFormats
Required - API name:date_formats -
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) ands(second). Supports template snippets.API name:
date_rounding -
field
Required - API name:field -
indexNameFormat
API name:index_name_format -
indexNamePrefix
API name:index_name_prefix -
locale
API name:locale -
timezone
API name:timezone -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupDateIndexNameProcessorDeserializer
protected static void setupDateIndexNameProcessorDeserializer(ObjectDeserializer<DateIndexNameProcessor.Builder> op)
-