Class GeoTileGridValuesSourceBuilder
- java.lang.Object
-
- org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
- org.elasticsearch.search.aggregations.bucket.composite.GeoTileGridValuesSourceBuilder
-
- All Implemented Interfaces:
Writeable
,ToXContent
,ToXContentFragment
public class GeoTileGridValuesSourceBuilder extends CompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.xcontent.ToXContent
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
-
Nested classes/interfaces inherited from interface org.elasticsearch.common.io.stream.Writeable
Writeable.Reader<V>, Writeable.Writer<V>
-
-
Field Summary
-
Fields inherited from class org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder
name
-
Fields inherited from interface org.elasticsearch.common.xcontent.ToXContent
EMPTY_PARAMS
-
-
Method Summary
Modifier and Type Method Description protected void
doXContentBody(XContentBuilder builder, ToXContent.Params params)
boolean
equals(java.lang.Object obj)
GeoTileGridValuesSourceBuilder
format(java.lang.String format)
Sets the format to use for the output of the aggregation.int
hashCode()
protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfig
innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config)
Creates aCompositeValuesSourceConfig
for this source.protected void
innerWriteTo(StreamOutput out)
GeoTileGridValuesSourceBuilder
precision(int precision)
-
Methods inherited from class org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder
build, field, field, format, missingBucket, missingBucket, name, order, order, order, script, script, toXContent, valueType, valueType, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.elasticsearch.common.xcontent.ToXContentFragment
isFragment
-
-
-
-
Method Detail
-
precision
public GeoTileGridValuesSourceBuilder precision(int precision)
-
format
public GeoTileGridValuesSourceBuilder format(java.lang.String format)
Description copied from class:CompositeValuesSourceBuilder
Sets the format to use for the output of the aggregation.- Overrides:
format
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
innerWriteTo
protected void innerWriteTo(StreamOutput out) throws java.io.IOException
- Specified by:
innerWriteTo
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
- Throws:
java.io.IOException
-
doXContentBody
protected void doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
- Specified by:
doXContentBody
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
- Throws:
java.io.IOException
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
innerBuild
protected org.elasticsearch.search.aggregations.bucket.composite.CompositeValuesSourceConfig innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig<?> config) throws java.io.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:
java.io.IOException
-
-