Class GeoTileGridValuesSourceBuilder
java.lang.Object
org.opensearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
org.opensearch.geo.search.aggregations.bucket.composite.GeoTileGridValuesSourceBuilder
- All Implemented Interfaces:
org.opensearch.core.common.io.stream.Writeable,org.opensearch.core.xcontent.ToXContent,org.opensearch.core.xcontent.ToXContentFragment
public class GeoTileGridValuesSourceBuilder
extends CompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
Builds values source for geotile_grid agg
- Opensearch.internal:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfaceSupplier for a composite geotileNested classes/interfaces inherited from interface org.opensearch.core.xcontent.ToXContent
org.opensearch.core.xcontent.ToXContent.DelegatingMapParams, org.opensearch.core.xcontent.ToXContent.MapParams, org.opensearch.core.xcontent.ToXContent.ParamsNested classes/interfaces inherited from interface org.opensearch.core.common.io.stream.Writeable
org.opensearch.core.common.io.stream.Writeable.Reader<V>, org.opensearch.core.common.io.stream.Writeable.WriteableRegistry, org.opensearch.core.common.io.stream.Writeable.Writer<V> -
Field Summary
FieldsFields inherited from class org.opensearch.search.aggregations.bucket.composite.CompositeValuesSourceBuilder
nameFields inherited from interface org.opensearch.core.xcontent.ToXContent
EMPTY_PARAMS -
Constructor Summary
ConstructorsConstructorDescriptionGeoTileGridValuesSourceBuilder(org.opensearch.core.common.io.stream.StreamInput in) -
Method Summary
Modifier and TypeMethodDescriptionprotected voiddoXContentBody(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) booleangeoBoundingBox(GeoBoundingBox geoBoundingBox) protected ValuesSourceTypeinthashCode()protected CompositeValuesSourceConfiginnerBuild(QueryShardContext queryShardContext, ValuesSourceConfig config) protected voidinnerWriteTo(org.opensearch.core.common.io.stream.StreamOutput out) precision(int precision) static voidregister(ValuesSourceRegistry.Builder builder) protected Stringtype()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, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.opensearch.core.xcontent.ToXContentFragment
isFragment
-
Field Details
-
TYPE
- See Also:
-
COMPOSITE_AGGREGATION_SERIALISATION_BYTE_CODE
Deprecated.
-
-
Constructor Details
-
GeoTileGridValuesSourceBuilder
public GeoTileGridValuesSourceBuilder(org.opensearch.core.common.io.stream.StreamInput in) throws IOException - Throws:
IOException
-
-
Method Details
-
parse
public static GeoTileGridValuesSourceBuilder parse(String name, org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
register
-
precision
-
geoBoundingBox
-
format
- Overrides:
formatin classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
innerWriteTo
protected void innerWriteTo(org.opensearch.core.common.io.stream.StreamOutput out) throws IOException - Specified by:
innerWriteToin classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>- Throws:
IOException
-
doXContentBody
protected void doXContentBody(org.opensearch.core.xcontent.XContentBuilder builder, org.opensearch.core.xcontent.ToXContent.Params params) throws IOException - Specified by:
doXContentBodyin classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>- Throws:
IOException
-
type
- Specified by:
typein classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
hashCode
public int hashCode()- Overrides:
hashCodein classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
equals
- Overrides:
equalsin classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
getDefaultValuesSourceType
- Specified by:
getDefaultValuesSourceTypein classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>
-
innerBuild
protected CompositeValuesSourceConfig innerBuild(QueryShardContext queryShardContext, ValuesSourceConfig config) throws IOException - Specified by:
innerBuildin classCompositeValuesSourceBuilder<GeoTileGridValuesSourceBuilder>- Throws:
IOException
-