public class SignificantStringTerms extends InternalSignificantTerms<SignificantStringTerms,SignificantStringTerms.Bucket>
| Modifier and Type | Class and Description |
|---|---|
static class |
SignificantStringTerms.Bucket |
InternalMultiBucketAggregation.InternalBucketInternalAggregation.CommonFields, InternalAggregation.ReduceContext, InternalAggregation.TypeToXContent.DelegatingMapParams, ToXContent.MapParams, ToXContent.Params| Modifier and Type | Field and Description |
|---|---|
static AggregationStreams.Stream |
STREAM |
static InternalAggregation.Type |
TYPE |
bucketMap, buckets, minDocCount, requiredSize, significanceHeuristic, subsetSize, supersetSizemetaData, nameEMPTY_PARAMS| Constructor and Description |
|---|
SignificantStringTerms(long subsetSize,
long supersetSize,
String name,
int requiredSize,
long minDocCount,
SignificanceHeuristic significanceHeuristic,
List<? extends InternalSignificantTerms.Bucket> buckets,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData) |
| Modifier and Type | Method and Description |
|---|---|
SignificantStringTerms |
create(List<SignificantStringTerms.Bucket> buckets)
Create a new copy of this
Aggregation with the same settings as
this Aggregation and contains the provided buckets. |
protected SignificantStringTerms |
create(long subsetSize,
long supersetSize,
List<InternalSignificantTerms.Bucket> buckets,
InternalSignificantTerms prototype) |
SignificantStringTerms.Bucket |
createBucket(InternalAggregations aggregations,
SignificantStringTerms.Bucket prototype)
Create a new
InternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations. |
protected void |
doReadFrom(StreamInput in) |
protected void |
doWriteTo(StreamOutput out) |
XContentBuilder |
doXContentBody(XContentBuilder builder,
ToXContent.Params params) |
static void |
registerStream() |
static void |
registerStreams() |
InternalAggregation.Type |
type() |
doReduce, getBucketByKey, getBuckets, iteratorgetPropertygetMetaData, getName, getProperty, pipelineAggregators, readFrom, readSize, reduce, toXContent, writeSize, writeToclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMetaData, getName, getPropertytoXContentreadFrom, writeTopublic static final InternalAggregation.Type TYPE
public static final AggregationStreams.Stream STREAM
public SignificantStringTerms(long subsetSize,
long supersetSize,
String name,
int requiredSize,
long minDocCount,
SignificanceHeuristic significanceHeuristic,
List<? extends InternalSignificantTerms.Bucket> buckets,
List<PipelineAggregator> pipelineAggregators,
Map<String,Object> metaData)
public static void registerStream()
public static void registerStreams()
public InternalAggregation.Type type()
type in class InternalAggregationInternalAggregation.Type of this aggregationpublic SignificantStringTerms create(List<SignificantStringTerms.Bucket> buckets)
InternalMultiBucketAggregationAggregation with the same settings as
this Aggregation and contains the provided buckets.create in class InternalMultiBucketAggregation<SignificantStringTerms,SignificantStringTerms.Bucket>buckets - the buckets to use in the new AggregationAggregationpublic SignificantStringTerms.Bucket createBucket(InternalAggregations aggregations, SignificantStringTerms.Bucket prototype)
InternalMultiBucketAggregationInternalMultiBucketAggregation.InternalBucket using the provided prototype bucket
and aggregations.createBucket in class InternalMultiBucketAggregation<SignificantStringTerms,SignificantStringTerms.Bucket>aggregations - the aggregations for the new bucketprototype - the bucket to use as a prototypeprotected SignificantStringTerms create(long subsetSize, long supersetSize, List<InternalSignificantTerms.Bucket> buckets, InternalSignificantTerms prototype)
create in class InternalSignificantTerms<SignificantStringTerms,SignificantStringTerms.Bucket>protected void doReadFrom(StreamInput in) throws IOException
doReadFrom in class InternalAggregationIOExceptionprotected void doWriteTo(StreamOutput out) throws IOException
doWriteTo in class InternalAggregationIOExceptionpublic XContentBuilder doXContentBody(XContentBuilder builder, ToXContent.Params params) throws IOException
doXContentBody in class InternalAggregationIOExceptionCopyright © 2009–2017. All rights reserved.