public class TimeRateAggregatorFactory extends AbstractAggregatorFactory
Constructor and Description |
---|
TimeRateAggregatorFactory() |
Modifier and Type | Method and Description |
---|---|
protected Aggregator |
createAggregator() |
long |
getGranularity()
Gets the granularity used by created aggregators.
|
void |
setGranularity(long granularity)
Sets the granularity used by created aggregators.
|
createAggregatedKeyValueAggregator, createKeyAggregator, createValueAggregator
public final long getGranularity()
public final void setGranularity(long granularity)
granularity
- the granularity to setprotected Aggregator createAggregator()
createAggregator
in class AbstractAggregatorFactory
Copyright © 1998-2019 Apache Software Foundation. All Rights Reserved.