Class GeoGridProcessor.Builder
java.lang.Object
co.elastic.clients.util.ObjectBuilderBase
co.elastic.clients.util.WithJsonObjectBuilderBase<BuilderT>
co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilder<GeoGridProcessor.Builder>
co.elastic.clients.elasticsearch.ingest.GeoGridProcessor.Builder
- All Implemented Interfaces:
- WithJson<GeoGridProcessor.Builder>,- ObjectBuilder<GeoGridProcessor>
- Enclosing class:
- GeoGridProcessor
public static class GeoGridProcessor.Builder
extends ProcessorBase.AbstractBuilder<GeoGridProcessor.Builder>
implements ObjectBuilder<GeoGridProcessor>
Builder for 
GeoGridProcessor.- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbuild()Builds aGeoGridProcessor.final GeoGridProcessor.BuilderchildrenField(String value) If specified and children tiles exist, save those tile addresses to this field as an array of strings.final GeoGridProcessor.BuilderRequired - The field to interpret as a geo-tile.= The field format is determined by thetile_type.final GeoGridProcessor.BuilderignoreMissing(Boolean value) Iftrueandfielddoes not exist, the processor quietly exits without modifying the document.final GeoGridProcessor.BuildernonChildrenField(String value) If specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings.final GeoGridProcessor.BuilderparentField(String value) If specified and a parent tile exists, save that tile address to this field.final GeoGridProcessor.BuilderprecisionField(String value) If specified, save the tile precision (zoom) as an integer to this field.protected GeoGridProcessor.Builderself()final GeoGridProcessor.BuildertargetField(String value) The field to assign the polygon shape to, by default, thefieldis updated in-place.final GeoGridProcessor.BuildertargetFormat(GeoGridTargetFormat value) Which format to save the generated polygon in.final GeoGridProcessor.BuildertileType(GeoGridTileType value) Required - Three tile formats are understood: geohash, geotile and geohex.Methods inherited from class co.elastic.clients.elasticsearch.ingest.ProcessorBase.AbstractBuilderdescription, if_, if_, ignoreFailure, onFailure, onFailure, onFailure, onFailure, tagMethods inherited from class co.elastic.clients.util.WithJsonObjectBuilderBasewithJsonMethods inherited from class co.elastic.clients.util.ObjectBuilderBase_checkSingleUse, _listAdd, _listAddAll, _mapPut, _mapPutAll
- 
Constructor Details- 
Builderpublic Builder()
 
- 
- 
Method Details- 
fieldRequired - The field to interpret as a geo-tile.= The field format is determined by thetile_type.API name: field
- 
tileTypeRequired - Three tile formats are understood: geohash, geotile and geohex.API name: tile_type
- 
targetFieldThe field to assign the polygon shape to, by default, thefieldis updated in-place.API name: target_field
- 
parentFieldIf specified and a parent tile exists, save that tile address to this field.API name: parent_field
- 
childrenFieldIf specified and children tiles exist, save those tile addresses to this field as an array of strings.API name: children_field
- 
nonChildrenFieldIf specified and intersecting non-child tiles exist, save their addresses to this field as an array of strings.API name: non_children_field
- 
precisionFieldIf specified, save the tile precision (zoom) as an integer to this field.API name: precision_field
- 
ignoreMissingIftrueandfielddoes not exist, the processor quietly exits without modifying the document.API name: ignore_missing
- 
targetFormatWhich format to save the generated polygon in.API name: target_format
- 
self- Specified by:
- selfin class- ProcessorBase.AbstractBuilder<GeoGridProcessor.Builder>
 
- 
buildBuilds aGeoGridProcessor.- Specified by:
- buildin interface- ObjectBuilder<GeoGridProcessor>
- Throws:
- NullPointerException- if some of the required fields are null.
 
 
-