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 GeoTileGroupSource
build()
GeoTileGroupSource.Builder
setBoundingBox(org.elasticsearch.common.geo.GeoBoundingBox boundingBox)
Set the bounding box for the geo tile groupingGeoTileGroupSource.Builder
setField(java.lang.String field)
The field with which to construct the geo tile groupingGeoTileGroupSource.Builder
setMissingBucket(boolean missingBucket)
Sets the value of "missing_bucket"GeoTileGroupSource.Builder
setPrecission(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.Builder
with the field set.
-
setMissingBucket
Sets the value of "missing_bucket"- Parameters:
missingBucket
- value of "missing_bucket" to be set- Returns:
- The
GeoTileGroupSource.Builder
with "missing_bucket" set.
-
setPrecission
The precision with which to construct the geo tile grouping- Parameters:
precision
- The precision- Returns:
- The
GeoTileGroupSource.Builder
with 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.Builder
with the bounding box set.
-
build
-