类 StringStatsAggregationBuilder
java.lang.Object
org.easysearch.search.aggregations.AggregationBuilder
org.easysearch.search.aggregations.AbstractAggregationBuilder<AB>
org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>
org.easysearch.client.analytics.StringStatsAggregationBuilder
- 所有已实现的接口:
org.easysearch.common.io.stream.NamedWriteable,org.easysearch.common.io.stream.Writeable,org.easysearch.common.xcontent.ToXContent,org.easysearch.common.xcontent.ToXContentFragment,org.easysearch.index.query.Rewriteable<org.easysearch.search.aggregations.AggregationBuilder>,org.easysearch.search.aggregations.BaseAggregationBuilder
public class StringStatsAggregationBuilder extends org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>
Builds the
string_stats aggregation request.
NOTE: This extends AbstractAggregationBuilder for compatibility
with SearchSourceBuilder.aggregation(AggregationBuilder) but it
doesn't support any "server" side things like
Writeable.writeTo(StreamOutput),
AggregationBuilder.rewrite(QueryRewriteContext), or
AbstractAggregationBuilder.build(QueryShardContext, AggregatorFactory).
-
嵌套类概要
从类继承的嵌套类/接口 org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder
org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder.LeafOnly<VS extends org.easysearch.search.aggregations.support.ValuesSource,AB extends org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<AB>>从类继承的嵌套类/接口 org.easysearch.search.aggregations.AggregationBuilder
org.easysearch.search.aggregations.AggregationBuilder.BucketCardinality, org.easysearch.search.aggregations.AggregationBuilder.CommonFields从接口继承的嵌套类/接口 org.easysearch.common.xcontent.ToXContent
org.easysearch.common.xcontent.ToXContent.DelegatingMapParams, org.easysearch.common.xcontent.ToXContent.MapParams, org.easysearch.common.xcontent.ToXContent.Params从接口继承的嵌套类/接口 org.easysearch.common.io.stream.Writeable
org.easysearch.common.io.stream.Writeable.Reader<V extends java.lang.Object>, org.easysearch.common.io.stream.Writeable.Writer<V extends java.lang.Object> -
字段概要
字段 修饰符和类型 字段 说明 static java.lang.StringNAME从类继承的字段 org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder
config从类继承的字段 org.easysearch.search.aggregations.AbstractAggregationBuilder
metadata从类继承的字段 org.easysearch.search.aggregations.AggregationBuilder
factoriesBuilder, name从接口继承的字段 org.easysearch.index.query.Rewriteable
MAX_REWRITE_ROUNDS从接口继承的字段 org.easysearch.common.xcontent.ToXContent
EMPTY_PARAMS -
构造器概要
构造器 构造器 说明 StringStatsAggregationBuilder(java.lang.String name) -
方法概要
修饰符和类型 方法 说明 org.easysearch.search.aggregations.AggregationBuilder.BucketCardinalitybucketCardinality()protected org.easysearch.search.aggregations.support.ValuesSourceTypedefaultValueSourceType()org.easysearch.common.xcontent.XContentBuilderdoXContentBody(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params)booleanequals(java.lang.Object obj)protected org.easysearch.search.aggregations.support.ValuesSourceRegistry.RegistryKey<?>getRegistryKey()java.lang.StringgetType()inthashCode()protected org.easysearch.search.aggregations.support.ValuesSourceAggregatorFactoryinnerBuild(org.easysearch.index.query.QueryShardContext queryShardContext, org.easysearch.search.aggregations.support.ValuesSourceConfig config, org.easysearch.search.aggregations.AggregatorFactory parent, org.easysearch.search.aggregations.AggregatorFactories.Builder subFactoriesBuilder)protected voidinnerWriteTo(org.easysearch.common.io.stream.StreamOutput out)protected org.easysearch.search.aggregations.AggregationBuildershallowCopy(org.easysearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metadata)StringStatsAggregationBuildershowDistribution(boolean showDistribution)Compute the distribution of each character.从类继承的方法 org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder
declareFields, declareFields, doBuild, doWriteTo, field, field, format, format, internalXContent, missing, missing, resolveConfig, script, script, serializeTargetValueType, timeZone, timeZone, userValueTypeHint, userValueTypeHint从类继承的方法 org.easysearch.search.aggregations.AbstractAggregationBuilder
build, getMetadata, getWriteableName, setMetadata, subAggregation, subAggregation, subAggregations, toXContent, writeTo从类继承的方法 org.easysearch.search.aggregations.AggregationBuilder
buildPipelineTree, doRewrite, getName, getPipelineAggregations, getSubAggregations, rewrite, toString从类继承的方法 java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait从接口继承的方法 org.easysearch.common.xcontent.ToXContentFragment
isFragment
-
字段详细资料
-
NAME
public static final java.lang.String NAME- 另请参阅:
- 常量字段值
-
-
构造器详细资料
-
StringStatsAggregationBuilder
public StringStatsAggregationBuilder(java.lang.String name)
-
-
方法详细资料
-
showDistribution
Compute the distribution of each character. Disabled by default.- 返回:
- this for chaining
-
defaultValueSourceType
protected org.easysearch.search.aggregations.support.ValuesSourceType defaultValueSourceType()- 指定者:
defaultValueSourceType在类中org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>
-
getType
public java.lang.String getType() -
getRegistryKey
protected org.easysearch.search.aggregations.support.ValuesSourceRegistry.RegistryKey<?> getRegistryKey()- 指定者:
getRegistryKey在类中org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>
-
doXContentBody
public org.easysearch.common.xcontent.XContentBuilder doXContentBody(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params) throws java.io.IOException- 指定者:
doXContentBody在类中org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>- 抛出:
java.io.IOException
-
innerWriteTo
protected void innerWriteTo(org.easysearch.common.io.stream.StreamOutput out) throws java.io.IOException- 指定者:
innerWriteTo在类中org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>- 抛出:
java.io.IOException
-
bucketCardinality
public org.easysearch.search.aggregations.AggregationBuilder.BucketCardinality bucketCardinality()- 指定者:
bucketCardinality在类中org.easysearch.search.aggregations.AggregationBuilder
-
innerBuild
protected org.easysearch.search.aggregations.support.ValuesSourceAggregatorFactory innerBuild(org.easysearch.index.query.QueryShardContext queryShardContext, org.easysearch.search.aggregations.support.ValuesSourceConfig config, org.easysearch.search.aggregations.AggregatorFactory parent, org.easysearch.search.aggregations.AggregatorFactories.Builder subFactoriesBuilder) throws java.io.IOException- 指定者:
innerBuild在类中org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>- 抛出:
java.io.IOException
-
shallowCopy
protected org.easysearch.search.aggregations.AggregationBuilder shallowCopy(org.easysearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,java.lang.Object> metadata)- 指定者:
shallowCopy在类中org.easysearch.search.aggregations.AggregationBuilder
-
hashCode
public int hashCode()- 覆盖:
hashCode在类中org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>
-
equals
public boolean equals(java.lang.Object obj)- 覆盖:
equals在类中org.easysearch.search.aggregations.support.ValuesSourceAggregationBuilder<StringStatsAggregationBuilder>
-