public abstract class AbstractAggregatorFactory extends java.lang.Object implements AggregatorFactory
A factory for creating AbstractAggregator objects.
This abstract class creates the same kind of aggregator for each create method.
Modifier | Constructor and Description |
---|---|
protected |
AbstractAggregatorFactory()
Instantiates a new abstract aggregator factory.
|
Modifier and Type | Method and Description |
---|---|
Aggregator |
createAggregatedKeyValueAggregator()
Creates a new Aggregator object to calculate an aggregated value of an
aggregated key series.
|
protected abstract Aggregator |
createAggregator() |
Aggregator |
createKeyAggregator()
Creates a new Aggregator object to calculate an aggregated key.
|
Aggregator |
createValueAggregator()
Creates a new Aggregator object to calculate an aggregated value in a
graph.
|
protected AbstractAggregatorFactory()
protected abstract Aggregator createAggregator()
public final Aggregator createValueAggregator()
AggregatorFactory
createValueAggregator
in interface AggregatorFactory
public final Aggregator createKeyAggregator()
AggregatorFactory
createKeyAggregator
in interface AggregatorFactory
public final Aggregator createAggregatedKeyValueAggregator()
AggregatorFactory
createAggregatedKeyValueAggregator
in interface AggregatorFactory
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.