public abstract class PipelineAggregatorFactory extends Object
PipelineAggregator
of a
specific type.Modifier and Type | Field and Description |
---|---|
protected String[] |
bucketsPaths |
protected Map<String,Object> |
metaData |
protected String |
name |
protected String |
type |
Constructor and Description |
---|
PipelineAggregatorFactory(String name,
String type,
String[] bucketsPaths)
Constructs a new pipeline aggregator factory.
|
Modifier and Type | Method and Description |
---|---|
PipelineAggregator |
create()
Creates the pipeline aggregator
|
protected abstract PipelineAggregator |
createInternal(Map<String,Object> metaData) |
void |
doValidate(AggregatorFactory parent,
AggregatorFactory[] factories,
List<PipelineAggregatorFactory> pipelineAggregatorFactories) |
String[] |
getBucketsPaths() |
String |
getName() |
String |
name() |
void |
setMetaData(Map<String,Object> metaData) |
void |
validate(AggregatorFactory parent,
AggregatorFactory[] factories,
List<PipelineAggregatorFactory> pipelineAggregatorFactories)
Validates the state of this factory (makes sure the factory is properly
configured)
|
protected String name
protected String type
protected String[] bucketsPaths
public String name()
public final void validate(AggregatorFactory parent, AggregatorFactory[] factories, List<PipelineAggregatorFactory> pipelineAggregatorFactories)
protected abstract PipelineAggregator createInternal(Map<String,Object> metaData) throws IOException
IOException
public final PipelineAggregator create() throws IOException
IOException
public void doValidate(AggregatorFactory parent, AggregatorFactory[] factories, List<PipelineAggregatorFactory> pipelineAggregatorFactories)
public String getName()
public String[] getBucketsPaths()
Copyright © 2009–2016. All rights reserved.