Class UriPartsProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.UriPartsProcessor
- All Implemented Interfaces:
ProcessorVariant,JsonpSerializable
@JsonpDeserializable
public class UriPartsProcessor
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<UriPartsProcessor>Json deserializer forUriPartsProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final Stringfield()Required - Field containing the URI string.final BooleanIftrueandfielddoes not exist, the processor quietly exits without modifying the document.final BooleanIftrue, the processor copies the unparsed URI to<target_field>.original.static UriPartsProcessorfinal BooleanIftrue, the processor removes thefieldafter parsing the URI string.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringOutput field for the URI object.Methods 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 forUriPartsProcessor
-
-
Method Details
-
of
public static UriPartsProcessor of(Function<UriPartsProcessor.Builder, ObjectBuilder<UriPartsProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - Field containing the URI string.API name:
field -
ignoreMissing
Iftrueandfielddoes not exist, the processor quietly exits without modifying the document.API name:
ignore_missing -
keepOriginal
Iftrue, the processor copies the unparsed URI to<target_field>.original.API name:
keep_original -
removeIfSuccessful
Iftrue, the processor removes thefieldafter parsing the URI string. If parsing fails, the processor does not remove thefield.API name:
remove_if_successful -
targetField
Output field for the URI object.API name:
target_field -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupUriPartsProcessorDeserializer
protected static void setupUriPartsProcessorDeserializer(ObjectDeserializer<UriPartsProcessor.Builder> op)
-