org.apache.hadoop.hive.ql.udf.ptf
Class Noop.NoopResolver

java.lang.Object
  extended by org.apache.hadoop.hive.ql.udf.ptf.TableFunctionResolver
      extended by org.apache.hadoop.hive.ql.udf.ptf.Noop.NoopResolver
Enclosing class:
Noop

public static class Noop.NoopResolver
extends TableFunctionResolver


Constructor Summary
Noop.NoopResolver()
           
 
Method Summary
 boolean carryForwardNames()
           
protected  TableFunctionEvaluator createEvaluator(PTFDesc ptfDesc, PTFDesc.PartitionedTableFunctionDef tDef)
           
 ArrayList<String> getOutputColumnNames()
           
 void initializeOutputOI()
          This method is invoked during runtime(during deserialization of theQueryDef).
 void setupOutputOI()
           
 boolean transformsRawInput()
           
 
Methods inherited from class org.apache.hadoop.hive.ql.udf.ptf.TableFunctionResolver
getEvaluator, getPtfDesc, getRawInputColumnNames, initialize, initialize, initializeRawInputOI, setOutputOI, setRawInputOI, setupRawInputOI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Noop.NoopResolver

public Noop.NoopResolver()
Method Detail

createEvaluator

protected TableFunctionEvaluator createEvaluator(PTFDesc ptfDesc,
                                                 PTFDesc.PartitionedTableFunctionDef tDef)
Specified by:
createEvaluator in class TableFunctionResolver

setupOutputOI

public void setupOutputOI()
                   throws SemanticException
Specified by:
setupOutputOI in class TableFunctionResolver
Throws:
SemanticException

carryForwardNames

public boolean carryForwardNames()
Overrides:
carryForwardNames in class TableFunctionResolver

getOutputColumnNames

public ArrayList<String> getOutputColumnNames()
Specified by:
getOutputColumnNames in class TableFunctionResolver

transformsRawInput

public boolean transformsRawInput()
Specified by:
transformsRawInput in class TableFunctionResolver

initializeOutputOI

public void initializeOutputOI()
                        throws HiveException
Description copied from class: TableFunctionResolver
This method is invoked during runtime(during deserialization of theQueryDef). At this point the TableFunction can assume that the 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.

Specified by:
initializeOutputOI in class TableFunctionResolver
Throws:
HiveException


Copyright © 2012 The Apache Software Foundation