public abstract class VectorAggregateExpression extends Object implements Serializable
| Modifier and Type | Class and Description |
|---|---|
static interface |
VectorAggregateExpression.AggregationBuffer
Buffer interface to store aggregates.
|
| Constructor and Description |
|---|
VectorAggregateExpression() |
| Modifier and Type | Method and Description |
|---|---|
abstract void |
aggregateInput(VectorAggregateExpression.AggregationBuffer agg,
VectorizedRowBatch unit) |
abstract void |
aggregateInputSelection(VectorAggregationBufferRow[] aggregationBufferSets,
int aggregateIndex,
VectorizedRowBatch vrg) |
abstract Object |
evaluateOutput(VectorAggregateExpression.AggregationBuffer agg) |
abstract int |
getAggregationBufferFixedSize() |
abstract VectorAggregateExpression.AggregationBuffer |
getNewAggregationBuffer() |
abstract ObjectInspector |
getOutputObjectInspector() |
boolean |
hasVariableSize() |
abstract void |
init(AggregationDesc desc) |
abstract void |
reset(VectorAggregateExpression.AggregationBuffer agg) |
public abstract VectorAggregateExpression.AggregationBuffer getNewAggregationBuffer() throws HiveException
HiveExceptionpublic abstract void aggregateInput(VectorAggregateExpression.AggregationBuffer agg, VectorizedRowBatch unit) throws HiveException
HiveExceptionpublic abstract void aggregateInputSelection(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, VectorizedRowBatch vrg) throws HiveException
HiveExceptionpublic abstract void reset(VectorAggregateExpression.AggregationBuffer agg) throws HiveException
HiveExceptionpublic abstract Object evaluateOutput(VectorAggregateExpression.AggregationBuffer agg) throws HiveException
HiveExceptionpublic abstract ObjectInspector getOutputObjectInspector()
public abstract int getAggregationBufferFixedSize()
public boolean hasVariableSize()
public abstract void init(AggregationDesc desc) throws HiveException
HiveExceptionCopyright © 2016 The Apache Software Foundation. All rights reserved.