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()
           
 List<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, setupRawInputOI
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Noop.NoopResolver

public Noop.NoopResolver()
Method Detail

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 List<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 © 2014 The Apache Software Foundation. All rights reserved.