public class VectorUDAFComputeBitVectorTimestamp extends VectorAggregateExpression
VectorAggregateExpression.AggregationBuffer
AVERAGE_COUNT_FIELD_INDEX, AVERAGE_SOURCE_FIELD_INDEX, AVERAGE_SUM_FIELD_INDEX, inputExpression, inputTypeInfo, mode, outputDataTypePhysicalVariation, outputTypeInfo, VARIANCE_COUNT_FIELD_INDEX, VARIANCE_SUM_FIELD_INDEX, VARIANCE_VARIANCE_FIELD_INDEX, vecAggrDesc
Constructor and Description |
---|
VectorUDAFComputeBitVectorTimestamp() |
VectorUDAFComputeBitVectorTimestamp(VectorAggregationDesc vecAggrDesc) |
Modifier and Type | Method and Description |
---|---|
void |
aggregateInput(VectorAggregateExpression.AggregationBuffer agg,
VectorizedRowBatch batch) |
void |
aggregateInputSelection(VectorAggregationBufferRow[] aggregationBufferSets,
int aggregateIndex,
VectorizedRowBatch batch) |
void |
assignRowColumn(VectorizedRowBatch batch,
int batchIndex,
int columnNum,
VectorAggregateExpression.AggregationBuffer agg) |
long |
getAggregationBufferFixedSize() |
VectorAggregateExpression.AggregationBuffer |
getNewAggregationBuffer() |
boolean |
matches(String name,
ColumnVector.Type inputColVectorType,
ColumnVector.Type outputColVectorType,
GenericUDAFEvaluator.Mode mode) |
void |
reset(VectorAggregateExpression.AggregationBuffer agg) |
batchNeedsClone, finish, getInputExpression, getOutputDataTypePhysicalVariation, getOutputTypeInfo, hasVariableSize, toString
public VectorUDAFComputeBitVectorTimestamp()
public VectorUDAFComputeBitVectorTimestamp(VectorAggregationDesc vecAggrDesc)
public VectorAggregateExpression.AggregationBuffer getNewAggregationBuffer() throws HiveException
getNewAggregationBuffer
in class VectorAggregateExpression
HiveException
public void aggregateInput(VectorAggregateExpression.AggregationBuffer agg, VectorizedRowBatch batch) throws HiveException
aggregateInput
in class VectorAggregateExpression
HiveException
public void aggregateInputSelection(VectorAggregationBufferRow[] aggregationBufferSets, int aggregateIndex, VectorizedRowBatch batch) throws HiveException
aggregateInputSelection
in class VectorAggregateExpression
HiveException
public void reset(VectorAggregateExpression.AggregationBuffer agg) throws HiveException
reset
in class VectorAggregateExpression
HiveException
public long getAggregationBufferFixedSize()
getAggregationBufferFixedSize
in class VectorAggregateExpression
public boolean matches(String name, ColumnVector.Type inputColVectorType, ColumnVector.Type outputColVectorType, GenericUDAFEvaluator.Mode mode)
matches
in class VectorAggregateExpression
public void assignRowColumn(VectorizedRowBatch batch, int batchIndex, int columnNum, VectorAggregateExpression.AggregationBuffer agg) throws HiveException
assignRowColumn
in class VectorAggregateExpression
HiveException
Copyright © 2023 The Apache Software Foundation. All rights reserved.