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
HiveException
public abstract void aggregateInput(VectorAggregateExpression.AggregationBuffer agg, VectorizedRowBatch unit) throws HiveException
HiveException
public abstract void aggregateInputSelection(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, VectorizedRowBatch vrg) throws HiveException
HiveException
public abstract void reset(VectorAggregateExpression.AggregationBuffer agg) throws HiveException
HiveException
public abstract Object evaluateOutput(VectorAggregateExpression.AggregationBuffer agg) throws HiveException
HiveException
public abstract ObjectInspector getOutputObjectInspector()
public abstract int getAggregationBufferFixedSize()
public boolean hasVariableSize()
public abstract void init(AggregationDesc desc) throws HiveException
HiveException
Copyright © 2017 The Apache Software Foundation. All rights reserved.