public class ExprNodeTypeCheck extends Object
| Modifier and Type | Method and Description |
|---|---|
static ExprNodeDesc |
genConstraintsExpr(HiveConf conf,
Table targetTable,
boolean updateStatement,
RowResolver inputRR) |
static Map<ASTNode,ExprNodeDesc> |
genExprNode(ASTNode expr,
TypeCheckCtx tcCtx)
Given an AST expression and a context, it will produce a map from AST nodes
to Hive ExprNode.
|
static Map<ASTNode,ExprNodeDesc> |
genExprNodeJoinCond(ASTNode expr,
TypeCheckCtx tcCtx)
Given an AST join expression and a context, it will produce a map from AST nodes
to Hive ExprNode.
|
static TypeCheckProcFactory.DefaultExprProcessor |
getExprNodeDefaultExprProcessor()
Returns the default processor to generate Hive ExprNode from AST nodes.
|
static ExprNodeDesc |
toExprNode(ColumnInfo columnInfo,
RowResolver rowResolver)
Transforms column information into the corresponding Hive ExprNode.
|
public static Map<ASTNode,ExprNodeDesc> genExprNode(ASTNode expr, TypeCheckCtx tcCtx) throws SemanticException
SemanticExceptionpublic static Map<ASTNode,ExprNodeDesc> genExprNodeJoinCond(ASTNode expr, TypeCheckCtx tcCtx) throws SemanticException
SemanticExceptionpublic static TypeCheckProcFactory.DefaultExprProcessor getExprNodeDefaultExprProcessor()
public static ExprNodeDesc toExprNode(ColumnInfo columnInfo, RowResolver rowResolver) throws SemanticException
SemanticExceptionpublic static ExprNodeDesc genConstraintsExpr(HiveConf conf, Table targetTable, boolean updateStatement, RowResolver inputRR) throws SemanticException
SemanticExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.