org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen
Class VectorUDAFVarPopDecimal
java.lang.Object
org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorAggregateExpression
org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFVarPopDecimal
- All Implemented Interfaces:
- Serializable
public class VectorUDAFVarPopDecimal
- extends VectorAggregateExpression
VectorUDAFVarPopDecimal. Vectorized implementation for VARIANCE aggregates.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorUDAFVarPopDecimal
public VectorUDAFVarPopDecimal(VectorExpression inputExpression)
VectorUDAFVarPopDecimal
public VectorUDAFVarPopDecimal()
aggregateInputSelection
public void aggregateInputSelection(VectorAggregationBufferRow[] aggregationBufferSets,
int aggregateIndex,
VectorizedRowBatch batch)
throws HiveException
- Specified by:
aggregateInputSelection in class VectorAggregateExpression
- Throws:
HiveException
aggregateInput
public void aggregateInput(VectorAggregateExpression.AggregationBuffer agg,
VectorizedRowBatch batch)
throws HiveException
- Specified by:
aggregateInput in class VectorAggregateExpression
- Throws:
HiveException
getNewAggregationBuffer
public VectorAggregateExpression.AggregationBuffer getNewAggregationBuffer()
throws HiveException
- Specified by:
getNewAggregationBuffer in class VectorAggregateExpression
- Throws:
HiveException
reset
public void reset(VectorAggregateExpression.AggregationBuffer agg)
throws HiveException
- Specified by:
reset in class VectorAggregateExpression
- Throws:
HiveException
evaluateOutput
public Object evaluateOutput(VectorAggregateExpression.AggregationBuffer agg)
throws HiveException
- Specified by:
evaluateOutput in class VectorAggregateExpression
- Throws:
HiveException
getOutputObjectInspector
public ObjectInspector getOutputObjectInspector()
- Specified by:
getOutputObjectInspector in class VectorAggregateExpression
getAggregationBufferFixedSize
public int getAggregationBufferFixedSize()
- Specified by:
getAggregationBufferFixedSize in class VectorAggregateExpression
init
public void init(AggregationDesc desc)
throws HiveException
- Specified by:
init in class VectorAggregateExpression
- Throws:
HiveException
getInputExpression
public VectorExpression getInputExpression()
setInputExpression
public void setInputExpression(VectorExpression inputExpression)
Copyright © 2014 The Apache Software Foundation. All rights reserved.