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 String
If specified and children tiles exist, save those tile addresses to this field as an array of strings.final String
field()
Required - The field to interpret as a geo-tile.= The field format is determined by thetile_type
.final Boolean
Iftrue
andfield
does not exist, the processor quietly exits without modifying the document.final String
If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings.static GeoGridProcessor
final String
If specified and a parent tile exists, save that tile address to this field.final String
If specified, save the tile precision (zoom) as an integer to this field.protected void
serializeInternal
(jakarta.json.stream.JsonGenerator generator, JsonpMapper mapper) protected static void
final String
The field to assign the polygon shape to, by default, thefield
is updated in-place.final GeoGridTargetFormat
Which format to save the generated polygon in.final GeoGridTileType
tileType()
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, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods 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:
_processorKind
in 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, thefield
is 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
Iftrue
andfield
does 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:
serializeInternal
in classProcessorBase
-
setupGeoGridProcessorDeserializer
protected static void setupGeoGridProcessorDeserializer(ObjectDeserializer<GeoGridProcessor.Builder> op)
-