Class GeoTileGroupSource.Builder
java.lang.Object
org.elasticsearch.client.transform.transforms.pivot.GeoTileGroupSource.Builder
- Enclosing class:
- GeoTileGroupSource
public static class GeoTileGroupSource.Builder
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description Builder() -
Method Summary
Modifier and Type Method Description GeoTileGroupSourcebuild()GeoTileGroupSource.BuildersetBoundingBox(org.elasticsearch.common.geo.GeoBoundingBox boundingBox)Set the bounding box for the geo tile groupingGeoTileGroupSource.BuildersetField(java.lang.String field)The field with which to construct the geo tile groupingGeoTileGroupSource.BuildersetMissingBucket(boolean missingBucket)Sets the value of "missing_bucket"GeoTileGroupSource.BuildersetPrecission(java.lang.Integer precision)The precision with which to construct the geo tile groupingMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
setField
The field with which to construct the geo tile grouping- Parameters:
field- The field name- Returns:
- The
GeoTileGroupSource.Builderwith the field set.
-
setMissingBucket
Sets the value of "missing_bucket"- Parameters:
missingBucket- value of "missing_bucket" to be set- Returns:
- The
GeoTileGroupSource.Builderwith "missing_bucket" set.
-
setPrecission
The precision with which to construct the geo tile grouping- Parameters:
precision- The precision- Returns:
- The
GeoTileGroupSource.Builderwith the precision set.
-
setBoundingBox
public GeoTileGroupSource.Builder setBoundingBox(org.elasticsearch.common.geo.GeoBoundingBox boundingBox)Set the bounding box for the geo tile grouping- Parameters:
boundingBox- The bounding box- Returns:
- the
GeoTileGroupSource.Builderwith the bounding box set.
-
build
-