Class GeoTileGridValuesSourceBuilder
java.lang.Object
org.opensearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
org.opensearch.search.aggregations.bucket.composite.GeoTileGridValuesSourceBuilder
- All Implemented Interfaces:
Writeable
,org.opensearch.common.xcontent.ToXContent
,org.opensearch.common.xcontent.ToXContentFragment
public class GeoTileGridValuesSourceBuilder
extends CompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
Builds values source for geotile_grid agg
- Opensearch.internal:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interface
Supplier for a composite geotileNested classes/interfaces inherited from interface org.opensearch.common.xcontent.ToXContent
org.opensearch.common.xcontent.ToXContent.DelegatingMapParams, org.opensearch.common.xcontent.ToXContent.MapParams, org.opensearch.common.xcontent.ToXContent.Params
Nested classes/interfaces inherited from interface org.opensearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
Field Summary
Fields inherited from class org.opensearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder
name
Fields inherited from interface org.opensearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
Method Summary
Modifier and TypeMethodDescriptionprotected void
doXContentBody
(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) boolean
Sets the format to use for the output of the aggregation.geoBoundingBox
(GeoBoundingBox geoBoundingBox) protected ValuesSourceType
int
hashCode()
protected CompositeValuesSourceConfig
innerBuild
(QueryShardContext queryShardContext, ValuesSourceConfig config) Creates aCompositeValuesSourceConfig
for this source.protected void
innerWriteTo
(StreamOutput out) precision
(int precision) Methods inherited from class org.opensearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder
build, field, field, format, missingBucket, missingBucket, missingOrder, missingOrder, missingOrder, name, order, order, order, script, script, timeZone, toXContent, userValuetypeHint, userValuetypeHint, writeTo
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.opensearch.common.xcontent.ToXContentFragment
isFragment
-
Method Details
-
precision
-
geoBoundingBox
-
format
Description copied from class:CompositeValuesSourceBuilder
Sets the format to use for the output of the aggregation.- Overrides:
format
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
innerWriteTo
- Specified by:
innerWriteTo
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
- Throws:
IOException
-
doXContentBody
protected void doXContentBody(org.opensearch.common.xcontent.XContentBuilder builder, org.opensearch.common.xcontent.ToXContent.Params params) throws IOException - Specified by:
doXContentBody
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
- Throws:
IOException
-
hashCode
public int hashCode()- Overrides:
hashCode
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
equals
- Overrides:
equals
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
getDefaultValuesSourceType
- Specified by:
getDefaultValuesSourceType
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
innerBuild
protected CompositeValuesSourceConfig innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig config) throws IOException Description copied from class:CompositeValuesSourceBuilder
Creates aCompositeValuesSourceConfig
for this source.- Specified by:
innerBuild
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
- Parameters:
queryShardContext
- The shard context for this source.config
- TheValuesSourceConfig
for this source.- Throws:
IOException
-