public class SketchMergeAggregatorFactory extends SketchAggregatorFactory
DEFAULT_MAX_SKETCH_SIZE, fieldName, name, size| Constructor and Description | 
|---|
SketchMergeAggregatorFactory(String name,
                            String fieldName,
                            Integer size,
                            Boolean shouldFinalize,
                            Boolean isInputThetaSketch,
                            Integer errorBoundsStdDev)  | 
| Modifier and Type | Method and Description | 
|---|---|
boolean | 
equals(Object o)  | 
Object | 
finalizeComputation(Object object)
Finalize the computation on sketch object and returns estimate from underlying
 sketch. 
 | 
AggregatorFactory | 
getCombiningFactory()
Returns an AggregatorFactory that can be used to combine the output of aggregators from this factory. 
 | 
Integer | 
getErrorBoundsStdDev()  | 
boolean | 
getIsInputThetaSketch()  | 
AggregatorFactory | 
getMergingFactory(AggregatorFactory other)
Returns an AggregatorFactory that can be used to merge the output of aggregators from this factory and
 other factory. 
 | 
List<AggregatorFactory> | 
getRequiredColumns()
Gets a list of all columns that this AggregatorFactory will scan 
 | 
boolean | 
getShouldFinalize()  | 
String | 
getTypeName()  | 
int | 
hashCode()  | 
String | 
toString()  | 
combine, deserialize, factorize, factorizeBuffered, getCacheKey, getComparator, getFieldName, getMaxIntermediateSize, getName, getSize, makeAggregateCombiner, requiredFieldsmergeAggregatorspublic List<AggregatorFactory> getRequiredColumns()
AggregatorFactorygetRequiredColumns in class AggregatorFactorypublic AggregatorFactory getCombiningFactory()
AggregatorFactorygetCombiningFactory in class AggregatorFactorypublic AggregatorFactory getMergingFactory(AggregatorFactory other) throws AggregatorFactoryNotMergeableException
AggregatorFactorygetMergingFactory in class AggregatorFactoryAggregatorFactoryNotMergeableExceptionpublic boolean getShouldFinalize()
public boolean getIsInputThetaSketch()
public Integer getErrorBoundsStdDev()
public Object finalizeComputation(Object object)
finalizeComputation in class AggregatorFactoryobject - the sketch objectpublic String getTypeName()
getTypeName in class AggregatorFactorypublic boolean equals(Object o)
equals in class SketchAggregatorFactorypublic int hashCode()
hashCode in class SketchAggregatorFactorypublic String toString()
toString in class SketchAggregatorFactoryCopyright © 2011–2018. All rights reserved.