Class HiveParserQBExpr


  • public class HiveParserQBExpr
    extends Object
    Counterpart of hive's org.apache.hadoop.hive.ql.parse.QBExpr.
    • Constructor Detail

      • HiveParserQBExpr

        public HiveParserQBExpr​(String alias)
    • Method Detail

      • getAlias

        public String getAlias()
      • setAlias

        public void setAlias​(String alias)
      • 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