org.apache.hadoop.hive.ql.parse
Class TypeCheckCtx
java.lang.Object
org.apache.hadoop.hive.ql.parse.TypeCheckCtx
- All Implemented Interfaces:
- NodeProcessorCtx
public class TypeCheckCtx
- extends Object
- implements NodeProcessorCtx
This class implements the context information that is used for typechecking
phase in query compilation.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TypeCheckCtx
public TypeCheckCtx(RowResolver inputRR)
- Constructor.
- Parameters:
inputRR
- The input row resolver of the previous operator.
setInputRR
public void setInputRR(RowResolver inputRR)
- Parameters:
inputRR
- the inputRR to set
getInputRR
public RowResolver getInputRR()
- Returns:
- the inputRR
setUnparseTranslator
public void setUnparseTranslator(org.apache.hadoop.hive.ql.parse.UnparseTranslator unparseTranslator)
- Parameters:
unparseTranslator
- the unparseTranslator to set
getUnparseTranslator
public org.apache.hadoop.hive.ql.parse.UnparseTranslator getUnparseTranslator()
- Returns:
- the unparseTranslator
setError
public void setError(String error,
ASTNode errorSrcNode)
- Parameters:
error
- the error to set
getError
public String getError()
- Returns:
- the error
getErrorSrcNode
public ASTNode getErrorSrcNode()
Copyright © 2010 The Apache Software Foundation