public class Histogram extends SqlAggregationFunction
| Modifier and Type | Field and Description |
|---|---|
static int |
EXPECTED_SIZE_FOR_HASHING |
static String |
NAME |
| Constructor and Description |
|---|
Histogram(HistogramGroupImplementation groupMode) |
| Modifier and Type | Method and Description |
|---|---|
static void |
combine(HistogramState state,
HistogramState otherState) |
String |
getDescription() |
static void |
input(Type type,
HistogramState state,
Block key,
int position) |
static void |
output(Type type,
HistogramState state,
BlockBuilder out) |
InternalAggregationFunction |
specialize(BoundVariables boundVariables,
int arity,
TypeManager typeManager,
FunctionRegistry functionRegistry) |
createFunctionByAnnotations, createFunctionsByAnnotations, getSignature, isDeterministic, isHiddenpublic static final String NAME
public static final int EXPECTED_SIZE_FOR_HASHING
public Histogram(HistogramGroupImplementation groupMode)
public String getDescription()
public InternalAggregationFunction specialize(BoundVariables boundVariables, int arity, TypeManager typeManager, FunctionRegistry functionRegistry)
specialize in class SqlAggregationFunctionpublic static void input(Type type, HistogramState state, Block key, int position)
public static void combine(HistogramState state, HistogramState otherState)
public static void output(Type type, HistogramState state, BlockBuilder out)
Copyright © 2012–2019. All rights reserved.