Class GeoGridProcessor
java.lang.Object
co.elastic.clients.elasticsearch.ingest.ProcessorBase
co.elastic.clients.elasticsearch.ingest.GeoGridProcessor
- All Implemented Interfaces:
ProcessorVariant,JsonpSerializable
@JsonpDeserializable
public class GeoGridProcessor
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<GeoGridProcessor>Json deserializer forGeoGridProcessor -
Method Summary
Modifier and TypeMethodDescriptionProcessor variant kind.final StringIf specified and children tiles exist, save those tile addresses to this field as an array of strings.final Stringfield()Required - The field to interpret as a geo-tile.= The field format is determined by thetile_type.final BooleanIftrueandfielddoes not exist, the processor quietly exits without modifying the document.final StringIf specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings.static GeoGridProcessorfinal StringIf specified and a parent tile exists, save that tile address to this field.final StringIf specified, save the tile precision (zoom) as an integer to this field.protected voidserializeInternal(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static voidfinal StringThe field to assign the polygon shape to, by default, thefieldis updated in-place.final GeoGridTargetFormatWhich format to save the generated polygon in.final GeoGridTileTypetileType()Required - Three tile formats are understood: geohash, geotile and geohex.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 forGeoGridProcessor
-
-
Method Details
-
of
public static GeoGridProcessor of(Function<GeoGridProcessor.Builder, ObjectBuilder<GeoGridProcessor>> fn) -
_processorKind
Processor variant kind.- Specified by:
_processorKindin interfaceProcessorVariant
-
field
Required - The field to interpret as a geo-tile.= The field format is determined by thetile_type.API name:
field -
tileType
Required - Three tile formats are understood: geohash, geotile and geohex.API name:
tile_type -
targetField
The field to assign the polygon shape to, by default, thefieldis updated in-place.API name:
target_field -
parentField
If specified and a parent tile exists, save that tile address to this field.API name:
parent_field -
childrenField
If specified and children tiles exist, save those tile addresses to this field as an array of strings.API name:
children_field -
nonChildrenField
If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings.API name:
non_children_field -
precisionField
If specified, save the tile precision (zoom) as an integer to this field.API name:
precision_field -
ignoreMissing
Iftrueandfielddoes not exist, the processor quietly exits without modifying the document.API name:
ignore_missing -
targetFormat
Which format to save the generated polygon in.API name:
target_format -
serializeInternal
- Overrides:
serializeInternalin classProcessorBase
-
setupGeoGridProcessorDeserializer
protected static void setupGeoGridProcessorDeserializer(ObjectDeserializer<GeoGridProcessor.Builder> op)
-