public class FilteredAggregatorFactory extends AggregatorFactory
| Constructor and Description |
|---|
FilteredAggregatorFactory(AggregatorFactory delegate,
DimFilter filter) |
| Modifier and Type | Method and Description |
|---|---|
Object |
combine(Object lhs,
Object rhs)
A method that knows how to combine the outputs of the getIntermediate() method from the Aggregators
produced via factorize().
|
Object |
deserialize(Object object)
A method that knows how to "deserialize" the object from whatever form it might have been put into
in order to transfer via JSON.
|
boolean |
equals(Object o) |
Aggregator |
factorize(ColumnSelectorFactory columnSelectorFactory) |
BufferAggregator |
factorizeBuffered(ColumnSelectorFactory columnSelectorFactory) |
Object |
finalizeComputation(Object object)
"Finalizes" the computation of an object.
|
AggregatorFactory |
getAggregator() |
Object |
getAggregatorStartValue()
Returns the starting value for a corresponding aggregator.
|
byte[] |
getCacheKey() |
AggregatorFactory |
getCombiningFactory()
Returns an AggregatorFactory that can be used to combine the output of aggregators from this factory.
|
Comparator |
getComparator() |
DimFilter |
getFilter() |
int |
getMaxIntermediateSize()
Returns the maximum size that this aggregator will require in bytes for intermediate storage of results.
|
String |
getName() |
List<AggregatorFactory> |
getRequiredColumns()
Gets a list of all columns that this AggregatorFactory will scan
|
String |
getTypeName() |
int |
hashCode() |
List<String> |
requiredFields() |
String |
toString() |
getMergingFactory, mergeAggregatorspublic FilteredAggregatorFactory(AggregatorFactory delegate, DimFilter filter)
public Aggregator factorize(ColumnSelectorFactory columnSelectorFactory)
factorize in class AggregatorFactorypublic BufferAggregator factorizeBuffered(ColumnSelectorFactory columnSelectorFactory)
factorizeBuffered in class AggregatorFactorypublic Comparator getComparator()
getComparator in class AggregatorFactorypublic Object combine(Object lhs, Object rhs)
AggregatorFactorycombine in class AggregatorFactorylhs - The left hand side of the combinerhs - The right hand side of the combinepublic AggregatorFactory getCombiningFactory()
AggregatorFactorygetCombiningFactory in class AggregatorFactorypublic Object deserialize(Object object)
AggregatorFactorydeserialize in class AggregatorFactoryobject - the object to deserializepublic Object finalizeComputation(Object object)
AggregatorFactoryfinalizeComputation in class AggregatorFactoryobject - the object to be finalizedpublic String getName()
getName in class AggregatorFactorypublic List<String> requiredFields()
requiredFields in class AggregatorFactorypublic byte[] getCacheKey()
getCacheKey in class AggregatorFactorypublic String getTypeName()
getTypeName in class AggregatorFactorypublic int getMaxIntermediateSize()
AggregatorFactorygetMaxIntermediateSize in class AggregatorFactorypublic Object getAggregatorStartValue()
AggregatorFactorygetAggregatorStartValue in class AggregatorFactorypublic AggregatorFactory getAggregator()
public DimFilter getFilter()
public List<AggregatorFactory> getRequiredColumns()
AggregatorFactorygetRequiredColumns in class AggregatorFactoryCopyright © 2011–2016. All rights reserved.