public static class WindowingTableFunction.WindowingTableFunctionResolver extends TableFunctionResolver
Constructor and Description |
---|
WindowingTableFunction.WindowingTableFunctionResolver() |
Modifier and Type | Method and Description |
---|---|
boolean |
carryForwardNames() |
protected TableFunctionEvaluator |
createEvaluator(PTFDesc ptfDesc,
PartitionedTableFunctionDef tDef) |
ArrayList<String> |
getOutputColumnNames() |
StructObjectInspector |
getWdwProcessingOutputOI() |
void |
initializeOutputOI()
This method is invoked during runtime(during deserialization of theQueryDef).
|
void |
setupOutputOI() |
void |
setWdwProcessingOutputOI(StructObjectInspector wdwProcessingOutputOI) |
boolean |
transformsRawInput() |
getEvaluator, getPtfDesc, getRawInputColumnNames, getReferencedColumns, initialize, initialize, initializeRawInputOI, setOutputOI, setRawInputOI, setupRawInputOI
public WindowingTableFunction.WindowingTableFunctionResolver()
public StructObjectInspector getWdwProcessingOutputOI()
public void setWdwProcessingOutputOI(StructObjectInspector wdwProcessingOutputOI)
protected TableFunctionEvaluator createEvaluator(PTFDesc ptfDesc, PartitionedTableFunctionDef tDef)
createEvaluator
in class TableFunctionResolver
public void setupOutputOI() throws SemanticException
setupOutputOI
in class TableFunctionResolver
SemanticException
public void initializeOutputOI() throws HiveException
TableFunctionResolver
Expression Nodes
exist for all the Def (ArgDef, ColumnDef, WindowDef..). It is the responsibility of
the TableFunction to construct the evaluators
and setup the OI.initializeOutputOI
in class TableFunctionResolver
HiveException
public boolean transformsRawInput()
transformsRawInput
in class TableFunctionResolver
public boolean carryForwardNames()
carryForwardNames
in class TableFunctionResolver
public ArrayList<String> getOutputColumnNames()
getOutputColumnNames
in class TableFunctionResolver
Copyright © 2017 The Apache Software Foundation. All rights reserved.