public abstract class PipelineAggregator extends Object implements Streamable
| 修飾子とタイプ | クラスと説明 |
|---|---|
static interface |
PipelineAggregator.Parser
Parses the pipeline aggregation request and creates the appropriate
pipeline aggregator factory for it.
|
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static com.google.common.base.Function<Aggregation,InternalAggregation> |
AGGREGATION_TRANFORM_FUNCTION |
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
PipelineAggregator() |
protected |
PipelineAggregator(String name,
String[] bucketsPaths,
Map<String,Object> metaData) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String[] |
bucketsPaths() |
protected abstract void |
doReadFrom(StreamInput in) |
protected abstract void |
doWriteTo(StreamOutput out) |
Map<String,Object> |
metaData() |
String |
name() |
void |
readFrom(StreamInput in) |
abstract InternalAggregation |
reduce(InternalAggregation aggregation,
InternalAggregation.ReduceContext reduceContext) |
abstract InternalAggregation.Type |
type() |
void |
writeTo(StreamOutput out) |
public static final com.google.common.base.Function<Aggregation,InternalAggregation> AGGREGATION_TRANFORM_FUNCTION
public String name()
public String[] bucketsPaths()
public abstract InternalAggregation.Type type()
public abstract InternalAggregation reduce(InternalAggregation aggregation, InternalAggregation.ReduceContext reduceContext)
public final void writeTo(StreamOutput out) throws IOException
writeTo インタフェース内 StreamableIOExceptionprotected abstract void doWriteTo(StreamOutput out) throws IOException
IOExceptionpublic final void readFrom(StreamInput in) throws IOException
readFrom インタフェース内 StreamableIOExceptionprotected abstract void doReadFrom(StreamInput in) throws IOException
IOExceptionCopyright © 2009–2016. All rights reserved.