public class GeoBoundsAggregationBuilder extends ValuesSourceAggregationBuilder<ValuesSource.GeoPoint,GeoBoundsAggregationBuilder>
ValuesSourceAggregationBuilder.LeafOnly<VS extends ValuesSource,AB extends ValuesSourceAggregationBuilder<VS,AB>>
AggregationBuilder.CommonFields
Writeable.Reader<R>
ToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params
Modifier and Type | Field and Description |
---|---|
static ParseField |
AGGREGATION_NAME_FIED |
static java.lang.String |
NAME |
config
metaData
factoriesBuilder, name, type
EMPTY_PARAMS
Constructor and Description |
---|
GeoBoundsAggregationBuilder(StreamInput in)
Read from a stream.
|
GeoBoundsAggregationBuilder(java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
java.lang.String |
getWriteableName()
Returns the name of the writeable object
|
protected GeoBoundsAggregatorFactory |
innerBuild(AggregationContext context,
ValuesSourceConfig<ValuesSource.GeoPoint> config,
AggregatorFactory<?> parent,
AggregatorFactories.Builder subFactoriesBuilder) |
protected boolean |
innerEquals(java.lang.Object obj) |
protected int |
innerHashCode() |
protected void |
innerWriteTo(StreamOutput out)
Write subclass's state to the stream.
|
boolean |
wrapLongitude()
Get whether to wrap longitudes.
|
GeoBoundsAggregationBuilder |
wrapLongitude(boolean wrapLongitude)
Set whether to wrap longitudes.
|
config, doBuild, doEquals, doHashCode, doWriteTo, field, field, format, format, internalXContent, missing, missing, resolveConfig, script, script, serializeTargetValueType, timeZone, timeZone, valueType, valueType
build, equals, getType, hashCode, setMetaData, subAggregation, subAggregation, subAggregations, toXContent, writeTo
getName
buildAsBytes, buildAsBytes, toString
public static final java.lang.String NAME
public static final ParseField AGGREGATION_NAME_FIED
public GeoBoundsAggregationBuilder(java.lang.String name)
public GeoBoundsAggregationBuilder(StreamInput in) throws java.io.IOException
java.io.IOException
protected void innerWriteTo(StreamOutput out) throws java.io.IOException
ValuesSourceAggregationBuilder
innerWriteTo
in class ValuesSourceAggregationBuilder<ValuesSource.GeoPoint,GeoBoundsAggregationBuilder>
java.io.IOException
public GeoBoundsAggregationBuilder wrapLongitude(boolean wrapLongitude)
public boolean wrapLongitude()
protected GeoBoundsAggregatorFactory innerBuild(AggregationContext context, ValuesSourceConfig<ValuesSource.GeoPoint> config, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder) throws java.io.IOException
innerBuild
in class ValuesSourceAggregationBuilder<ValuesSource.GeoPoint,GeoBoundsAggregationBuilder>
java.io.IOException
public XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody
in class ValuesSourceAggregationBuilder<ValuesSource.GeoPoint,GeoBoundsAggregationBuilder>
java.io.IOException
protected int innerHashCode()
innerHashCode
in class ValuesSourceAggregationBuilder<ValuesSource.GeoPoint,GeoBoundsAggregationBuilder>
protected boolean innerEquals(java.lang.Object obj)
innerEquals
in class ValuesSourceAggregationBuilder<ValuesSource.GeoPoint,GeoBoundsAggregationBuilder>
public java.lang.String getWriteableName()
NamedWriteable