类 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.String NAME  

    从类继承的字段 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.BucketCardinality bucketCardinality()  
    protected org.easysearch.search.aggregations.support.ValuesSourceType defaultValueSourceType()  
    org.easysearch.common.xcontent.XContentBuilder doXContentBody​(org.easysearch.common.xcontent.XContentBuilder builder, org.easysearch.common.xcontent.ToXContent.Params params)  
    boolean equals​(java.lang.Object obj)  
    protected org.easysearch.search.aggregations.support.ValuesSourceRegistry.RegistryKey<?> getRegistryKey()  
    java.lang.String getType()  
    int hashCode()  
    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)  
    protected void innerWriteTo​(org.easysearch.common.io.stream.StreamOutput out)  
    protected org.easysearch.search.aggregations.AggregationBuilder shallowCopy​(org.easysearch.search.aggregations.AggregatorFactories.Builder factoriesBuilder, java.util.Map<java.lang.String,​java.lang.Object> metadata)  
    StringStatsAggregationBuilder showDistribution​(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

      public StringStatsAggregationBuilder showDistribution​(boolean 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>