Class HiveParserQBExpr
- java.lang.Object
-
- org.apache.flink.table.planner.delegation.hive.copy.HiveParserQBExpr
-
public class HiveParserQBExpr extends Object
Counterpart of hive's org.apache.hadoop.hive.ql.parse.QBExpr.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
HiveParserQBExpr.Opcode
Opcode.
-
Constructor Summary
Constructors Constructor Description HiveParserQBExpr(String alias)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
containsQueryWithoutSourceTable()
returns true, if the query block contains any query, or subquery without a source table.String
getAlias()
HiveParserQBExpr.Opcode
getOpcode()
HiveParserQB
getQB()
HiveParserQBExpr
getQBExpr1()
HiveParserQBExpr
getQBExpr2()
boolean
isSimpleSelectQuery()
void
print(String msg)
void
setAlias(String alias)
void
setOpcode(HiveParserQBExpr.Opcode opcode)
void
setQB(HiveParserQB qb)
void
setQBExpr1(HiveParserQBExpr qbexpr)
void
setQBExpr2(HiveParserQBExpr qbexpr)
-
-
-
Constructor Detail
-
HiveParserQBExpr
public HiveParserQBExpr(String alias)
-
-
Method Detail
-
getAlias
public String getAlias()
-
setAlias
public void setAlias(String alias)
-
setQB
public void setQB(HiveParserQB qb)
-
setOpcode
public void setOpcode(HiveParserQBExpr.Opcode opcode)
-
setQBExpr1
public void setQBExpr1(HiveParserQBExpr qbexpr)
-
setQBExpr2
public void setQBExpr2(HiveParserQBExpr qbexpr)
-
getQB
public HiveParserQB getQB()
-
getOpcode
public HiveParserQBExpr.Opcode getOpcode()
-
getQBExpr1
public HiveParserQBExpr getQBExpr1()
-
getQBExpr2
public HiveParserQBExpr getQBExpr2()
-
print
public void print(String msg)
-
isSimpleSelectQuery
public boolean isSimpleSelectQuery()
-
containsQueryWithoutSourceTable
public boolean containsQueryWithoutSourceTable()
returns true, if the query block contains any query, or subquery without a source table. Like select current_user(), select current_database()- Returns:
- true, if the query block contains any query without a source table
-
-