public class VectorPTFEvaluatorStreamingLongAvg extends VectorPTFEvaluatorBase
| Modifier and Type | Field and Description |
|---|---|
protected double |
avg |
protected boolean |
isNull |
protected long |
sum |
inputColumnNum, LOG, outputColumnNum| Constructor and Description |
|---|
VectorPTFEvaluatorStreamingLongAvg(WindowFrameDef windowFrameDef,
VectorExpression inputVecExpr,
int outputColumnNum) |
| Modifier and Type | Method and Description |
|---|---|
void |
evaluateGroupBatch(VectorizedRowBatch batch) |
ColumnVector.Type |
getResultColumnVectorType() |
void |
resetEvaluator() |
boolean |
streamsResult() |
canRunOptimizedCalculation, doLastBatchWork, evaluateInputExpr, getGroupResult, getNullsLast, getOutputColumnNum, isCacheableForRange, isGroupResultNull, mapCustomColumns, onPartitionEnd, onResultCalculated, runOnRange, setNullsLastpublic VectorPTFEvaluatorStreamingLongAvg(WindowFrameDef windowFrameDef, VectorExpression inputVecExpr, int outputColumnNum)
public void evaluateGroupBatch(VectorizedRowBatch batch) throws HiveException
evaluateGroupBatch in class VectorPTFEvaluatorBaseHiveExceptionpublic boolean streamsResult()
streamsResult in class VectorPTFEvaluatorBasepublic ColumnVector.Type getResultColumnVectorType()
getResultColumnVectorType in class VectorPTFEvaluatorBasepublic void resetEvaluator()
resetEvaluator in class VectorPTFEvaluatorBaseCopyright © 2024 The Apache Software Foundation. All rights reserved.