| Package | Description |
|---|---|
| org.apache.hadoop.hive.ql.exec |
Hive QL execution tasks, operators, functions and other handlers.
|
| org.apache.hadoop.hive.ql.exec.vector.ptf | |
| org.apache.hadoop.hive.ql.udf.generic |
Standard toolkit and framework for generic User-defined functions.
|
| org.apache.hadoop.hive.ql.udf.ptf |
| Modifier and Type | Class and Description |
|---|---|
class |
PTFRollingPartition |
| Modifier and Type | Method and Description |
|---|---|
static PTFPartition |
PTFPartition.create(org.apache.hadoop.conf.Configuration cfg,
AbstractSerDe serDe,
StructObjectInspector inputOI,
StructObjectInspector outputOI) |
PTFPartition |
PTFPartition.PTFPartitionIterator.getPartition() |
| Modifier and Type | Class and Description |
|---|---|
class |
VectorPTFGroupBatches
This class is encapsulates one or more VectorizedRowBatch of a PTF group.
|
| Modifier and Type | Method and Description |
|---|---|
protected BasePartitionEvaluator |
GenericUDAFSum.GenericUDAFSumHiveDecimal.createPartitionEvaluator(WindowFrameDef winFrame,
PTFPartition partition,
List<PTFExpressionDef> parameters,
ObjectInspector outputOI,
boolean nullsLast) |
protected BasePartitionEvaluator |
GenericUDAFSum.GenericUDAFSumDouble.createPartitionEvaluator(WindowFrameDef winFrame,
PTFPartition partition,
List<PTFExpressionDef> parameters,
ObjectInspector outputOI,
boolean nullsLast) |
protected BasePartitionEvaluator |
GenericUDAFSum.GenericUDAFSumLong.createPartitionEvaluator(WindowFrameDef winFrame,
PTFPartition partition,
List<PTFExpressionDef> parameters,
ObjectInspector outputOI,
boolean nullsLast) |
protected BasePartitionEvaluator |
GenericUDAFEvaluator.createPartitionEvaluator(WindowFrameDef winFrame,
PTFPartition partition,
List<PTFExpressionDef> parameters,
ObjectInspector outputOI,
boolean nullsLast)
This class needs to be overridden by the child class to implement function
specific evaluator.
|
protected BasePartitionEvaluator |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDouble.createPartitionEvaluator(WindowFrameDef winFrame,
PTFPartition partition,
List<PTFExpressionDef> parameters,
ObjectInspector outputOI,
boolean nullsLast) |
protected BasePartitionEvaluator |
GenericUDAFAverage.GenericUDAFAverageEvaluatorDecimal.createPartitionEvaluator(WindowFrameDef winFrame,
PTFPartition partition,
List<PTFExpressionDef> parameters,
ObjectInspector outputOI,
boolean nullsLast) |
BasePartitionEvaluator |
GenericUDAFEvaluator.getPartitionWindowingEvaluator(WindowFrameDef winFrame,
PTFPartition partition,
List<PTFExpressionDef> parameters,
ObjectInspector outputOI,
boolean nullsLast)
When evaluating an aggregates over a fixed Window, streaming is not possible
especially for RANGE Window type.
|
| Modifier and Type | Field and Description |
|---|---|
protected PTFPartition |
TableFunctionEvaluator.outputPartition |
protected PTFPartition |
BasePartitionEvaluator.partition |
| Modifier and Type | Method and Description |
|---|---|
protected PTFPartition |
TableFunctionEvaluator._transformRawInput(PTFPartition iPart) |
protected PTFPartition |
NoopWithMap._transformRawInput(PTFPartition iPart) |
PTFPartition |
Noop.execute(PTFPartition iPart) |
PTFPartition |
TableFunctionEvaluator.execute(PTFPartition iPart) |
protected PTFPartition |
TableFunctionEvaluator.transformRawInput(PTFPartition iPart) |
| Modifier and Type | Method and Description |
|---|---|
protected PTFPartition |
TableFunctionEvaluator._transformRawInput(PTFPartition iPart) |
protected PTFPartition |
NoopWithMap._transformRawInput(PTFPartition iPart) |
abstract int |
ValueBoundaryScanner.computeEnd(int rowIdx,
PTFPartition p) |
abstract int |
ValueBoundaryScanner.computeStart(int rowIdx,
PTFPartition p) |
protected Object |
ValueBoundaryScanner.computeValueUseCache(int r,
PTFPartition p)
Uses cache to lookup row value.
|
void |
MatchPath.execute(PTFPartition.PTFPartitionIterator<Object> pItr,
PTFPartition outP) |
void |
WindowingTableFunction.execute(PTFPartition.PTFPartitionIterator<Object> pItr,
PTFPartition outP) |
protected void |
Noop.execute(PTFPartition.PTFPartitionIterator<Object> pItr,
PTFPartition oPart) |
protected abstract void |
TableFunctionEvaluator.execute(PTFPartition.PTFPartitionIterator<Object> pItr,
PTFPartition oPart) |
PTFPartition |
Noop.execute(PTFPartition iPart) |
PTFPartition |
TableFunctionEvaluator.execute(PTFPartition iPart) |
static Range |
PTFRangeUtil.getRange(WindowFrameDef winFrame,
int currRow,
PTFPartition p,
boolean nullsLast) |
void |
ValueBoundaryScanner.handleCache(int rowIdx,
PTFPartition p)
Checks and maintains cache content - optimizes cache window to always be around current row
thereby makes it follow the current progress.
|
protected Range |
BasePartitionEvaluator.newRange(int end,
int end2,
PTFPartition partition)
When there are no parameters specified, partition iterator can be made faster;
In such cases, it need not materialize the ROW from RowContainer.
|
protected org.apache.commons.lang3.tuple.Pair<Integer,Object> |
ValueBoundaryScanner.skipOrStepBack(int r,
PTFPartition p)
Uses cache content to jump backwards if possible.
|
protected org.apache.commons.lang3.tuple.Pair<Integer,Object> |
ValueBoundaryScanner.skipOrStepForward(int r,
PTFPartition p)
Uses cache content to jump forward if possible.
|
protected PTFPartition |
TableFunctionEvaluator.transformRawInput(PTFPartition iPart) |
Copyright © 2022 The Apache Software Foundation. All rights reserved.