| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.exec.vector.ptf | |
| org.apache.hadoop.hive.ql.plan |
| Modifier and Type | Class and Description |
|---|---|
class |
VectorPTFEvaluatorAbstractAvg<T> |
class |
VectorPTFEvaluatorAbstractLeadLag |
class |
VectorPTFEvaluatorAbstractSum<T> |
class |
VectorPTFEvaluatorBytesCountDistinct
Bytes (String) implementation for VectorPTFEvaluatorCountDistinct.
|
class |
VectorPTFEvaluatorCount
This class evaluates count(column) for a PTF group.
|
class |
VectorPTFEvaluatorCountDistinct
This class evaluates count(column) for a PTF group where a distinct keyword is applied to the
partitioning column itself, e.g.:
SELECT
txt1,
txt2,
count(distinct txt1) over(partition by txt1) as n,
count(distinct txt2) over(partition by txt2) as m
FROM example;
In this case, the framework is still supposed to ensure sorting
on the key (let's say txt1 for the first Reducer stage), but the original
VectorPTFEvaluatorCount is not aware that a distinct keyword was applied
to the key column.
|
class |
VectorPTFEvaluatorCountStar
This class evaluates count(*) for a PTF group.
|
class |
VectorPTFEvaluatorDecimalAvg
This class evaluates HiveDecimal avg() for a PTF group.
|
class |
VectorPTFEvaluatorDecimalCountDistinct
Double implementation for VectorPTFEvaluatorCountDistinct.
|
class |
VectorPTFEvaluatorDecimalFirstValue
This class evaluates HiveDecimal first_value() for a PTF group.
|
class |
VectorPTFEvaluatorDecimalLastValue
This class evaluates HiveDecimal last_value() for a PTF group.
|
class |
VectorPTFEvaluatorDecimalMax
This class evaluates HiveDecimal max() for a PTF group.
|
class |
VectorPTFEvaluatorDecimalMin
This class evaluates HiveDecimal min() for a PTF group.
|
class |
VectorPTFEvaluatorDecimalSum
This class evaluates HiveDecimal sum() for a PTF group.
|
class |
VectorPTFEvaluatorDenseRank
This class evaluates rank() for a PTF group.
|
class |
VectorPTFEvaluatorDoubleAvg
This class evaluates double avg() for a PTF group.
|
class |
VectorPTFEvaluatorDoubleCountDistinct
Double implementation for VectorPTFEvaluatorCountDistinct.
|
class |
VectorPTFEvaluatorDoubleFirstValue
This class evaluates double first_value() for a PTF group.
|
class |
VectorPTFEvaluatorDoubleLastValue
This class evaluates double first_value() for a PTF group.
|
class |
VectorPTFEvaluatorDoubleMax
This class evaluates double max() for a PTF group.
|
class |
VectorPTFEvaluatorDoubleMin
This class evaluates double min() for a PTF group.
|
class |
VectorPTFEvaluatorDoubleSum
This class evaluates double sum() for a PTF group.
|
class |
VectorPTFEvaluatorLag |
class |
VectorPTFEvaluatorLead |
class |
VectorPTFEvaluatorLongAvg
This class evaluates long avg() for a PTF group.
|
class |
VectorPTFEvaluatorLongCountDistinct
Long implementation for VectorPTFEvaluatorCountDistinct.
|
class |
VectorPTFEvaluatorLongFirstValue
This class evaluates long first_value() for a PTF group.
|
class |
VectorPTFEvaluatorLongLastValue
This class evaluates long first_value() for a PTF group.
|
class |
VectorPTFEvaluatorLongMax
This class evaluates long max() for a PTF group.
|
class |
VectorPTFEvaluatorLongMin
This class evaluates long min() for a PTF group.
|
class |
VectorPTFEvaluatorLongSum
This class evaluates long sum() for a PTF group.
|
class |
VectorPTFEvaluatorRank
This class evaluates rank() for a PTF group.
|
class |
VectorPTFEvaluatorRowNumber
This class evaluates row_number() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDecimalAvg
This class evaluates streaming HiveDecimal avg() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDecimalMax
This class evaluates HiveDecimal max() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDecimalMin
This class evaluates HiveDecimal min() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDecimalSum
This class evaluates HiveDecimal sum() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDoubleAvg
This class evaluates double avg() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDoubleMax
This class evaluates double max() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDoubleMin
This class evaluates double min() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingDoubleSum
This class evaluates double sum() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingLongAvg
This class evaluates long avg() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingLongMax
This class evaluates long max() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingLongMin
This class evaluates long min() for a PTF group.
|
class |
VectorPTFEvaluatorStreamingLongSum
This class evaluates long sum() for a PTF group.
|
class |
VectorPTFEvaluatorTimestampCountDistinct
Timestamp implementation for VectorPTFEvaluatorCountDistinct.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
VectorPTFGroupBatches.getValueAndEvaluateInputExpression(VectorPTFEvaluatorBase evaluator,
int row,
int col) |
void |
VectorPTFGroupBatches.init(VectorPTFEvaluatorBase[] evaluators,
int[] outputProjectionColumnMap,
int[] bufferedColumnMap,
TypeInfo[] bufferedTypeInfos,
int[] orderColumnMap,
int[] keyWithoutOrderColumnMap,
VectorizedRowBatch overflowBatch) |
Object |
VectorPTFGroupBatches.runEvaluatorOnRange(VectorPTFEvaluatorBase evaluator,
Range range) |
Object |
VectorPTFGroupBatches.runEvaluatorOnRange(VectorPTFEvaluatorBase evaluator,
Range range,
boolean resetAfterCalculation) |
| Modifier and Type | Method and Description |
|---|---|
static VectorPTFEvaluatorBase |
VectorPTFDesc.getEvaluator(VectorPTFDesc.SupportedFunctionType functionType,
boolean isDistinct,
WindowFrameDef windowFrameDef,
ColumnVector.Type[] columnVectorTypes,
VectorExpression[] inputVectorExpressions,
int outputColumnNum) |
static VectorPTFEvaluatorBase[] |
VectorPTFDesc.getEvaluators(VectorPTFDesc vectorPTFDesc,
VectorPTFInfo vectorPTFInfo) |
| Modifier and Type | Method and Description |
|---|---|
static int[] |
VectorPTFDesc.getStreamingEvaluatorNums(VectorPTFEvaluatorBase[] evaluators) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.