public class TypeCheckCtx extends Object implements NodeProcessorCtx
Modifier and Type | Field and Description |
---|---|
protected static org.apache.commons.logging.Log |
LOG |
Constructor and Description |
---|
TypeCheckCtx(RowResolver inputRR)
Constructor.
|
TypeCheckCtx(RowResolver inputRR,
boolean allowStatefulFunctions,
boolean allowDistinctFunctions,
boolean allowGBExprElimination,
boolean allowAllColRef,
boolean allowFunctionStar,
boolean allowWindowing,
boolean allowIndexExpr,
boolean allowSubQueryExpr) |
Modifier and Type | Method and Description |
---|---|
boolean |
getallowAllColRef() |
boolean |
getAllowDistinctFunctions() |
boolean |
getallowFunctionStar() |
boolean |
getAllowGBExprElimination() |
boolean |
getallowIndexExpr() |
boolean |
getAllowStatefulFunctions() |
boolean |
getallowSubQueryExpr() |
boolean |
getallowWindowing() |
String |
getError() |
ASTNode |
getErrorSrcNode() |
RowResolver |
getInputRR() |
UnparseTranslator |
getUnparseTranslator() |
void |
setAllowDistinctFunctions(boolean allowDistinctFunctions) |
void |
setAllowStatefulFunctions(boolean allowStatefulFunctions) |
void |
setError(String error,
ASTNode errorSrcNode) |
void |
setInputRR(RowResolver inputRR) |
void |
setUnparseTranslator(UnparseTranslator unparseTranslator) |
public TypeCheckCtx(RowResolver inputRR)
inputRR
- The input row resolver of the previous operator.public TypeCheckCtx(RowResolver inputRR, boolean allowStatefulFunctions, boolean allowDistinctFunctions, boolean allowGBExprElimination, boolean allowAllColRef, boolean allowFunctionStar, boolean allowWindowing, boolean allowIndexExpr, boolean allowSubQueryExpr)
public void setInputRR(RowResolver inputRR)
inputRR
- the inputRR to setpublic RowResolver getInputRR()
public void setUnparseTranslator(UnparseTranslator unparseTranslator)
unparseTranslator
- the unparseTranslator to setpublic UnparseTranslator getUnparseTranslator()
public void setAllowStatefulFunctions(boolean allowStatefulFunctions)
allowStatefulFunctions
- whether to allow stateful UDF invocationspublic boolean getAllowStatefulFunctions()
public void setError(String error, ASTNode errorSrcNode)
error
- the error to setpublic String getError()
public ASTNode getErrorSrcNode()
public void setAllowDistinctFunctions(boolean allowDistinctFunctions)
public boolean getAllowDistinctFunctions()
public boolean getAllowGBExprElimination()
public boolean getallowAllColRef()
public boolean getallowFunctionStar()
public boolean getallowWindowing()
public boolean getallowIndexExpr()
public boolean getallowSubQueryExpr()
Copyright © 2017 The Apache Software Foundation. All rights reserved.