org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen
Class VectorUDAFMaxLong
java.lang.Object
org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.VectorAggregateExpression
org.apache.hadoop.hive.ql.exec.vector.expressions.aggregates.gen.VectorUDAFMaxLong
- All Implemented Interfaces:
- Serializable
public class VectorUDAFMaxLong
- extends VectorAggregateExpression
VectorUDAFMaxLong. Vectorized implementation for MIN/MAX aggregates.
- See Also:
- Serialized Form
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VectorUDAFMaxLong
public VectorUDAFMaxLong(VectorExpression inputExpression)
VectorUDAFMaxLong
public VectorUDAFMaxLong()
init
public void init(AggregationDesc desc)
throws HiveException
- Specified by:
init in class VectorAggregateExpression
- Throws:
HiveException
aggregateInputSelection
public void aggregateInputSelection(VectorAggregationBufferRow[] aggregationBufferSets,
int aggregrateIndex,
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
getInputExpression
public VectorExpression getInputExpression()
setInputExpression
public void setInputExpression(VectorExpression inputExpression)
Copyright © 2014 The Apache Software Foundation. All rights reserved.