NamedWriteable, Writeable, ToXContent, ToXContentFragment, BaseAggregationBuilderpublic class MissingAggregationBuilder extends ValuesSourceAggregationBuilder<ValuesSource,MissingAggregationBuilder>
AggregationBuilder.CommonFieldsToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.ParamsValuesSourceAggregationBuilder.LeafOnly<VS extends ValuesSource,AB extends ValuesSourceAggregationBuilder<VS,AB>>Writeable.Reader<V>, Writeable.Writer<V>| Modifier and Type | Field | Description |
|---|---|---|
static java.lang.String |
NAME |
metaDatafactoriesBuilder, nameEMPTY_PARAMSconfig| Constructor | Description |
|---|---|
MissingAggregationBuilder(java.lang.String name,
ValueType targetValueType) |
|
MissingAggregationBuilder(StreamInput in) |
Read from a stream.
|
| Modifier and Type | Method | Description |
|---|---|---|
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
|
java.lang.String |
getType() |
The name of the type of aggregation built by this builder.
|
protected ValuesSourceAggregatorFactory<ValuesSource,?> |
innerBuild(SearchContext context,
ValuesSourceConfig<ValuesSource> 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.
|
static MissingAggregationBuilder |
parse(java.lang.String aggregationName,
XContentParser parser) |
|
protected boolean |
serializeTargetValueType() |
Should this builder serialize its targetValueType? Defaults to false.
|
build, equals, getMetaData, getWriteableName, hashCode, setMetaData, subAggregation, subAggregation, subAggregations, toXContent, writeTodoRewrite, getName, getPipelineAggregations, getSubAggregations, rewrite, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitisFragmentdoBuild, doEquals, doHashCode, doWriteTo, field, field, format, format, internalXContent, missing, missing, resolveConfig, script, script, timeZone, timeZone, valueType, valueTypepublic static final java.lang.String NAME
public MissingAggregationBuilder(java.lang.String name,
ValueType targetValueType)
public MissingAggregationBuilder(StreamInput in) throws java.io.IOException
java.io.IOExceptionpublic static MissingAggregationBuilder parse(java.lang.String aggregationName, XContentParser parser) throws java.io.IOException
java.io.IOExceptionprotected void innerWriteTo(StreamOutput out)
ValuesSourceAggregationBuilderinnerWriteTo in class ValuesSourceAggregationBuilder<ValuesSource,MissingAggregationBuilder>protected boolean serializeTargetValueType()
ValuesSourceAggregationBuilderserializeTargetValueType in class ValuesSourceAggregationBuilder<ValuesSource,MissingAggregationBuilder>protected ValuesSourceAggregatorFactory<ValuesSource,?> innerBuild(SearchContext context, ValuesSourceConfig<ValuesSource> config, AggregatorFactory<?> parent, AggregatorFactories.Builder subFactoriesBuilder) throws java.io.IOException
innerBuild in class ValuesSourceAggregationBuilder<ValuesSource,MissingAggregationBuilder>java.io.IOExceptionpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws java.io.IOException
doXContentBody in class ValuesSourceAggregationBuilder<ValuesSource,MissingAggregationBuilder>java.io.IOExceptionprotected int innerHashCode()
innerHashCode in class ValuesSourceAggregationBuilder<ValuesSource,MissingAggregationBuilder>protected boolean innerEquals(java.lang.Object obj)
innerEquals in class ValuesSourceAggregationBuilder<ValuesSource,MissingAggregationBuilder>public java.lang.String getType()
BaseAggregationBuilder