diff --git a/src/grammar/hive/HiveSqlParser.g4 b/src/grammar/hive/HiveSql.g4 similarity index 99% rename from src/grammar/hive/HiveSqlParser.g4 rename to src/grammar/hive/HiveSql.g4 index 6e761b8..d01dfc4 100644 --- a/src/grammar/hive/HiveSqlParser.g4 +++ b/src/grammar/hive/HiveSql.g4 @@ -15,7 +15,7 @@ limitations under the License. */ -parser grammar HiveSqlParser; +parser grammar HiveSql; options { tokenVocab=HiveSqlLexer; diff --git a/src/lib/hive/HiveSqlParser.interp b/src/lib/hive/HiveSql.interp similarity index 100% rename from src/lib/hive/HiveSqlParser.interp rename to src/lib/hive/HiveSql.interp diff --git a/src/lib/hive/HiveSqlParser.js b/src/lib/hive/HiveSql.js similarity index 65% rename from src/lib/hive/HiveSqlParser.js rename to src/lib/hive/HiveSql.js index e9606c5..46a0095 100644 --- a/src/lib/hive/HiveSqlParser.js +++ b/src/lib/hive/HiveSql.js @@ -1,10 +1,10 @@ -// Generated from /Users/libowen/Desktop/Code/gitlab.prod.dtstack.cn/dt-insight-front/infrastructure/dt-sql-parser/src/grammar/hive/HiveSqlParser.g4 by ANTLR 4.8 +// Generated from /Users/libowen/Desktop/Code/gitlab.prod.dtstack.cn/dt-insight-front/infrastructure/dt-sql-parser/src/grammar/hive/HiveSql.g4 by ANTLR 4.8 // jshint ignore: start var antlr4 = require('antlr4/index'); -var HiveSqlParserListener = require('./HiveSqlParserListener').HiveSqlParserListener; -var HiveSqlParserVisitor = require('./HiveSqlParserVisitor').HiveSqlParserVisitor; +var HiveSqlListener = require('./HiveSqlListener').HiveSqlListener; +var HiveSqlVisitor = require('./HiveSqlVisitor').HiveSqlVisitor; -var grammarFileName = "HiveSqlParser.g4"; +var grammarFileName = "HiveSql.g4"; var serializedATN = ["\u0003\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964", @@ -2630,7 +2630,7 @@ var ruleNames = [ "program", "block", "begin_end_block", "single_block_stmt", "string", "int_number", "dec_number", "bool_literal", "null_const", "non_reserved_words" ]; -function HiveSqlParser (input) { +function HiveSql (input) { antlr4.Parser.call(this, input); this._interp = new antlr4.atn.ParserATNSimulator(this, atn, decisionsToDFA, sharedContextCache); this.ruleNames = ruleNames; @@ -2642,619 +2642,619 @@ function HiveSqlParser (input) { return this; } -HiveSqlParser.prototype = Object.create(antlr4.Parser.prototype); -HiveSqlParser.prototype.constructor = HiveSqlParser; +HiveSql.prototype = Object.create(antlr4.Parser.prototype); +HiveSql.prototype.constructor = HiveSql; -Object.defineProperty(HiveSqlParser.prototype, "atn", { +Object.defineProperty(HiveSql.prototype, "atn", { get : function() { return atn; } }); -HiveSqlParser.EOF = antlr4.Token.EOF; -HiveSqlParser.T_ACTION = 1; -HiveSqlParser.T_ADD2 = 2; -HiveSqlParser.T_ALL = 3; -HiveSqlParser.T_ALLOCATE = 4; -HiveSqlParser.T_ALTER = 5; -HiveSqlParser.T_AND = 6; -HiveSqlParser.T_ANSI_NULLS = 7; -HiveSqlParser.T_ANSI_PADDING = 8; -HiveSqlParser.T_AS = 9; -HiveSqlParser.T_ASC = 10; -HiveSqlParser.T_ASSOCIATE = 11; -HiveSqlParser.T_AT = 12; -HiveSqlParser.T_AUTO_INCREMENT = 13; -HiveSqlParser.T_AVG = 14; -HiveSqlParser.T_BATCHSIZE = 15; -HiveSqlParser.T_BEGIN = 16; -HiveSqlParser.T_BETWEEN = 17; -HiveSqlParser.T_BIGINT = 18; -HiveSqlParser.T_BINARY_DOUBLE = 19; -HiveSqlParser.T_BINARY_FLOAT = 20; -HiveSqlParser.T_BINARY_INTEGER = 21; -HiveSqlParser.T_BIT = 22; -HiveSqlParser.T_BODY = 23; -HiveSqlParser.T_BREAK = 24; -HiveSqlParser.T_BY = 25; -HiveSqlParser.T_BYTE = 26; -HiveSqlParser.T_CALL = 27; -HiveSqlParser.T_CALLER = 28; -HiveSqlParser.T_CASCADE = 29; -HiveSqlParser.T_CASE = 30; -HiveSqlParser.T_CASESPECIFIC = 31; -HiveSqlParser.T_CAST = 32; -HiveSqlParser.T_CHAR = 33; -HiveSqlParser.T_CHARACTER = 34; -HiveSqlParser.T_CHARSET = 35; -HiveSqlParser.T_CLIENT = 36; -HiveSqlParser.T_CLOSE = 37; -HiveSqlParser.T_CLUSTERED = 38; -HiveSqlParser.T_CMP = 39; -HiveSqlParser.T_COLLECT = 40; -HiveSqlParser.T_COLLECTION = 41; -HiveSqlParser.T_COLUMN = 42; -HiveSqlParser.T_COMMENT = 43; -HiveSqlParser.T_CONSTANT = 44; -HiveSqlParser.T_COMMIT = 45; -HiveSqlParser.T_COMPRESS = 46; -HiveSqlParser.T_CONCAT = 47; -HiveSqlParser.T_CONDITION = 48; -HiveSqlParser.T_CONSTRAINT = 49; -HiveSqlParser.T_CONTINUE = 50; -HiveSqlParser.T_COPY = 51; -HiveSqlParser.T_COUNT = 52; -HiveSqlParser.T_COUNT_BIG = 53; -HiveSqlParser.T_CREATE = 54; -HiveSqlParser.T_CREATION = 55; -HiveSqlParser.T_CREATOR = 56; -HiveSqlParser.T_CS = 57; -HiveSqlParser.T_CURRENT = 58; -HiveSqlParser.T_CURRENT_SCHEMA = 59; -HiveSqlParser.T_CURSOR = 60; -HiveSqlParser.T_DATABASE = 61; -HiveSqlParser.T_DATA = 62; -HiveSqlParser.T_DATE = 63; -HiveSqlParser.T_DATETIME = 64; -HiveSqlParser.T_DAY = 65; -HiveSqlParser.T_DAYS = 66; -HiveSqlParser.T_DEC = 67; -HiveSqlParser.T_DECIMAL = 68; -HiveSqlParser.T_DECLARE = 69; -HiveSqlParser.T_DEFAULT = 70; -HiveSqlParser.T_DEFERRED = 71; -HiveSqlParser.T_DEFINED = 72; -HiveSqlParser.T_DEFINER = 73; -HiveSqlParser.T_DEFINITION = 74; -HiveSqlParser.T_DELETE = 75; -HiveSqlParser.T_DELIMITED = 76; -HiveSqlParser.T_DELIMITER = 77; -HiveSqlParser.T_DESC = 78; -HiveSqlParser.T_DESCRIBE = 79; -HiveSqlParser.T_DIAGNOSTICS = 80; -HiveSqlParser.T_DIR = 81; -HiveSqlParser.T_DIRECTORY = 82; -HiveSqlParser.T_DISTINCT = 83; -HiveSqlParser.T_DISTRIBUTE = 84; -HiveSqlParser.T_DO = 85; -HiveSqlParser.T_DOUBLE = 86; -HiveSqlParser.T_DROP = 87; -HiveSqlParser.T_DYNAMIC = 88; -HiveSqlParser.T_ELSE = 89; -HiveSqlParser.T_ELSEIF = 90; -HiveSqlParser.T_ELSIF = 91; -HiveSqlParser.T_ENABLE = 92; -HiveSqlParser.T_END = 93; -HiveSqlParser.T_ENGINE = 94; -HiveSqlParser.T_ESCAPED = 95; -HiveSqlParser.T_EXCEPT = 96; -HiveSqlParser.T_EXEC = 97; -HiveSqlParser.T_EXECUTE = 98; -HiveSqlParser.T_EXCEPTION = 99; -HiveSqlParser.T_EXCLUSIVE = 100; -HiveSqlParser.T_EXISTS = 101; -HiveSqlParser.T_EXIT = 102; -HiveSqlParser.T_FALLBACK = 103; -HiveSqlParser.T_FALSE = 104; -HiveSqlParser.T_FETCH = 105; -HiveSqlParser.T_FIELDS = 106; -HiveSqlParser.T_FILE = 107; -HiveSqlParser.T_FILES = 108; -HiveSqlParser.T_FLOAT = 109; -HiveSqlParser.T_FOR = 110; -HiveSqlParser.T_FOREIGN = 111; -HiveSqlParser.T_FORMAT = 112; -HiveSqlParser.T_FOUND = 113; -HiveSqlParser.T_FROM = 114; -HiveSqlParser.T_FULL = 115; -HiveSqlParser.T_FUNCTION = 116; -HiveSqlParser.T_GET = 117; -HiveSqlParser.T_GLOBAL = 118; -HiveSqlParser.T_GO = 119; -HiveSqlParser.T_GRANT = 120; -HiveSqlParser.T_GROUP = 121; -HiveSqlParser.T_HANDLER = 122; -HiveSqlParser.T_HASH = 123; -HiveSqlParser.T_HAVING = 124; -HiveSqlParser.T_HDFS = 125; -HiveSqlParser.T_HIVE = 126; -HiveSqlParser.T_HOST = 127; -HiveSqlParser.T_IDENTITY = 128; -HiveSqlParser.T_IF = 129; -HiveSqlParser.T_IGNORE = 130; -HiveSqlParser.T_IMMEDIATE = 131; -HiveSqlParser.T_IN = 132; -HiveSqlParser.T_INCLUDE = 133; -HiveSqlParser.T_INDEX = 134; -HiveSqlParser.T_INITRANS = 135; -HiveSqlParser.T_INNER = 136; -HiveSqlParser.T_INOUT = 137; -HiveSqlParser.T_INSERT = 138; -HiveSqlParser.T_INT = 139; -HiveSqlParser.T_INT2 = 140; -HiveSqlParser.T_INT4 = 141; -HiveSqlParser.T_INT8 = 142; -HiveSqlParser.T_INTEGER = 143; -HiveSqlParser.T_INTERSECT = 144; -HiveSqlParser.T_INTERVAL = 145; -HiveSqlParser.T_INTO = 146; -HiveSqlParser.T_INVOKER = 147; -HiveSqlParser.T_IS = 148; -HiveSqlParser.T_ISOPEN = 149; -HiveSqlParser.T_ITEMS = 150; -HiveSqlParser.T_JOIN = 151; -HiveSqlParser.T_KEEP = 152; -HiveSqlParser.T_KEY = 153; -HiveSqlParser.T_KEYS = 154; -HiveSqlParser.T_LANGUAGE = 155; -HiveSqlParser.T_LEAVE = 156; -HiveSqlParser.T_LEFT = 157; -HiveSqlParser.T_LIKE = 158; -HiveSqlParser.T_LIMIT = 159; -HiveSqlParser.T_LINES = 160; -HiveSqlParser.T_LOCAL = 161; -HiveSqlParser.T_LOCATION = 162; -HiveSqlParser.T_LOCATOR = 163; -HiveSqlParser.T_LOCATORS = 164; -HiveSqlParser.T_LOCKS = 165; -HiveSqlParser.T_LOG = 166; -HiveSqlParser.T_LOGGED = 167; -HiveSqlParser.T_LOGGING = 168; -HiveSqlParser.T_LOOP = 169; -HiveSqlParser.T_MAP = 170; -HiveSqlParser.T_MATCHED = 171; -HiveSqlParser.T_MAX = 172; -HiveSqlParser.T_MAXTRANS = 173; -HiveSqlParser.T_MERGE = 174; -HiveSqlParser.T_MESSAGE_TEXT = 175; -HiveSqlParser.T_MICROSECOND = 176; -HiveSqlParser.T_MICROSECONDS = 177; -HiveSqlParser.T_MIN = 178; -HiveSqlParser.T_MULTISET = 179; -HiveSqlParser.T_NCHAR = 180; -HiveSqlParser.T_NEW = 181; -HiveSqlParser.T_NVARCHAR = 182; -HiveSqlParser.T_NO = 183; -HiveSqlParser.T_NOCOUNT = 184; -HiveSqlParser.T_NOCOMPRESS = 185; -HiveSqlParser.T_NOLOGGING = 186; -HiveSqlParser.T_NONE = 187; -HiveSqlParser.T_NOT = 188; -HiveSqlParser.T_NOTFOUND = 189; -HiveSqlParser.T_NULL = 190; -HiveSqlParser.T_NUMERIC = 191; -HiveSqlParser.T_NUMBER = 192; -HiveSqlParser.T_OBJECT = 193; -HiveSqlParser.T_OFF = 194; -HiveSqlParser.T_ON = 195; -HiveSqlParser.T_ONLY = 196; -HiveSqlParser.T_OPEN = 197; -HiveSqlParser.T_OR = 198; -HiveSqlParser.T_ORDER = 199; -HiveSqlParser.T_OUT = 200; -HiveSqlParser.T_OUTER = 201; -HiveSqlParser.T_OVER = 202; -HiveSqlParser.T_OVERWRITE = 203; -HiveSqlParser.T_OWNER = 204; -HiveSqlParser.T_PACKAGE = 205; -HiveSqlParser.T_PARTITION = 206; -HiveSqlParser.T_PCTFREE = 207; -HiveSqlParser.T_PCTUSED = 208; -HiveSqlParser.T_PLS_INTEGER = 209; -HiveSqlParser.T_PRECISION = 210; -HiveSqlParser.T_PRESERVE = 211; -HiveSqlParser.T_PRIMARY = 212; -HiveSqlParser.T_PRINT = 213; -HiveSqlParser.T_PROC = 214; -HiveSqlParser.T_PROCEDURE = 215; -HiveSqlParser.T_QUALIFY = 216; -HiveSqlParser.T_QUERY_BAND = 217; -HiveSqlParser.T_QUIT = 218; -HiveSqlParser.T_QUOTED_IDENTIFIER = 219; -HiveSqlParser.T_RAISE = 220; -HiveSqlParser.T_REAL = 221; -HiveSqlParser.T_REFERENCES = 222; -HiveSqlParser.T_REGEXP = 223; -HiveSqlParser.T_REPLACE = 224; -HiveSqlParser.T_RESIGNAL = 225; -HiveSqlParser.T_RESTRICT = 226; -HiveSqlParser.T_RESULT = 227; -HiveSqlParser.T_RESULT_SET_LOCATOR = 228; -HiveSqlParser.T_RETURN = 229; -HiveSqlParser.T_RETURNS = 230; -HiveSqlParser.T_REVERSE = 231; -HiveSqlParser.T_RIGHT = 232; -HiveSqlParser.T_RLIKE = 233; -HiveSqlParser.T_ROLE = 234; -HiveSqlParser.T_ROLLBACK = 235; -HiveSqlParser.T_ROW = 236; -HiveSqlParser.T_ROWS = 237; -HiveSqlParser.T_ROWTYPE = 238; -HiveSqlParser.T_ROW_COUNT = 239; -HiveSqlParser.T_RR = 240; -HiveSqlParser.T_RS = 241; -HiveSqlParser.T_PWD = 242; -HiveSqlParser.T_TRIM = 243; -HiveSqlParser.T_SCHEMA = 244; -HiveSqlParser.T_SECOND = 245; -HiveSqlParser.T_SECONDS = 246; -HiveSqlParser.T_SECURITY = 247; -HiveSqlParser.T_SEGMENT = 248; -HiveSqlParser.T_SEL = 249; -HiveSqlParser.T_SELECT = 250; -HiveSqlParser.T_SET = 251; -HiveSqlParser.T_SESSION = 252; -HiveSqlParser.T_SESSIONS = 253; -HiveSqlParser.T_SETS = 254; -HiveSqlParser.T_SHARE = 255; -HiveSqlParser.T_SIGNAL = 256; -HiveSqlParser.T_SIMPLE_DOUBLE = 257; -HiveSqlParser.T_SIMPLE_FLOAT = 258; -HiveSqlParser.T_SIMPLE_INTEGER = 259; -HiveSqlParser.T_SMALLDATETIME = 260; -HiveSqlParser.T_SMALLINT = 261; -HiveSqlParser.T_SQL = 262; -HiveSqlParser.T_SQLEXCEPTION = 263; -HiveSqlParser.T_SQLINSERT = 264; -HiveSqlParser.T_SQLSTATE = 265; -HiveSqlParser.T_SQLWARNING = 266; -HiveSqlParser.T_STATS = 267; -HiveSqlParser.T_STATISTICS = 268; -HiveSqlParser.T_STEP = 269; -HiveSqlParser.T_STORAGE = 270; -HiveSqlParser.T_STORED = 271; -HiveSqlParser.T_STRING = 272; -HiveSqlParser.T_SUBDIR = 273; -HiveSqlParser.T_SUBSTRING = 274; -HiveSqlParser.T_SUM = 275; -HiveSqlParser.T_SUMMARY = 276; -HiveSqlParser.T_SYS_REFCURSOR = 277; -HiveSqlParser.T_TABLE = 278; -HiveSqlParser.T_TABLESPACE = 279; -HiveSqlParser.T_TEMPORARY = 280; -HiveSqlParser.T_TERMINATED = 281; -HiveSqlParser.T_TEXTIMAGE_ON = 282; -HiveSqlParser.T_THEN = 283; -HiveSqlParser.T_TIMESTAMP = 284; -HiveSqlParser.T_TINYINT = 285; -HiveSqlParser.T_TITLE = 286; -HiveSqlParser.T_TO = 287; -HiveSqlParser.T_TOP = 288; -HiveSqlParser.T_TRANSACTION = 289; -HiveSqlParser.T_TRUE = 290; -HiveSqlParser.T_TRUNCATE = 291; -HiveSqlParser.T_TYPE = 292; -HiveSqlParser.T_UNION = 293; -HiveSqlParser.T_UNIQUE = 294; -HiveSqlParser.T_UPDATE = 295; -HiveSqlParser.T_UR = 296; -HiveSqlParser.T_USE = 297; -HiveSqlParser.T_USING = 298; -HiveSqlParser.T_VALUE = 299; -HiveSqlParser.T_VALUES = 300; -HiveSqlParser.T_VAR = 301; -HiveSqlParser.T_VARCHAR = 302; -HiveSqlParser.T_VARCHAR2 = 303; -HiveSqlParser.T_VARYING = 304; -HiveSqlParser.T_VOLATILE = 305; -HiveSqlParser.T_WHEN = 306; -HiveSqlParser.T_WHERE = 307; -HiveSqlParser.T_WHILE = 308; -HiveSqlParser.T_WITH = 309; -HiveSqlParser.T_WITHOUT = 310; -HiveSqlParser.T_WORK = 311; -HiveSqlParser.T_XACT_ABORT = 312; -HiveSqlParser.T_XML = 313; -HiveSqlParser.T_YES = 314; -HiveSqlParser.T_ACTIVITY_COUNT = 315; -HiveSqlParser.T_CUME_DIST = 316; -HiveSqlParser.T_CURRENT_DATE = 317; -HiveSqlParser.T_CURRENT_TIMESTAMP = 318; -HiveSqlParser.T_CURRENT_USER = 319; -HiveSqlParser.T_DENSE_RANK = 320; -HiveSqlParser.T_FIRST_VALUE = 321; -HiveSqlParser.T_LAG = 322; -HiveSqlParser.T_LAST_VALUE = 323; -HiveSqlParser.T_LEAD = 324; -HiveSqlParser.T_MAX_PART_STRING = 325; -HiveSqlParser.T_MIN_PART_STRING = 326; -HiveSqlParser.T_MAX_PART_INT = 327; -HiveSqlParser.T_MIN_PART_INT = 328; -HiveSqlParser.T_MAX_PART_DATE = 329; -HiveSqlParser.T_MIN_PART_DATE = 330; -HiveSqlParser.T_PART_COUNT = 331; -HiveSqlParser.T_PART_LOC = 332; -HiveSqlParser.T_RANK = 333; -HiveSqlParser.T_ROW_NUMBER = 334; -HiveSqlParser.T_STDEV = 335; -HiveSqlParser.T_SYSDATE = 336; -HiveSqlParser.T_VARIANCE = 337; -HiveSqlParser.T_USER = 338; -HiveSqlParser.T_ADD = 339; -HiveSqlParser.T_COLON = 340; -HiveSqlParser.T_COMMA = 341; -HiveSqlParser.T_PIPE = 342; -HiveSqlParser.T_DIV = 343; -HiveSqlParser.T_DOT = 344; -HiveSqlParser.T_DOT2 = 345; -HiveSqlParser.T_EQUAL = 346; -HiveSqlParser.T_EQUAL2 = 347; -HiveSqlParser.T_SHARP = 348; -HiveSqlParser.T_NOTE = 349; -HiveSqlParser.T_NOTEQUAL = 350; -HiveSqlParser.T_NOTEQUAL2 = 351; -HiveSqlParser.T_GREATER = 352; -HiveSqlParser.T_GREATEREQUAL = 353; -HiveSqlParser.T_LESS = 354; -HiveSqlParser.T_LESSEQUAL = 355; -HiveSqlParser.T_MUL = 356; -HiveSqlParser.T_PRECENT = 357; -HiveSqlParser.T_CALLS = 358; -HiveSqlParser.T_OPEN_B = 359; -HiveSqlParser.T_OPEN_P = 360; -HiveSqlParser.T_OPEN_SB = 361; -HiveSqlParser.T_CLOSE_B = 362; -HiveSqlParser.T_CLOSE_P = 363; -HiveSqlParser.T_CLOSE_SB = 364; -HiveSqlParser.T_SEMICOLON = 365; -HiveSqlParser.T_SUB = 366; -HiveSqlParser.L_ID = 367; -HiveSqlParser.L_S_STRING = 368; -HiveSqlParser.L_D_STRING = 369; -HiveSqlParser.L_INT = 370; -HiveSqlParser.L_DEC = 371; -HiveSqlParser.L_WS = 372; -HiveSqlParser.L_M_COMMENT = 373; -HiveSqlParser.L_S_COMMENT = 374; -HiveSqlParser.L_FILE = 375; -HiveSqlParser.L_LABEL = 376; +HiveSql.EOF = antlr4.Token.EOF; +HiveSql.T_ACTION = 1; +HiveSql.T_ADD2 = 2; +HiveSql.T_ALL = 3; +HiveSql.T_ALLOCATE = 4; +HiveSql.T_ALTER = 5; +HiveSql.T_AND = 6; +HiveSql.T_ANSI_NULLS = 7; +HiveSql.T_ANSI_PADDING = 8; +HiveSql.T_AS = 9; +HiveSql.T_ASC = 10; +HiveSql.T_ASSOCIATE = 11; +HiveSql.T_AT = 12; +HiveSql.T_AUTO_INCREMENT = 13; +HiveSql.T_AVG = 14; +HiveSql.T_BATCHSIZE = 15; +HiveSql.T_BEGIN = 16; +HiveSql.T_BETWEEN = 17; +HiveSql.T_BIGINT = 18; +HiveSql.T_BINARY_DOUBLE = 19; +HiveSql.T_BINARY_FLOAT = 20; +HiveSql.T_BINARY_INTEGER = 21; +HiveSql.T_BIT = 22; +HiveSql.T_BODY = 23; +HiveSql.T_BREAK = 24; +HiveSql.T_BY = 25; +HiveSql.T_BYTE = 26; +HiveSql.T_CALL = 27; +HiveSql.T_CALLER = 28; +HiveSql.T_CASCADE = 29; +HiveSql.T_CASE = 30; +HiveSql.T_CASESPECIFIC = 31; +HiveSql.T_CAST = 32; +HiveSql.T_CHAR = 33; +HiveSql.T_CHARACTER = 34; +HiveSql.T_CHARSET = 35; +HiveSql.T_CLIENT = 36; +HiveSql.T_CLOSE = 37; +HiveSql.T_CLUSTERED = 38; +HiveSql.T_CMP = 39; +HiveSql.T_COLLECT = 40; +HiveSql.T_COLLECTION = 41; +HiveSql.T_COLUMN = 42; +HiveSql.T_COMMENT = 43; +HiveSql.T_CONSTANT = 44; +HiveSql.T_COMMIT = 45; +HiveSql.T_COMPRESS = 46; +HiveSql.T_CONCAT = 47; +HiveSql.T_CONDITION = 48; +HiveSql.T_CONSTRAINT = 49; +HiveSql.T_CONTINUE = 50; +HiveSql.T_COPY = 51; +HiveSql.T_COUNT = 52; +HiveSql.T_COUNT_BIG = 53; +HiveSql.T_CREATE = 54; +HiveSql.T_CREATION = 55; +HiveSql.T_CREATOR = 56; +HiveSql.T_CS = 57; +HiveSql.T_CURRENT = 58; +HiveSql.T_CURRENT_SCHEMA = 59; +HiveSql.T_CURSOR = 60; +HiveSql.T_DATABASE = 61; +HiveSql.T_DATA = 62; +HiveSql.T_DATE = 63; +HiveSql.T_DATETIME = 64; +HiveSql.T_DAY = 65; +HiveSql.T_DAYS = 66; +HiveSql.T_DEC = 67; +HiveSql.T_DECIMAL = 68; +HiveSql.T_DECLARE = 69; +HiveSql.T_DEFAULT = 70; +HiveSql.T_DEFERRED = 71; +HiveSql.T_DEFINED = 72; +HiveSql.T_DEFINER = 73; +HiveSql.T_DEFINITION = 74; +HiveSql.T_DELETE = 75; +HiveSql.T_DELIMITED = 76; +HiveSql.T_DELIMITER = 77; +HiveSql.T_DESC = 78; +HiveSql.T_DESCRIBE = 79; +HiveSql.T_DIAGNOSTICS = 80; +HiveSql.T_DIR = 81; +HiveSql.T_DIRECTORY = 82; +HiveSql.T_DISTINCT = 83; +HiveSql.T_DISTRIBUTE = 84; +HiveSql.T_DO = 85; +HiveSql.T_DOUBLE = 86; +HiveSql.T_DROP = 87; +HiveSql.T_DYNAMIC = 88; +HiveSql.T_ELSE = 89; +HiveSql.T_ELSEIF = 90; +HiveSql.T_ELSIF = 91; +HiveSql.T_ENABLE = 92; +HiveSql.T_END = 93; +HiveSql.T_ENGINE = 94; +HiveSql.T_ESCAPED = 95; +HiveSql.T_EXCEPT = 96; +HiveSql.T_EXEC = 97; +HiveSql.T_EXECUTE = 98; +HiveSql.T_EXCEPTION = 99; +HiveSql.T_EXCLUSIVE = 100; +HiveSql.T_EXISTS = 101; +HiveSql.T_EXIT = 102; +HiveSql.T_FALLBACK = 103; +HiveSql.T_FALSE = 104; +HiveSql.T_FETCH = 105; +HiveSql.T_FIELDS = 106; +HiveSql.T_FILE = 107; +HiveSql.T_FILES = 108; +HiveSql.T_FLOAT = 109; +HiveSql.T_FOR = 110; +HiveSql.T_FOREIGN = 111; +HiveSql.T_FORMAT = 112; +HiveSql.T_FOUND = 113; +HiveSql.T_FROM = 114; +HiveSql.T_FULL = 115; +HiveSql.T_FUNCTION = 116; +HiveSql.T_GET = 117; +HiveSql.T_GLOBAL = 118; +HiveSql.T_GO = 119; +HiveSql.T_GRANT = 120; +HiveSql.T_GROUP = 121; +HiveSql.T_HANDLER = 122; +HiveSql.T_HASH = 123; +HiveSql.T_HAVING = 124; +HiveSql.T_HDFS = 125; +HiveSql.T_HIVE = 126; +HiveSql.T_HOST = 127; +HiveSql.T_IDENTITY = 128; +HiveSql.T_IF = 129; +HiveSql.T_IGNORE = 130; +HiveSql.T_IMMEDIATE = 131; +HiveSql.T_IN = 132; +HiveSql.T_INCLUDE = 133; +HiveSql.T_INDEX = 134; +HiveSql.T_INITRANS = 135; +HiveSql.T_INNER = 136; +HiveSql.T_INOUT = 137; +HiveSql.T_INSERT = 138; +HiveSql.T_INT = 139; +HiveSql.T_INT2 = 140; +HiveSql.T_INT4 = 141; +HiveSql.T_INT8 = 142; +HiveSql.T_INTEGER = 143; +HiveSql.T_INTERSECT = 144; +HiveSql.T_INTERVAL = 145; +HiveSql.T_INTO = 146; +HiveSql.T_INVOKER = 147; +HiveSql.T_IS = 148; +HiveSql.T_ISOPEN = 149; +HiveSql.T_ITEMS = 150; +HiveSql.T_JOIN = 151; +HiveSql.T_KEEP = 152; +HiveSql.T_KEY = 153; +HiveSql.T_KEYS = 154; +HiveSql.T_LANGUAGE = 155; +HiveSql.T_LEAVE = 156; +HiveSql.T_LEFT = 157; +HiveSql.T_LIKE = 158; +HiveSql.T_LIMIT = 159; +HiveSql.T_LINES = 160; +HiveSql.T_LOCAL = 161; +HiveSql.T_LOCATION = 162; +HiveSql.T_LOCATOR = 163; +HiveSql.T_LOCATORS = 164; +HiveSql.T_LOCKS = 165; +HiveSql.T_LOG = 166; +HiveSql.T_LOGGED = 167; +HiveSql.T_LOGGING = 168; +HiveSql.T_LOOP = 169; +HiveSql.T_MAP = 170; +HiveSql.T_MATCHED = 171; +HiveSql.T_MAX = 172; +HiveSql.T_MAXTRANS = 173; +HiveSql.T_MERGE = 174; +HiveSql.T_MESSAGE_TEXT = 175; +HiveSql.T_MICROSECOND = 176; +HiveSql.T_MICROSECONDS = 177; +HiveSql.T_MIN = 178; +HiveSql.T_MULTISET = 179; +HiveSql.T_NCHAR = 180; +HiveSql.T_NEW = 181; +HiveSql.T_NVARCHAR = 182; +HiveSql.T_NO = 183; +HiveSql.T_NOCOUNT = 184; +HiveSql.T_NOCOMPRESS = 185; +HiveSql.T_NOLOGGING = 186; +HiveSql.T_NONE = 187; +HiveSql.T_NOT = 188; +HiveSql.T_NOTFOUND = 189; +HiveSql.T_NULL = 190; +HiveSql.T_NUMERIC = 191; +HiveSql.T_NUMBER = 192; +HiveSql.T_OBJECT = 193; +HiveSql.T_OFF = 194; +HiveSql.T_ON = 195; +HiveSql.T_ONLY = 196; +HiveSql.T_OPEN = 197; +HiveSql.T_OR = 198; +HiveSql.T_ORDER = 199; +HiveSql.T_OUT = 200; +HiveSql.T_OUTER = 201; +HiveSql.T_OVER = 202; +HiveSql.T_OVERWRITE = 203; +HiveSql.T_OWNER = 204; +HiveSql.T_PACKAGE = 205; +HiveSql.T_PARTITION = 206; +HiveSql.T_PCTFREE = 207; +HiveSql.T_PCTUSED = 208; +HiveSql.T_PLS_INTEGER = 209; +HiveSql.T_PRECISION = 210; +HiveSql.T_PRESERVE = 211; +HiveSql.T_PRIMARY = 212; +HiveSql.T_PRINT = 213; +HiveSql.T_PROC = 214; +HiveSql.T_PROCEDURE = 215; +HiveSql.T_QUALIFY = 216; +HiveSql.T_QUERY_BAND = 217; +HiveSql.T_QUIT = 218; +HiveSql.T_QUOTED_IDENTIFIER = 219; +HiveSql.T_RAISE = 220; +HiveSql.T_REAL = 221; +HiveSql.T_REFERENCES = 222; +HiveSql.T_REGEXP = 223; +HiveSql.T_REPLACE = 224; +HiveSql.T_RESIGNAL = 225; +HiveSql.T_RESTRICT = 226; +HiveSql.T_RESULT = 227; +HiveSql.T_RESULT_SET_LOCATOR = 228; +HiveSql.T_RETURN = 229; +HiveSql.T_RETURNS = 230; +HiveSql.T_REVERSE = 231; +HiveSql.T_RIGHT = 232; +HiveSql.T_RLIKE = 233; +HiveSql.T_ROLE = 234; +HiveSql.T_ROLLBACK = 235; +HiveSql.T_ROW = 236; +HiveSql.T_ROWS = 237; +HiveSql.T_ROWTYPE = 238; +HiveSql.T_ROW_COUNT = 239; +HiveSql.T_RR = 240; +HiveSql.T_RS = 241; +HiveSql.T_PWD = 242; +HiveSql.T_TRIM = 243; +HiveSql.T_SCHEMA = 244; +HiveSql.T_SECOND = 245; +HiveSql.T_SECONDS = 246; +HiveSql.T_SECURITY = 247; +HiveSql.T_SEGMENT = 248; +HiveSql.T_SEL = 249; +HiveSql.T_SELECT = 250; +HiveSql.T_SET = 251; +HiveSql.T_SESSION = 252; +HiveSql.T_SESSIONS = 253; +HiveSql.T_SETS = 254; +HiveSql.T_SHARE = 255; +HiveSql.T_SIGNAL = 256; +HiveSql.T_SIMPLE_DOUBLE = 257; +HiveSql.T_SIMPLE_FLOAT = 258; +HiveSql.T_SIMPLE_INTEGER = 259; +HiveSql.T_SMALLDATETIME = 260; +HiveSql.T_SMALLINT = 261; +HiveSql.T_SQL = 262; +HiveSql.T_SQLEXCEPTION = 263; +HiveSql.T_SQLINSERT = 264; +HiveSql.T_SQLSTATE = 265; +HiveSql.T_SQLWARNING = 266; +HiveSql.T_STATS = 267; +HiveSql.T_STATISTICS = 268; +HiveSql.T_STEP = 269; +HiveSql.T_STORAGE = 270; +HiveSql.T_STORED = 271; +HiveSql.T_STRING = 272; +HiveSql.T_SUBDIR = 273; +HiveSql.T_SUBSTRING = 274; +HiveSql.T_SUM = 275; +HiveSql.T_SUMMARY = 276; +HiveSql.T_SYS_REFCURSOR = 277; +HiveSql.T_TABLE = 278; +HiveSql.T_TABLESPACE = 279; +HiveSql.T_TEMPORARY = 280; +HiveSql.T_TERMINATED = 281; +HiveSql.T_TEXTIMAGE_ON = 282; +HiveSql.T_THEN = 283; +HiveSql.T_TIMESTAMP = 284; +HiveSql.T_TINYINT = 285; +HiveSql.T_TITLE = 286; +HiveSql.T_TO = 287; +HiveSql.T_TOP = 288; +HiveSql.T_TRANSACTION = 289; +HiveSql.T_TRUE = 290; +HiveSql.T_TRUNCATE = 291; +HiveSql.T_TYPE = 292; +HiveSql.T_UNION = 293; +HiveSql.T_UNIQUE = 294; +HiveSql.T_UPDATE = 295; +HiveSql.T_UR = 296; +HiveSql.T_USE = 297; +HiveSql.T_USING = 298; +HiveSql.T_VALUE = 299; +HiveSql.T_VALUES = 300; +HiveSql.T_VAR = 301; +HiveSql.T_VARCHAR = 302; +HiveSql.T_VARCHAR2 = 303; +HiveSql.T_VARYING = 304; +HiveSql.T_VOLATILE = 305; +HiveSql.T_WHEN = 306; +HiveSql.T_WHERE = 307; +HiveSql.T_WHILE = 308; +HiveSql.T_WITH = 309; +HiveSql.T_WITHOUT = 310; +HiveSql.T_WORK = 311; +HiveSql.T_XACT_ABORT = 312; +HiveSql.T_XML = 313; +HiveSql.T_YES = 314; +HiveSql.T_ACTIVITY_COUNT = 315; +HiveSql.T_CUME_DIST = 316; +HiveSql.T_CURRENT_DATE = 317; +HiveSql.T_CURRENT_TIMESTAMP = 318; +HiveSql.T_CURRENT_USER = 319; +HiveSql.T_DENSE_RANK = 320; +HiveSql.T_FIRST_VALUE = 321; +HiveSql.T_LAG = 322; +HiveSql.T_LAST_VALUE = 323; +HiveSql.T_LEAD = 324; +HiveSql.T_MAX_PART_STRING = 325; +HiveSql.T_MIN_PART_STRING = 326; +HiveSql.T_MAX_PART_INT = 327; +HiveSql.T_MIN_PART_INT = 328; +HiveSql.T_MAX_PART_DATE = 329; +HiveSql.T_MIN_PART_DATE = 330; +HiveSql.T_PART_COUNT = 331; +HiveSql.T_PART_LOC = 332; +HiveSql.T_RANK = 333; +HiveSql.T_ROW_NUMBER = 334; +HiveSql.T_STDEV = 335; +HiveSql.T_SYSDATE = 336; +HiveSql.T_VARIANCE = 337; +HiveSql.T_USER = 338; +HiveSql.T_ADD = 339; +HiveSql.T_COLON = 340; +HiveSql.T_COMMA = 341; +HiveSql.T_PIPE = 342; +HiveSql.T_DIV = 343; +HiveSql.T_DOT = 344; +HiveSql.T_DOT2 = 345; +HiveSql.T_EQUAL = 346; +HiveSql.T_EQUAL2 = 347; +HiveSql.T_SHARP = 348; +HiveSql.T_NOTE = 349; +HiveSql.T_NOTEQUAL = 350; +HiveSql.T_NOTEQUAL2 = 351; +HiveSql.T_GREATER = 352; +HiveSql.T_GREATEREQUAL = 353; +HiveSql.T_LESS = 354; +HiveSql.T_LESSEQUAL = 355; +HiveSql.T_MUL = 356; +HiveSql.T_PRECENT = 357; +HiveSql.T_CALLS = 358; +HiveSql.T_OPEN_B = 359; +HiveSql.T_OPEN_P = 360; +HiveSql.T_OPEN_SB = 361; +HiveSql.T_CLOSE_B = 362; +HiveSql.T_CLOSE_P = 363; +HiveSql.T_CLOSE_SB = 364; +HiveSql.T_SEMICOLON = 365; +HiveSql.T_SUB = 366; +HiveSql.L_ID = 367; +HiveSql.L_S_STRING = 368; +HiveSql.L_D_STRING = 369; +HiveSql.L_INT = 370; +HiveSql.L_DEC = 371; +HiveSql.L_WS = 372; +HiveSql.L_M_COMMENT = 373; +HiveSql.L_S_COMMENT = 374; +HiveSql.L_FILE = 375; +HiveSql.L_LABEL = 376; -HiveSqlParser.RULE_program = 0; -HiveSqlParser.RULE_block = 1; -HiveSqlParser.RULE_begin_end_block = 2; -HiveSqlParser.RULE_single_block_stmt = 3; -HiveSqlParser.RULE_block_end = 4; -HiveSqlParser.RULE_proc_block = 5; -HiveSqlParser.RULE_stmt = 6; -HiveSqlParser.RULE_semicolon_stmt = 7; -HiveSqlParser.RULE_exception_block = 8; -HiveSqlParser.RULE_exception_block_item = 9; -HiveSqlParser.RULE_null_stmt = 10; -HiveSqlParser.RULE_expr_stmt = 11; -HiveSqlParser.RULE_assignment_stmt = 12; -HiveSqlParser.RULE_assignment_stmt_item = 13; -HiveSqlParser.RULE_assignment_stmt_single_item = 14; -HiveSqlParser.RULE_assignment_stmt_multiple_item = 15; -HiveSqlParser.RULE_assignment_stmt_select_item = 16; -HiveSqlParser.RULE_allocate_cursor_stmt = 17; -HiveSqlParser.RULE_associate_locator_stmt = 18; -HiveSqlParser.RULE_begin_transaction_stmt = 19; -HiveSqlParser.RULE_break_stmt = 20; -HiveSqlParser.RULE_call_stmt = 21; -HiveSqlParser.RULE_declare_stmt = 22; -HiveSqlParser.RULE_declare_block = 23; -HiveSqlParser.RULE_declare_block_inplace = 24; -HiveSqlParser.RULE_declare_stmt_item = 25; -HiveSqlParser.RULE_declare_var_item = 26; -HiveSqlParser.RULE_declare_condition_item = 27; -HiveSqlParser.RULE_declare_cursor_item = 28; -HiveSqlParser.RULE_cursor_with_return = 29; -HiveSqlParser.RULE_cursor_without_return = 30; -HiveSqlParser.RULE_declare_handler_item = 31; -HiveSqlParser.RULE_declare_temporary_table_item = 32; -HiveSqlParser.RULE_create_table_stmt = 33; -HiveSqlParser.RULE_create_local_temp_table_stmt = 34; -HiveSqlParser.RULE_create_table_definition = 35; -HiveSqlParser.RULE_create_table_columns = 36; -HiveSqlParser.RULE_create_table_columns_item = 37; -HiveSqlParser.RULE_column_name = 38; -HiveSqlParser.RULE_create_table_column_inline_cons = 39; -HiveSqlParser.RULE_create_table_column_cons = 40; -HiveSqlParser.RULE_create_table_fk_action = 41; -HiveSqlParser.RULE_create_table_preoptions = 42; -HiveSqlParser.RULE_create_table_preoptions_item = 43; -HiveSqlParser.RULE_create_table_preoptions_td_item = 44; -HiveSqlParser.RULE_create_table_options = 45; -HiveSqlParser.RULE_create_table_options_item = 46; -HiveSqlParser.RULE_create_table_options_ora_item = 47; -HiveSqlParser.RULE_create_table_options_db2_item = 48; -HiveSqlParser.RULE_create_table_options_td_item = 49; -HiveSqlParser.RULE_create_table_options_hive_item = 50; -HiveSqlParser.RULE_create_table_hive_row_format = 51; -HiveSqlParser.RULE_create_table_hive_row_format_fields = 52; -HiveSqlParser.RULE_create_table_options_mssql_item = 53; -HiveSqlParser.RULE_create_table_options_mysql_item = 54; -HiveSqlParser.RULE_alter_table_stmt = 55; -HiveSqlParser.RULE_alter_table_item = 56; -HiveSqlParser.RULE_alter_table_add_constraint = 57; -HiveSqlParser.RULE_alter_table_add_constraint_item = 58; -HiveSqlParser.RULE_dtype = 59; -HiveSqlParser.RULE_dtype_len = 60; -HiveSqlParser.RULE_dtype_attr = 61; -HiveSqlParser.RULE_dtype_default = 62; -HiveSqlParser.RULE_create_database_stmt = 63; -HiveSqlParser.RULE_create_database_option = 64; -HiveSqlParser.RULE_create_function_stmt = 65; -HiveSqlParser.RULE_create_function_return = 66; -HiveSqlParser.RULE_create_package_stmt = 67; -HiveSqlParser.RULE_package_spec = 68; -HiveSqlParser.RULE_package_spec_item = 69; -HiveSqlParser.RULE_create_package_body_stmt = 70; -HiveSqlParser.RULE_package_body = 71; -HiveSqlParser.RULE_package_body_item = 72; -HiveSqlParser.RULE_create_procedure_stmt = 73; -HiveSqlParser.RULE_create_routine_params = 74; -HiveSqlParser.RULE_create_routine_param_item = 75; -HiveSqlParser.RULE_create_routine_options = 76; -HiveSqlParser.RULE_create_routine_option = 77; -HiveSqlParser.RULE_drop_stmt = 78; -HiveSqlParser.RULE_end_transaction_stmt = 79; -HiveSqlParser.RULE_exec_stmt = 80; -HiveSqlParser.RULE_if_stmt = 81; -HiveSqlParser.RULE_if_plsql_stmt = 82; -HiveSqlParser.RULE_if_tsql_stmt = 83; -HiveSqlParser.RULE_if_bteq_stmt = 84; -HiveSqlParser.RULE_elseif_block = 85; -HiveSqlParser.RULE_else_block = 86; -HiveSqlParser.RULE_include_stmt = 87; -HiveSqlParser.RULE_insert_stmt = 88; -HiveSqlParser.RULE_insert_stmt_cols = 89; -HiveSqlParser.RULE_insert_stmt_rows = 90; -HiveSqlParser.RULE_insert_stmt_row = 91; -HiveSqlParser.RULE_insert_directory_stmt = 92; -HiveSqlParser.RULE_exit_stmt = 93; -HiveSqlParser.RULE_get_diag_stmt = 94; -HiveSqlParser.RULE_get_diag_stmt_item = 95; -HiveSqlParser.RULE_get_diag_stmt_exception_item = 96; -HiveSqlParser.RULE_get_diag_stmt_rowcount_item = 97; -HiveSqlParser.RULE_grant_stmt = 98; -HiveSqlParser.RULE_grant_stmt_item = 99; -HiveSqlParser.RULE_leave_stmt = 100; -HiveSqlParser.RULE_map_object_stmt = 101; -HiveSqlParser.RULE_open_stmt = 102; -HiveSqlParser.RULE_fetch_stmt = 103; -HiveSqlParser.RULE_collect_stats_stmt = 104; -HiveSqlParser.RULE_collect_stats_clause = 105; -HiveSqlParser.RULE_close_stmt = 106; -HiveSqlParser.RULE_cmp_stmt = 107; -HiveSqlParser.RULE_cmp_source = 108; -HiveSqlParser.RULE_copy_from_local_stmt = 109; -HiveSqlParser.RULE_copy_stmt = 110; -HiveSqlParser.RULE_copy_source = 111; -HiveSqlParser.RULE_copy_target = 112; -HiveSqlParser.RULE_copy_option = 113; -HiveSqlParser.RULE_copy_file_option = 114; -HiveSqlParser.RULE_commit_stmt = 115; -HiveSqlParser.RULE_create_index_stmt = 116; -HiveSqlParser.RULE_create_index_col = 117; -HiveSqlParser.RULE_index_storage_clause = 118; -HiveSqlParser.RULE_index_mssql_storage_clause = 119; -HiveSqlParser.RULE_print_stmt = 120; -HiveSqlParser.RULE_quit_stmt = 121; -HiveSqlParser.RULE_raise_stmt = 122; -HiveSqlParser.RULE_resignal_stmt = 123; -HiveSqlParser.RULE_return_stmt = 124; -HiveSqlParser.RULE_rollback_stmt = 125; -HiveSqlParser.RULE_set_session_option = 126; -HiveSqlParser.RULE_set_current_schema_option = 127; -HiveSqlParser.RULE_set_mssql_session_option = 128; -HiveSqlParser.RULE_set_teradata_session_option = 129; -HiveSqlParser.RULE_signal_stmt = 130; -HiveSqlParser.RULE_summary_stmt = 131; -HiveSqlParser.RULE_truncate_stmt = 132; -HiveSqlParser.RULE_use_stmt = 133; -HiveSqlParser.RULE_values_into_stmt = 134; -HiveSqlParser.RULE_while_stmt = 135; -HiveSqlParser.RULE_for_cursor_stmt = 136; -HiveSqlParser.RULE_for_range_stmt = 137; -HiveSqlParser.RULE_label = 138; -HiveSqlParser.RULE_using_clause = 139; -HiveSqlParser.RULE_select_stmt = 140; -HiveSqlParser.RULE_cte_select_stmt = 141; -HiveSqlParser.RULE_cte_select_stmt_item = 142; -HiveSqlParser.RULE_cte_select_cols = 143; -HiveSqlParser.RULE_fullselect_stmt = 144; -HiveSqlParser.RULE_fullselect_stmt_item = 145; -HiveSqlParser.RULE_fullselect_set_clause = 146; -HiveSqlParser.RULE_subselect_stmt = 147; -HiveSqlParser.RULE_select_list = 148; -HiveSqlParser.RULE_select_list_set = 149; -HiveSqlParser.RULE_select_list_limit = 150; -HiveSqlParser.RULE_select_list_item = 151; -HiveSqlParser.RULE_select_list_alias = 152; -HiveSqlParser.RULE_select_list_asterisk = 153; -HiveSqlParser.RULE_into_clause = 154; -HiveSqlParser.RULE_from_clause = 155; -HiveSqlParser.RULE_from_table_clause = 156; -HiveSqlParser.RULE_from_table_name_clause = 157; -HiveSqlParser.RULE_from_subselect_clause = 158; -HiveSqlParser.RULE_from_join_clause = 159; -HiveSqlParser.RULE_from_join_type_clause = 160; -HiveSqlParser.RULE_from_table_values_clause = 161; -HiveSqlParser.RULE_from_table_values_row = 162; -HiveSqlParser.RULE_from_alias_clause = 163; -HiveSqlParser.RULE_table_name = 164; -HiveSqlParser.RULE_where_clause = 165; -HiveSqlParser.RULE_group_by_clause = 166; -HiveSqlParser.RULE_having_clause = 167; -HiveSqlParser.RULE_qualify_clause = 168; -HiveSqlParser.RULE_order_by_clause = 169; -HiveSqlParser.RULE_select_options = 170; -HiveSqlParser.RULE_select_options_item = 171; -HiveSqlParser.RULE_update_stmt = 172; -HiveSqlParser.RULE_update_assignment = 173; -HiveSqlParser.RULE_update_table = 174; -HiveSqlParser.RULE_update_upsert = 175; -HiveSqlParser.RULE_merge_stmt = 176; -HiveSqlParser.RULE_merge_table = 177; -HiveSqlParser.RULE_merge_condition = 178; -HiveSqlParser.RULE_merge_action = 179; -HiveSqlParser.RULE_delete_stmt = 180; -HiveSqlParser.RULE_delete_alias = 181; -HiveSqlParser.RULE_describe_stmt = 182; -HiveSqlParser.RULE_bool_expr = 183; -HiveSqlParser.RULE_bool_expr_atom = 184; -HiveSqlParser.RULE_bool_expr_unary = 185; -HiveSqlParser.RULE_bool_expr_single_in = 186; -HiveSqlParser.RULE_bool_expr_multi_in = 187; -HiveSqlParser.RULE_bool_expr_binary = 188; -HiveSqlParser.RULE_bool_expr_logical_operator = 189; -HiveSqlParser.RULE_bool_expr_binary_operator = 190; -HiveSqlParser.RULE_expr = 191; -HiveSqlParser.RULE_expr_atom = 192; -HiveSqlParser.RULE_expr_interval = 193; -HiveSqlParser.RULE_interval_item = 194; -HiveSqlParser.RULE_expr_concat = 195; -HiveSqlParser.RULE_expr_concat_item = 196; -HiveSqlParser.RULE_expr_case = 197; -HiveSqlParser.RULE_expr_case_simple = 198; -HiveSqlParser.RULE_expr_case_searched = 199; -HiveSqlParser.RULE_expr_cursor_attribute = 200; -HiveSqlParser.RULE_expr_agg_window_func = 201; -HiveSqlParser.RULE_expr_func_all_distinct = 202; -HiveSqlParser.RULE_expr_func_over_clause = 203; -HiveSqlParser.RULE_expr_func_partition_by_clause = 204; -HiveSqlParser.RULE_expr_spec_func = 205; -HiveSqlParser.RULE_expr_func = 206; -HiveSqlParser.RULE_expr_func_params = 207; -HiveSqlParser.RULE_func_param = 208; -HiveSqlParser.RULE_expr_select = 209; -HiveSqlParser.RULE_expr_file = 210; -HiveSqlParser.RULE_hive = 211; -HiveSqlParser.RULE_hive_item = 212; -HiveSqlParser.RULE_host = 213; -HiveSqlParser.RULE_host_cmd = 214; -HiveSqlParser.RULE_host_stmt = 215; -HiveSqlParser.RULE_file_name = 216; -HiveSqlParser.RULE_date_literal = 217; -HiveSqlParser.RULE_timestamp_literal = 218; -HiveSqlParser.RULE_ident = 219; -HiveSqlParser.RULE_string = 220; -HiveSqlParser.RULE_int_number = 221; -HiveSqlParser.RULE_dec_number = 222; -HiveSqlParser.RULE_bool_literal = 223; -HiveSqlParser.RULE_null_const = 224; -HiveSqlParser.RULE_non_reserved_words = 225; +HiveSql.RULE_program = 0; +HiveSql.RULE_block = 1; +HiveSql.RULE_begin_end_block = 2; +HiveSql.RULE_single_block_stmt = 3; +HiveSql.RULE_block_end = 4; +HiveSql.RULE_proc_block = 5; +HiveSql.RULE_stmt = 6; +HiveSql.RULE_semicolon_stmt = 7; +HiveSql.RULE_exception_block = 8; +HiveSql.RULE_exception_block_item = 9; +HiveSql.RULE_null_stmt = 10; +HiveSql.RULE_expr_stmt = 11; +HiveSql.RULE_assignment_stmt = 12; +HiveSql.RULE_assignment_stmt_item = 13; +HiveSql.RULE_assignment_stmt_single_item = 14; +HiveSql.RULE_assignment_stmt_multiple_item = 15; +HiveSql.RULE_assignment_stmt_select_item = 16; +HiveSql.RULE_allocate_cursor_stmt = 17; +HiveSql.RULE_associate_locator_stmt = 18; +HiveSql.RULE_begin_transaction_stmt = 19; +HiveSql.RULE_break_stmt = 20; +HiveSql.RULE_call_stmt = 21; +HiveSql.RULE_declare_stmt = 22; +HiveSql.RULE_declare_block = 23; +HiveSql.RULE_declare_block_inplace = 24; +HiveSql.RULE_declare_stmt_item = 25; +HiveSql.RULE_declare_var_item = 26; +HiveSql.RULE_declare_condition_item = 27; +HiveSql.RULE_declare_cursor_item = 28; +HiveSql.RULE_cursor_with_return = 29; +HiveSql.RULE_cursor_without_return = 30; +HiveSql.RULE_declare_handler_item = 31; +HiveSql.RULE_declare_temporary_table_item = 32; +HiveSql.RULE_create_table_stmt = 33; +HiveSql.RULE_create_local_temp_table_stmt = 34; +HiveSql.RULE_create_table_definition = 35; +HiveSql.RULE_create_table_columns = 36; +HiveSql.RULE_create_table_columns_item = 37; +HiveSql.RULE_column_name = 38; +HiveSql.RULE_create_table_column_inline_cons = 39; +HiveSql.RULE_create_table_column_cons = 40; +HiveSql.RULE_create_table_fk_action = 41; +HiveSql.RULE_create_table_preoptions = 42; +HiveSql.RULE_create_table_preoptions_item = 43; +HiveSql.RULE_create_table_preoptions_td_item = 44; +HiveSql.RULE_create_table_options = 45; +HiveSql.RULE_create_table_options_item = 46; +HiveSql.RULE_create_table_options_ora_item = 47; +HiveSql.RULE_create_table_options_db2_item = 48; +HiveSql.RULE_create_table_options_td_item = 49; +HiveSql.RULE_create_table_options_hive_item = 50; +HiveSql.RULE_create_table_hive_row_format = 51; +HiveSql.RULE_create_table_hive_row_format_fields = 52; +HiveSql.RULE_create_table_options_mssql_item = 53; +HiveSql.RULE_create_table_options_mysql_item = 54; +HiveSql.RULE_alter_table_stmt = 55; +HiveSql.RULE_alter_table_item = 56; +HiveSql.RULE_alter_table_add_constraint = 57; +HiveSql.RULE_alter_table_add_constraint_item = 58; +HiveSql.RULE_dtype = 59; +HiveSql.RULE_dtype_len = 60; +HiveSql.RULE_dtype_attr = 61; +HiveSql.RULE_dtype_default = 62; +HiveSql.RULE_create_database_stmt = 63; +HiveSql.RULE_create_database_option = 64; +HiveSql.RULE_create_function_stmt = 65; +HiveSql.RULE_create_function_return = 66; +HiveSql.RULE_create_package_stmt = 67; +HiveSql.RULE_package_spec = 68; +HiveSql.RULE_package_spec_item = 69; +HiveSql.RULE_create_package_body_stmt = 70; +HiveSql.RULE_package_body = 71; +HiveSql.RULE_package_body_item = 72; +HiveSql.RULE_create_procedure_stmt = 73; +HiveSql.RULE_create_routine_params = 74; +HiveSql.RULE_create_routine_param_item = 75; +HiveSql.RULE_create_routine_options = 76; +HiveSql.RULE_create_routine_option = 77; +HiveSql.RULE_drop_stmt = 78; +HiveSql.RULE_end_transaction_stmt = 79; +HiveSql.RULE_exec_stmt = 80; +HiveSql.RULE_if_stmt = 81; +HiveSql.RULE_if_plsql_stmt = 82; +HiveSql.RULE_if_tsql_stmt = 83; +HiveSql.RULE_if_bteq_stmt = 84; +HiveSql.RULE_elseif_block = 85; +HiveSql.RULE_else_block = 86; +HiveSql.RULE_include_stmt = 87; +HiveSql.RULE_insert_stmt = 88; +HiveSql.RULE_insert_stmt_cols = 89; +HiveSql.RULE_insert_stmt_rows = 90; +HiveSql.RULE_insert_stmt_row = 91; +HiveSql.RULE_insert_directory_stmt = 92; +HiveSql.RULE_exit_stmt = 93; +HiveSql.RULE_get_diag_stmt = 94; +HiveSql.RULE_get_diag_stmt_item = 95; +HiveSql.RULE_get_diag_stmt_exception_item = 96; +HiveSql.RULE_get_diag_stmt_rowcount_item = 97; +HiveSql.RULE_grant_stmt = 98; +HiveSql.RULE_grant_stmt_item = 99; +HiveSql.RULE_leave_stmt = 100; +HiveSql.RULE_map_object_stmt = 101; +HiveSql.RULE_open_stmt = 102; +HiveSql.RULE_fetch_stmt = 103; +HiveSql.RULE_collect_stats_stmt = 104; +HiveSql.RULE_collect_stats_clause = 105; +HiveSql.RULE_close_stmt = 106; +HiveSql.RULE_cmp_stmt = 107; +HiveSql.RULE_cmp_source = 108; +HiveSql.RULE_copy_from_local_stmt = 109; +HiveSql.RULE_copy_stmt = 110; +HiveSql.RULE_copy_source = 111; +HiveSql.RULE_copy_target = 112; +HiveSql.RULE_copy_option = 113; +HiveSql.RULE_copy_file_option = 114; +HiveSql.RULE_commit_stmt = 115; +HiveSql.RULE_create_index_stmt = 116; +HiveSql.RULE_create_index_col = 117; +HiveSql.RULE_index_storage_clause = 118; +HiveSql.RULE_index_mssql_storage_clause = 119; +HiveSql.RULE_print_stmt = 120; +HiveSql.RULE_quit_stmt = 121; +HiveSql.RULE_raise_stmt = 122; +HiveSql.RULE_resignal_stmt = 123; +HiveSql.RULE_return_stmt = 124; +HiveSql.RULE_rollback_stmt = 125; +HiveSql.RULE_set_session_option = 126; +HiveSql.RULE_set_current_schema_option = 127; +HiveSql.RULE_set_mssql_session_option = 128; +HiveSql.RULE_set_teradata_session_option = 129; +HiveSql.RULE_signal_stmt = 130; +HiveSql.RULE_summary_stmt = 131; +HiveSql.RULE_truncate_stmt = 132; +HiveSql.RULE_use_stmt = 133; +HiveSql.RULE_values_into_stmt = 134; +HiveSql.RULE_while_stmt = 135; +HiveSql.RULE_for_cursor_stmt = 136; +HiveSql.RULE_for_range_stmt = 137; +HiveSql.RULE_label = 138; +HiveSql.RULE_using_clause = 139; +HiveSql.RULE_select_stmt = 140; +HiveSql.RULE_cte_select_stmt = 141; +HiveSql.RULE_cte_select_stmt_item = 142; +HiveSql.RULE_cte_select_cols = 143; +HiveSql.RULE_fullselect_stmt = 144; +HiveSql.RULE_fullselect_stmt_item = 145; +HiveSql.RULE_fullselect_set_clause = 146; +HiveSql.RULE_subselect_stmt = 147; +HiveSql.RULE_select_list = 148; +HiveSql.RULE_select_list_set = 149; +HiveSql.RULE_select_list_limit = 150; +HiveSql.RULE_select_list_item = 151; +HiveSql.RULE_select_list_alias = 152; +HiveSql.RULE_select_list_asterisk = 153; +HiveSql.RULE_into_clause = 154; +HiveSql.RULE_from_clause = 155; +HiveSql.RULE_from_table_clause = 156; +HiveSql.RULE_from_table_name_clause = 157; +HiveSql.RULE_from_subselect_clause = 158; +HiveSql.RULE_from_join_clause = 159; +HiveSql.RULE_from_join_type_clause = 160; +HiveSql.RULE_from_table_values_clause = 161; +HiveSql.RULE_from_table_values_row = 162; +HiveSql.RULE_from_alias_clause = 163; +HiveSql.RULE_table_name = 164; +HiveSql.RULE_where_clause = 165; +HiveSql.RULE_group_by_clause = 166; +HiveSql.RULE_having_clause = 167; +HiveSql.RULE_qualify_clause = 168; +HiveSql.RULE_order_by_clause = 169; +HiveSql.RULE_select_options = 170; +HiveSql.RULE_select_options_item = 171; +HiveSql.RULE_update_stmt = 172; +HiveSql.RULE_update_assignment = 173; +HiveSql.RULE_update_table = 174; +HiveSql.RULE_update_upsert = 175; +HiveSql.RULE_merge_stmt = 176; +HiveSql.RULE_merge_table = 177; +HiveSql.RULE_merge_condition = 178; +HiveSql.RULE_merge_action = 179; +HiveSql.RULE_delete_stmt = 180; +HiveSql.RULE_delete_alias = 181; +HiveSql.RULE_describe_stmt = 182; +HiveSql.RULE_bool_expr = 183; +HiveSql.RULE_bool_expr_atom = 184; +HiveSql.RULE_bool_expr_unary = 185; +HiveSql.RULE_bool_expr_single_in = 186; +HiveSql.RULE_bool_expr_multi_in = 187; +HiveSql.RULE_bool_expr_binary = 188; +HiveSql.RULE_bool_expr_logical_operator = 189; +HiveSql.RULE_bool_expr_binary_operator = 190; +HiveSql.RULE_expr = 191; +HiveSql.RULE_expr_atom = 192; +HiveSql.RULE_expr_interval = 193; +HiveSql.RULE_interval_item = 194; +HiveSql.RULE_expr_concat = 195; +HiveSql.RULE_expr_concat_item = 196; +HiveSql.RULE_expr_case = 197; +HiveSql.RULE_expr_case_simple = 198; +HiveSql.RULE_expr_case_searched = 199; +HiveSql.RULE_expr_cursor_attribute = 200; +HiveSql.RULE_expr_agg_window_func = 201; +HiveSql.RULE_expr_func_all_distinct = 202; +HiveSql.RULE_expr_func_over_clause = 203; +HiveSql.RULE_expr_func_partition_by_clause = 204; +HiveSql.RULE_expr_spec_func = 205; +HiveSql.RULE_expr_func = 206; +HiveSql.RULE_expr_func_params = 207; +HiveSql.RULE_func_param = 208; +HiveSql.RULE_expr_select = 209; +HiveSql.RULE_expr_file = 210; +HiveSql.RULE_hive = 211; +HiveSql.RULE_hive_item = 212; +HiveSql.RULE_host = 213; +HiveSql.RULE_host_cmd = 214; +HiveSql.RULE_host_stmt = 215; +HiveSql.RULE_file_name = 216; +HiveSql.RULE_date_literal = 217; +HiveSql.RULE_timestamp_literal = 218; +HiveSql.RULE_ident = 219; +HiveSql.RULE_string = 220; +HiveSql.RULE_int_number = 221; +HiveSql.RULE_dec_number = 222; +HiveSql.RULE_bool_literal = 223; +HiveSql.RULE_null_const = 224; +HiveSql.RULE_non_reserved_words = 225; function ProgramContext(parser, parent, invokingState) { @@ -3266,7 +3266,7 @@ function ProgramContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_program; + this.ruleIndex = HiveSql.RULE_program; return this; } @@ -3278,23 +3278,23 @@ ProgramContext.prototype.block = function() { }; ProgramContext.prototype.EOF = function() { - return this.getToken(HiveSqlParser.EOF, 0); + return this.getToken(HiveSql.EOF, 0); }; ProgramContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterProgram(this); } }; ProgramContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitProgram(this); } }; ProgramContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitProgram(this); } else { return visitor.visitChildren(this); @@ -3304,18 +3304,18 @@ ProgramContext.prototype.accept = function(visitor) { -HiveSqlParser.ProgramContext = ProgramContext; +HiveSql.ProgramContext = ProgramContext; -HiveSqlParser.prototype.program = function() { +HiveSql.prototype.program = function() { var localctx = new ProgramContext(this, this._ctx, this.state); - this.enterRule(localctx, 0, HiveSqlParser.RULE_program); + this.enterRule(localctx, 0, HiveSql.RULE_program); try { this.enterOuterAlt(localctx, 1); this.state = 452; this.block(); this.state = 453; - this.match(HiveSqlParser.EOF); + this.match(HiveSql.EOF); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -3340,7 +3340,7 @@ function BlockContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_block; + this.ruleIndex = HiveSql.RULE_block; return this; } @@ -3374,27 +3374,27 @@ BlockContext.prototype.T_GO = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_GO); + return this.getTokens(HiveSql.T_GO); } else { - return this.getToken(HiveSqlParser.T_GO, i); + return this.getToken(HiveSql.T_GO, i); } }; BlockContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBlock(this); } }; BlockContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBlock(this); } }; BlockContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBlock(this); } else { return visitor.visitChildren(this); @@ -3404,12 +3404,12 @@ BlockContext.prototype.accept = function(visitor) { -HiveSqlParser.BlockContext = BlockContext; +HiveSql.BlockContext = BlockContext; -HiveSqlParser.prototype.block = function() { +HiveSql.prototype.block = function() { var localctx = new BlockContext(this, this._ctx, this.state); - this.enterRule(localctx, 2, HiveSqlParser.RULE_block); + this.enterRule(localctx, 2, HiveSql.RULE_block); try { this.enterOuterAlt(localctx, 1); this.state = 462; @@ -3438,7 +3438,7 @@ HiveSqlParser.prototype.block = function() { var la_ = this._interp.adaptivePredict(this._input,1,this._ctx); if(la_===1) { this.state = 459; - this.match(HiveSqlParser.T_GO); + this.match(HiveSql.T_GO); } break; @@ -3473,7 +3473,7 @@ function Begin_end_blockContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_begin_end_block; + this.ruleIndex = HiveSql.RULE_begin_end_block; return this; } @@ -3481,7 +3481,7 @@ Begin_end_blockContext.prototype = Object.create(antlr4.ParserRuleContext.protot Begin_end_blockContext.prototype.constructor = Begin_end_blockContext; Begin_end_blockContext.prototype.T_BEGIN = function() { - return this.getToken(HiveSqlParser.T_BEGIN, 0); + return this.getToken(HiveSql.T_BEGIN, 0); }; Begin_end_blockContext.prototype.block = function() { @@ -3501,19 +3501,19 @@ Begin_end_blockContext.prototype.exception_block = function() { }; Begin_end_blockContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBegin_end_block(this); } }; Begin_end_blockContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBegin_end_block(this); } }; Begin_end_blockContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBegin_end_block(this); } else { return visitor.visitChildren(this); @@ -3523,25 +3523,25 @@ Begin_end_blockContext.prototype.accept = function(visitor) { -HiveSqlParser.Begin_end_blockContext = Begin_end_blockContext; +HiveSql.Begin_end_blockContext = Begin_end_blockContext; -HiveSqlParser.prototype.begin_end_block = function() { +HiveSql.prototype.begin_end_block = function() { var localctx = new Begin_end_blockContext(this, this._ctx, this.state); - this.enterRule(localctx, 4, HiveSqlParser.RULE_begin_end_block); + this.enterRule(localctx, 4, HiveSql.RULE_begin_end_block); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 467; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_DECLARE) { + if(_la===HiveSql.T_DECLARE) { this.state = 466; this.declare_block(); } this.state = 469; - this.match(HiveSqlParser.T_BEGIN); + this.match(HiveSql.T_BEGIN); this.state = 470; this.block(); this.state = 472; @@ -3578,7 +3578,7 @@ function Single_block_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_single_block_stmt; + this.ruleIndex = HiveSql.RULE_single_block_stmt; return this; } @@ -3586,7 +3586,7 @@ Single_block_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prot Single_block_stmtContext.prototype.constructor = Single_block_stmtContext; Single_block_stmtContext.prototype.T_BEGIN = function() { - return this.getToken(HiveSqlParser.T_BEGIN, 0); + return this.getToken(HiveSql.T_BEGIN, 0); }; Single_block_stmtContext.prototype.block = function() { @@ -3606,23 +3606,23 @@ Single_block_stmtContext.prototype.stmt = function() { }; Single_block_stmtContext.prototype.T_SEMICOLON = function() { - return this.getToken(HiveSqlParser.T_SEMICOLON, 0); + return this.getToken(HiveSql.T_SEMICOLON, 0); }; Single_block_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSingle_block_stmt(this); } }; Single_block_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSingle_block_stmt(this); } }; Single_block_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSingle_block_stmt(this); } else { return visitor.visitChildren(this); @@ -3632,12 +3632,12 @@ Single_block_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Single_block_stmtContext = Single_block_stmtContext; +HiveSql.Single_block_stmtContext = Single_block_stmtContext; -HiveSqlParser.prototype.single_block_stmt = function() { +HiveSql.prototype.single_block_stmt = function() { var localctx = new Single_block_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 6, HiveSqlParser.RULE_single_block_stmt); + this.enterRule(localctx, 6, HiveSql.RULE_single_block_stmt); try { this.state = 487; this._errHandler.sync(this); @@ -3646,7 +3646,7 @@ HiveSqlParser.prototype.single_block_stmt = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 476; - this.match(HiveSqlParser.T_BEGIN); + this.match(HiveSql.T_BEGIN); this.state = 477; this.block(); this.state = 479; @@ -3670,7 +3670,7 @@ HiveSqlParser.prototype.single_block_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,6,this._ctx); if(la_===1) { this.state = 484; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); } break; @@ -3700,7 +3700,7 @@ function Block_endContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_block_end; + this.ruleIndex = HiveSql.RULE_block_end; return this; } @@ -3708,23 +3708,23 @@ Block_endContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Block_endContext.prototype.constructor = Block_endContext; Block_endContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; Block_endContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBlock_end(this); } }; Block_endContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBlock_end(this); } }; Block_endContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBlock_end(this); } else { return visitor.visitChildren(this); @@ -3734,12 +3734,12 @@ Block_endContext.prototype.accept = function(visitor) { -HiveSqlParser.Block_endContext = Block_endContext; +HiveSql.Block_endContext = Block_endContext; -HiveSqlParser.prototype.block_end = function() { +HiveSql.prototype.block_end = function() { var localctx = new Block_endContext(this, this._ctx, this.state); - this.enterRule(localctx, 8, HiveSqlParser.RULE_block_end); + this.enterRule(localctx, 8, HiveSql.RULE_block_end); try { this.enterOuterAlt(localctx, 1); this.state = 489; @@ -3747,7 +3747,7 @@ HiveSqlParser.prototype.block_end = function() { throw new antlr4.error.FailedPredicateException(this, "!this._input.LT(2).text.toUpperCase() === \"TRANSACTION\""); } this.state = 490; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -3772,7 +3772,7 @@ function Proc_blockContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_proc_block; + this.ruleIndex = HiveSql.RULE_proc_block; return this; } @@ -3795,23 +3795,23 @@ Proc_blockContext.prototype.stmt = function(i) { }; Proc_blockContext.prototype.T_GO = function() { - return this.getToken(HiveSqlParser.T_GO, 0); + return this.getToken(HiveSql.T_GO, 0); }; Proc_blockContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterProc_block(this); } }; Proc_blockContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitProc_block(this); } }; Proc_blockContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitProc_block(this); } else { return visitor.visitChildren(this); @@ -3821,12 +3821,12 @@ Proc_blockContext.prototype.accept = function(visitor) { -HiveSqlParser.Proc_blockContext = Proc_blockContext; +HiveSql.Proc_blockContext = Proc_blockContext; -HiveSqlParser.prototype.proc_block = function() { +HiveSql.prototype.proc_block = function() { var localctx = new Proc_blockContext(this, this._ctx, this.state); - this.enterRule(localctx, 10, HiveSqlParser.RULE_proc_block); + this.enterRule(localctx, 10, HiveSql.RULE_proc_block); try { this.state = 501; this._errHandler.sync(this); @@ -3861,7 +3861,7 @@ HiveSqlParser.prototype.proc_block = function() { var la_ = this._interp.adaptivePredict(this._input,9,this._ctx); if(la_===1) { this.state = 498; - this.match(HiveSqlParser.T_GO); + this.match(HiveSql.T_GO); } break; @@ -3891,7 +3891,7 @@ function StmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_stmt; + this.ruleIndex = HiveSql.RULE_stmt; return this; } @@ -4143,19 +4143,19 @@ StmtContext.prototype.semicolon_stmt = function() { }; StmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterStmt(this); } }; StmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitStmt(this); } }; StmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitStmt(this); } else { return visitor.visitChildren(this); @@ -4165,12 +4165,12 @@ StmtContext.prototype.accept = function(visitor) { -HiveSqlParser.StmtContext = StmtContext; +HiveSql.StmtContext = StmtContext; -HiveSqlParser.prototype.stmt = function() { +HiveSql.prototype.stmt = function() { var localctx = new StmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 12, HiveSqlParser.RULE_stmt); + this.enterRule(localctx, 12, HiveSql.RULE_stmt); try { this.state = 564; this._errHandler.sync(this); @@ -4567,7 +4567,7 @@ function Semicolon_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_semicolon_stmt; + this.ruleIndex = HiveSql.RULE_semicolon_stmt; return this; } @@ -4575,35 +4575,35 @@ Semicolon_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototy Semicolon_stmtContext.prototype.constructor = Semicolon_stmtContext; Semicolon_stmtContext.prototype.T_SEMICOLON = function() { - return this.getToken(HiveSqlParser.T_SEMICOLON, 0); + return this.getToken(HiveSql.T_SEMICOLON, 0); }; Semicolon_stmtContext.prototype.T_CALLS = function() { - return this.getToken(HiveSqlParser.T_CALLS, 0); + return this.getToken(HiveSql.T_CALLS, 0); }; Semicolon_stmtContext.prototype.T_SHARP = function() { - return this.getToken(HiveSqlParser.T_SHARP, 0); + return this.getToken(HiveSql.T_SHARP, 0); }; Semicolon_stmtContext.prototype.T_DIV = function() { - return this.getToken(HiveSqlParser.T_DIV, 0); + return this.getToken(HiveSql.T_DIV, 0); }; Semicolon_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSemicolon_stmt(this); } }; Semicolon_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSemicolon_stmt(this); } }; Semicolon_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSemicolon_stmt(this); } else { return visitor.visitChildren(this); @@ -4613,18 +4613,18 @@ Semicolon_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Semicolon_stmtContext = Semicolon_stmtContext; +HiveSql.Semicolon_stmtContext = Semicolon_stmtContext; -HiveSqlParser.prototype.semicolon_stmt = function() { +HiveSql.prototype.semicolon_stmt = function() { var localctx = new Semicolon_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 14, HiveSqlParser.RULE_semicolon_stmt); + this.enterRule(localctx, 14, HiveSql.RULE_semicolon_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 566; _la = this._input.LA(1); - if(!(((((_la - 343)) & ~0x1f) == 0 && ((1 << (_la - 343)) & ((1 << (HiveSqlParser.T_DIV - 343)) | (1 << (HiveSqlParser.T_SHARP - 343)) | (1 << (HiveSqlParser.T_CALLS - 343)) | (1 << (HiveSqlParser.T_SEMICOLON - 343)))) !== 0))) { + if(!(((((_la - 343)) & ~0x1f) == 0 && ((1 << (_la - 343)) & ((1 << (HiveSql.T_DIV - 343)) | (1 << (HiveSql.T_SHARP - 343)) | (1 << (HiveSql.T_CALLS - 343)) | (1 << (HiveSql.T_SEMICOLON - 343)))) !== 0))) { this._errHandler.recoverInline(this); } else { @@ -4655,7 +4655,7 @@ function Exception_blockContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_exception_block; + this.ruleIndex = HiveSql.RULE_exception_block; return this; } @@ -4663,7 +4663,7 @@ Exception_blockContext.prototype = Object.create(antlr4.ParserRuleContext.protot Exception_blockContext.prototype.constructor = Exception_blockContext; Exception_blockContext.prototype.T_EXCEPTION = function() { - return this.getToken(HiveSqlParser.T_EXCEPTION, 0); + return this.getToken(HiveSql.T_EXCEPTION, 0); }; Exception_blockContext.prototype.exception_block_item = function(i) { @@ -4678,19 +4678,19 @@ Exception_blockContext.prototype.exception_block_item = function(i) { }; Exception_blockContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterException_block(this); } }; Exception_blockContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitException_block(this); } }; Exception_blockContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitException_block(this); } else { return visitor.visitChildren(this); @@ -4700,16 +4700,16 @@ Exception_blockContext.prototype.accept = function(visitor) { -HiveSqlParser.Exception_blockContext = Exception_blockContext; +HiveSql.Exception_blockContext = Exception_blockContext; -HiveSqlParser.prototype.exception_block = function() { +HiveSql.prototype.exception_block = function() { var localctx = new Exception_blockContext(this, this._ctx, this.state); - this.enterRule(localctx, 16, HiveSqlParser.RULE_exception_block); + this.enterRule(localctx, 16, HiveSql.RULE_exception_block); try { this.enterOuterAlt(localctx, 1); this.state = 568; - this.match(HiveSqlParser.T_EXCEPTION); + this.match(HiveSql.T_EXCEPTION); this.state = 570; this._errHandler.sync(this); var _alt = 1; @@ -4750,7 +4750,7 @@ function Exception_block_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_exception_block_item; + this.ruleIndex = HiveSql.RULE_exception_block_item; return this; } @@ -4762,19 +4762,19 @@ Exception_block_itemContext.prototype.T_WHEN = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_WHEN); + return this.getTokens(HiveSql.T_WHEN); } else { - return this.getToken(HiveSqlParser.T_WHEN, i); + return this.getToken(HiveSql.T_WHEN, i); } }; Exception_block_itemContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; Exception_block_itemContext.prototype.T_THEN = function() { - return this.getToken(HiveSqlParser.T_THEN, 0); + return this.getToken(HiveSql.T_THEN, 0); }; Exception_block_itemContext.prototype.block = function() { @@ -4782,23 +4782,23 @@ Exception_block_itemContext.prototype.block = function() { }; Exception_block_itemContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; Exception_block_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterException_block_item(this); } }; Exception_block_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitException_block_item(this); } }; Exception_block_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitException_block_item(this); } else { return visitor.visitChildren(this); @@ -4808,26 +4808,26 @@ Exception_block_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Exception_block_itemContext = Exception_block_itemContext; +HiveSql.Exception_block_itemContext = Exception_block_itemContext; -HiveSqlParser.prototype.exception_block_item = function() { +HiveSql.prototype.exception_block_item = function() { var localctx = new Exception_block_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 18, HiveSqlParser.RULE_exception_block_item); + this.enterRule(localctx, 18, HiveSql.RULE_exception_block_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 574; - this.match(HiveSqlParser.T_WHEN); + this.match(HiveSql.T_WHEN); this.state = 575; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 576; - this.match(HiveSqlParser.T_THEN); + this.match(HiveSql.T_THEN); this.state = 577; this.block(); this.state = 578; _la = this._input.LA(1); - if(_la<=0 || _la===HiveSqlParser.T_END || _la===HiveSqlParser.T_WHEN) { + if(_la<=0 || _la===HiveSql.T_END || _la===HiveSql.T_WHEN) { this._errHandler.recoverInline(this); } else { @@ -4858,7 +4858,7 @@ function Null_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_null_stmt; + this.ruleIndex = HiveSql.RULE_null_stmt; return this; } @@ -4866,23 +4866,23 @@ Null_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Null_stmtContext.prototype.constructor = Null_stmtContext; Null_stmtContext.prototype.T_NULL = function() { - return this.getToken(HiveSqlParser.T_NULL, 0); + return this.getToken(HiveSql.T_NULL, 0); }; Null_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterNull_stmt(this); } }; Null_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitNull_stmt(this); } }; Null_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitNull_stmt(this); } else { return visitor.visitChildren(this); @@ -4892,16 +4892,16 @@ Null_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Null_stmtContext = Null_stmtContext; +HiveSql.Null_stmtContext = Null_stmtContext; -HiveSqlParser.prototype.null_stmt = function() { +HiveSql.prototype.null_stmt = function() { var localctx = new Null_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 20, HiveSqlParser.RULE_null_stmt); + this.enterRule(localctx, 20, HiveSql.RULE_null_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 580; - this.match(HiveSqlParser.T_NULL); + this.match(HiveSql.T_NULL); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -4926,7 +4926,7 @@ function Expr_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_stmt; + this.ruleIndex = HiveSql.RULE_expr_stmt; return this; } @@ -4938,19 +4938,19 @@ Expr_stmtContext.prototype.expr = function() { }; Expr_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_stmt(this); } }; Expr_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_stmt(this); } }; Expr_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_stmt(this); } else { return visitor.visitChildren(this); @@ -4960,12 +4960,12 @@ Expr_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_stmtContext = Expr_stmtContext; +HiveSql.Expr_stmtContext = Expr_stmtContext; -HiveSqlParser.prototype.expr_stmt = function() { +HiveSql.prototype.expr_stmt = function() { var localctx = new Expr_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 22, HiveSqlParser.RULE_expr_stmt); + this.enterRule(localctx, 22, HiveSql.RULE_expr_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 582; @@ -4998,7 +4998,7 @@ function Assignment_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_assignment_stmt; + this.ruleIndex = HiveSql.RULE_assignment_stmt; return this; } @@ -5006,7 +5006,7 @@ Assignment_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.protot Assignment_stmtContext.prototype.constructor = Assignment_stmtContext; Assignment_stmtContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Assignment_stmtContext.prototype.set_session_option = function() { @@ -5029,27 +5029,27 @@ Assignment_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Assignment_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAssignment_stmt(this); } }; Assignment_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAssignment_stmt(this); } }; Assignment_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAssignment_stmt(this); } else { return visitor.visitChildren(this); @@ -5059,12 +5059,12 @@ Assignment_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Assignment_stmtContext = Assignment_stmtContext; +HiveSql.Assignment_stmtContext = Assignment_stmtContext; -HiveSqlParser.prototype.assignment_stmt = function() { +HiveSql.prototype.assignment_stmt = function() { var localctx = new Assignment_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 24, HiveSqlParser.RULE_assignment_stmt); + this.enterRule(localctx, 24, HiveSql.RULE_assignment_stmt); try { this.state = 598; this._errHandler.sync(this); @@ -5073,7 +5073,7 @@ HiveSqlParser.prototype.assignment_stmt = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 585; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); this.state = 586; this.set_session_option(); break; @@ -5085,7 +5085,7 @@ HiveSqlParser.prototype.assignment_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,13,this._ctx); if(la_===1) { this.state = 587; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); } this.state = 590; @@ -5096,7 +5096,7 @@ HiveSqlParser.prototype.assignment_stmt = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 591; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 592; this.assignment_stmt_item(); } @@ -5132,7 +5132,7 @@ function Assignment_stmt_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_assignment_stmt_item; + this.ruleIndex = HiveSql.RULE_assignment_stmt_item; return this; } @@ -5152,19 +5152,19 @@ Assignment_stmt_itemContext.prototype.assignment_stmt_select_item = function() { }; Assignment_stmt_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAssignment_stmt_item(this); } }; Assignment_stmt_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAssignment_stmt_item(this); } }; Assignment_stmt_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAssignment_stmt_item(this); } else { return visitor.visitChildren(this); @@ -5174,12 +5174,12 @@ Assignment_stmt_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Assignment_stmt_itemContext = Assignment_stmt_itemContext; +HiveSql.Assignment_stmt_itemContext = Assignment_stmt_itemContext; -HiveSqlParser.prototype.assignment_stmt_item = function() { +HiveSql.prototype.assignment_stmt_item = function() { var localctx = new Assignment_stmt_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 26, HiveSqlParser.RULE_assignment_stmt_item); + this.enterRule(localctx, 26, HiveSql.RULE_assignment_stmt_item); try { this.state = 603; this._errHandler.sync(this); @@ -5228,7 +5228,7 @@ function Assignment_stmt_single_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_assignment_stmt_single_item; + this.ruleIndex = HiveSql.RULE_assignment_stmt_single_item; return this; } @@ -5240,7 +5240,7 @@ Assignment_stmt_single_itemContext.prototype.ident = function() { }; Assignment_stmt_single_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Assignment_stmt_single_itemContext.prototype.expr = function() { @@ -5248,31 +5248,31 @@ Assignment_stmt_single_itemContext.prototype.expr = function() { }; Assignment_stmt_single_itemContext.prototype.T_COLON = function() { - return this.getToken(HiveSqlParser.T_COLON, 0); + return this.getToken(HiveSql.T_COLON, 0); }; Assignment_stmt_single_itemContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Assignment_stmt_single_itemContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Assignment_stmt_single_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAssignment_stmt_single_item(this); } }; Assignment_stmt_single_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAssignment_stmt_single_item(this); } }; Assignment_stmt_single_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAssignment_stmt_single_item(this); } else { return visitor.visitChildren(this); @@ -5282,370 +5282,370 @@ Assignment_stmt_single_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Assignment_stmt_single_itemContext = Assignment_stmt_single_itemContext; +HiveSql.Assignment_stmt_single_itemContext = Assignment_stmt_single_itemContext; -HiveSqlParser.prototype.assignment_stmt_single_item = function() { +HiveSql.prototype.assignment_stmt_single_item = function() { var localctx = new Assignment_stmt_single_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 28, HiveSqlParser.RULE_assignment_stmt_single_item); + this.enterRule(localctx, 28, HiveSql.RULE_assignment_stmt_single_item); var _la = 0; // Token type try { this.state = 621; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: this.enterOuterAlt(localctx, 1); this.state = 605; this.ident(); this.state = 607; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COLON) { + if(_la===HiveSql.T_COLON) { this.state = 606; - this.match(HiveSqlParser.T_COLON); + this.match(HiveSql.T_COLON); } this.state = 609; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 610; this.expr(0); break; - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_OPEN_P: this.enterOuterAlt(localctx, 2); this.state = 612; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 613; this.ident(); this.state = 614; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 616; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COLON) { + if(_la===HiveSql.T_COLON) { this.state = 615; - this.match(HiveSqlParser.T_COLON); + this.match(HiveSql.T_COLON); } this.state = 618; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 619; this.expr(0); break; @@ -5676,7 +5676,7 @@ function Assignment_stmt_multiple_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_assignment_stmt_multiple_item; + this.ruleIndex = HiveSql.RULE_assignment_stmt_multiple_item; return this; } @@ -5688,9 +5688,9 @@ Assignment_stmt_multiple_itemContext.prototype.T_OPEN_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_OPEN_P); + return this.getTokens(HiveSql.T_OPEN_P); } else { - return this.getToken(HiveSqlParser.T_OPEN_P, i); + return this.getToken(HiveSql.T_OPEN_P, i); } }; @@ -5711,15 +5711,15 @@ Assignment_stmt_multiple_itemContext.prototype.T_CLOSE_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_CLOSE_P); + return this.getTokens(HiveSql.T_CLOSE_P); } else { - return this.getToken(HiveSqlParser.T_CLOSE_P, i); + return this.getToken(HiveSql.T_CLOSE_P, i); } }; Assignment_stmt_multiple_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Assignment_stmt_multiple_itemContext.prototype.expr = function(i) { @@ -5738,31 +5738,31 @@ Assignment_stmt_multiple_itemContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Assignment_stmt_multiple_itemContext.prototype.T_COLON = function() { - return this.getToken(HiveSqlParser.T_COLON, 0); + return this.getToken(HiveSql.T_COLON, 0); }; Assignment_stmt_multiple_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAssignment_stmt_multiple_item(this); } }; Assignment_stmt_multiple_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAssignment_stmt_multiple_item(this); } }; Assignment_stmt_multiple_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAssignment_stmt_multiple_item(this); } else { return visitor.visitChildren(this); @@ -5772,25 +5772,25 @@ Assignment_stmt_multiple_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Assignment_stmt_multiple_itemContext = Assignment_stmt_multiple_itemContext; +HiveSql.Assignment_stmt_multiple_itemContext = Assignment_stmt_multiple_itemContext; -HiveSqlParser.prototype.assignment_stmt_multiple_item = function() { +HiveSql.prototype.assignment_stmt_multiple_item = function() { var localctx = new Assignment_stmt_multiple_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 30, HiveSqlParser.RULE_assignment_stmt_multiple_item); + this.enterRule(localctx, 30, HiveSql.RULE_assignment_stmt_multiple_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 623; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 624; this.ident(); this.state = 629; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 625; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 626; this.ident(); this.state = 631; @@ -5798,27 +5798,27 @@ HiveSqlParser.prototype.assignment_stmt_multiple_item = function() { _la = this._input.LA(1); } this.state = 632; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 634; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COLON) { + if(_la===HiveSql.T_COLON) { this.state = 633; - this.match(HiveSqlParser.T_COLON); + this.match(HiveSql.T_COLON); } this.state = 636; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 637; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 638; this.expr(0); this.state = 643; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 639; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 640; this.expr(0); this.state = 645; @@ -5826,7 +5826,7 @@ HiveSqlParser.prototype.assignment_stmt_multiple_item = function() { _la = this._input.LA(1); } this.state = 646; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -5851,7 +5851,7 @@ function Assignment_stmt_select_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_assignment_stmt_select_item; + this.ruleIndex = HiveSql.RULE_assignment_stmt_select_item; return this; } @@ -5859,7 +5859,7 @@ Assignment_stmt_select_itemContext.prototype = Object.create(antlr4.ParserRuleCo Assignment_stmt_select_itemContext.prototype.constructor = Assignment_stmt_select_itemContext; Assignment_stmt_select_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Assignment_stmt_select_itemContext.prototype.T_OPEN_P = function(i) { @@ -5867,9 +5867,9 @@ Assignment_stmt_select_itemContext.prototype.T_OPEN_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_OPEN_P); + return this.getTokens(HiveSql.T_OPEN_P); } else { - return this.getToken(HiveSqlParser.T_OPEN_P, i); + return this.getToken(HiveSql.T_OPEN_P, i); } }; @@ -5883,9 +5883,9 @@ Assignment_stmt_select_itemContext.prototype.T_CLOSE_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_CLOSE_P); + return this.getTokens(HiveSql.T_CLOSE_P); } else { - return this.getToken(HiveSqlParser.T_CLOSE_P, i); + return this.getToken(HiveSql.T_CLOSE_P, i); } }; @@ -5902,7 +5902,7 @@ Assignment_stmt_select_itemContext.prototype.ident = function(i) { }; Assignment_stmt_select_itemContext.prototype.T_COLON = function() { - return this.getToken(HiveSqlParser.T_COLON, 0); + return this.getToken(HiveSql.T_COLON, 0); }; Assignment_stmt_select_itemContext.prototype.T_COMMA = function(i) { @@ -5910,27 +5910,27 @@ Assignment_stmt_select_itemContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Assignment_stmt_select_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAssignment_stmt_select_item(this); } }; Assignment_stmt_select_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAssignment_stmt_select_item(this); } }; Assignment_stmt_select_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAssignment_stmt_select_item(this); } else { return visitor.visitChildren(this); @@ -5940,351 +5940,351 @@ Assignment_stmt_select_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Assignment_stmt_select_itemContext = Assignment_stmt_select_itemContext; +HiveSql.Assignment_stmt_select_itemContext = Assignment_stmt_select_itemContext; -HiveSqlParser.prototype.assignment_stmt_select_item = function() { +HiveSql.prototype.assignment_stmt_select_item = function() { var localctx = new Assignment_stmt_select_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 32, HiveSqlParser.RULE_assignment_stmt_select_item); + this.enterRule(localctx, 32, HiveSql.RULE_assignment_stmt_select_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 660; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: this.state = 648; this.ident(); break; - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_OPEN_P: this.state = 649; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 650; this.ident(); this.state = 655; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 651; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 652; this.ident(); this.state = 657; @@ -6292,7 +6292,7 @@ HiveSqlParser.prototype.assignment_stmt_select_item = function() { _la = this._input.LA(1); } this.state = 658; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; default: throw new antlr4.error.NoViableAltException(this); @@ -6300,19 +6300,19 @@ HiveSqlParser.prototype.assignment_stmt_select_item = function() { this.state = 663; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COLON) { + if(_la===HiveSql.T_COLON) { this.state = 662; - this.match(HiveSqlParser.T_COLON); + this.match(HiveSql.T_COLON); } this.state = 665; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 666; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 667; this.select_stmt(); this.state = 668; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -6337,7 +6337,7 @@ function Allocate_cursor_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_allocate_cursor_stmt; + this.ruleIndex = HiveSql.RULE_allocate_cursor_stmt; return this; } @@ -6345,7 +6345,7 @@ Allocate_cursor_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.p Allocate_cursor_stmtContext.prototype.constructor = Allocate_cursor_stmtContext; Allocate_cursor_stmtContext.prototype.T_ALLOCATE = function() { - return this.getToken(HiveSqlParser.T_ALLOCATE, 0); + return this.getToken(HiveSql.T_ALLOCATE, 0); }; Allocate_cursor_stmtContext.prototype.ident = function(i) { @@ -6360,39 +6360,39 @@ Allocate_cursor_stmtContext.prototype.ident = function(i) { }; Allocate_cursor_stmtContext.prototype.T_CURSOR = function() { - return this.getToken(HiveSqlParser.T_CURSOR, 0); + return this.getToken(HiveSql.T_CURSOR, 0); }; Allocate_cursor_stmtContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Allocate_cursor_stmtContext.prototype.T_PROCEDURE = function() { - return this.getToken(HiveSqlParser.T_PROCEDURE, 0); + return this.getToken(HiveSql.T_PROCEDURE, 0); }; Allocate_cursor_stmtContext.prototype.T_RESULT = function() { - return this.getToken(HiveSqlParser.T_RESULT, 0); + return this.getToken(HiveSql.T_RESULT, 0); }; Allocate_cursor_stmtContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Allocate_cursor_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAllocate_cursor_stmt(this); } }; Allocate_cursor_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAllocate_cursor_stmt(this); } }; Allocate_cursor_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAllocate_cursor_stmt(this); } else { return visitor.visitChildren(this); @@ -6402,34 +6402,34 @@ Allocate_cursor_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Allocate_cursor_stmtContext = Allocate_cursor_stmtContext; +HiveSql.Allocate_cursor_stmtContext = Allocate_cursor_stmtContext; -HiveSqlParser.prototype.allocate_cursor_stmt = function() { +HiveSql.prototype.allocate_cursor_stmt = function() { var localctx = new Allocate_cursor_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 34, HiveSqlParser.RULE_allocate_cursor_stmt); + this.enterRule(localctx, 34, HiveSql.RULE_allocate_cursor_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 670; - this.match(HiveSqlParser.T_ALLOCATE); + this.match(HiveSql.T_ALLOCATE); this.state = 671; this.ident(); this.state = 672; - this.match(HiveSqlParser.T_CURSOR); + this.match(HiveSql.T_CURSOR); this.state = 673; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 677; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_RESULT: + case HiveSql.T_RESULT: this.state = 674; - this.match(HiveSqlParser.T_RESULT); + this.match(HiveSql.T_RESULT); this.state = 675; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); break; - case HiveSqlParser.T_PROCEDURE: + case HiveSql.T_PROCEDURE: this.state = 676; - this.match(HiveSqlParser.T_PROCEDURE); + this.match(HiveSql.T_PROCEDURE); break; default: throw new antlr4.error.NoViableAltException(this); @@ -6460,7 +6460,7 @@ function Associate_locator_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_associate_locator_stmt; + this.ruleIndex = HiveSql.RULE_associate_locator_stmt; return this; } @@ -6468,11 +6468,11 @@ Associate_locator_stmtContext.prototype = Object.create(antlr4.ParserRuleContext Associate_locator_stmtContext.prototype.constructor = Associate_locator_stmtContext; Associate_locator_stmtContext.prototype.T_ASSOCIATE = function() { - return this.getToken(HiveSqlParser.T_ASSOCIATE, 0); + return this.getToken(HiveSql.T_ASSOCIATE, 0); }; Associate_locator_stmtContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Associate_locator_stmtContext.prototype.ident = function(i) { @@ -6487,31 +6487,31 @@ Associate_locator_stmtContext.prototype.ident = function(i) { }; Associate_locator_stmtContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Associate_locator_stmtContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Associate_locator_stmtContext.prototype.T_PROCEDURE = function() { - return this.getToken(HiveSqlParser.T_PROCEDURE, 0); + return this.getToken(HiveSql.T_PROCEDURE, 0); }; Associate_locator_stmtContext.prototype.T_LOCATOR = function() { - return this.getToken(HiveSqlParser.T_LOCATOR, 0); + return this.getToken(HiveSql.T_LOCATOR, 0); }; Associate_locator_stmtContext.prototype.T_LOCATORS = function() { - return this.getToken(HiveSqlParser.T_LOCATORS, 0); + return this.getToken(HiveSql.T_LOCATORS, 0); }; Associate_locator_stmtContext.prototype.T_RESULT = function() { - return this.getToken(HiveSqlParser.T_RESULT, 0); + return this.getToken(HiveSql.T_RESULT, 0); }; Associate_locator_stmtContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Associate_locator_stmtContext.prototype.T_COMMA = function(i) { @@ -6519,27 +6519,27 @@ Associate_locator_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Associate_locator_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAssociate_locator_stmt(this); } }; Associate_locator_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAssociate_locator_stmt(this); } }; Associate_locator_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAssociate_locator_stmt(this); } else { return visitor.visitChildren(this); @@ -6549,30 +6549,30 @@ Associate_locator_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Associate_locator_stmtContext = Associate_locator_stmtContext; +HiveSql.Associate_locator_stmtContext = Associate_locator_stmtContext; -HiveSqlParser.prototype.associate_locator_stmt = function() { +HiveSql.prototype.associate_locator_stmt = function() { var localctx = new Associate_locator_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 36, HiveSqlParser.RULE_associate_locator_stmt); + this.enterRule(localctx, 36, HiveSql.RULE_associate_locator_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 681; - this.match(HiveSqlParser.T_ASSOCIATE); + this.match(HiveSql.T_ASSOCIATE); this.state = 684; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_RESULT) { + if(_la===HiveSql.T_RESULT) { this.state = 682; - this.match(HiveSqlParser.T_RESULT); + this.match(HiveSql.T_RESULT); this.state = 683; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); } this.state = 686; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_LOCATOR || _la===HiveSqlParser.T_LOCATORS)) { + if(!(_la===HiveSql.T_LOCATOR || _la===HiveSql.T_LOCATORS)) { this._errHandler.recoverInline(this); } else { @@ -6580,15 +6580,15 @@ HiveSqlParser.prototype.associate_locator_stmt = function() { this.consume(); } this.state = 687; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 688; this.ident(); this.state = 693; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 689; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 690; this.ident(); this.state = 695; @@ -6596,11 +6596,11 @@ HiveSqlParser.prototype.associate_locator_stmt = function() { _la = this._input.LA(1); } this.state = 696; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 697; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 698; - this.match(HiveSqlParser.T_PROCEDURE); + this.match(HiveSql.T_PROCEDURE); this.state = 699; this.ident(); } catch (re) { @@ -6627,7 +6627,7 @@ function Begin_transaction_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_begin_transaction_stmt; + this.ruleIndex = HiveSql.RULE_begin_transaction_stmt; return this; } @@ -6635,27 +6635,27 @@ Begin_transaction_stmtContext.prototype = Object.create(antlr4.ParserRuleContext Begin_transaction_stmtContext.prototype.constructor = Begin_transaction_stmtContext; Begin_transaction_stmtContext.prototype.T_BEGIN = function() { - return this.getToken(HiveSqlParser.T_BEGIN, 0); + return this.getToken(HiveSql.T_BEGIN, 0); }; Begin_transaction_stmtContext.prototype.T_TRANSACTION = function() { - return this.getToken(HiveSqlParser.T_TRANSACTION, 0); + return this.getToken(HiveSql.T_TRANSACTION, 0); }; Begin_transaction_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBegin_transaction_stmt(this); } }; Begin_transaction_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBegin_transaction_stmt(this); } }; Begin_transaction_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBegin_transaction_stmt(this); } else { return visitor.visitChildren(this); @@ -6665,18 +6665,18 @@ Begin_transaction_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Begin_transaction_stmtContext = Begin_transaction_stmtContext; +HiveSql.Begin_transaction_stmtContext = Begin_transaction_stmtContext; -HiveSqlParser.prototype.begin_transaction_stmt = function() { +HiveSql.prototype.begin_transaction_stmt = function() { var localctx = new Begin_transaction_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 38, HiveSqlParser.RULE_begin_transaction_stmt); + this.enterRule(localctx, 38, HiveSql.RULE_begin_transaction_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 701; - this.match(HiveSqlParser.T_BEGIN); + this.match(HiveSql.T_BEGIN); this.state = 702; - this.match(HiveSqlParser.T_TRANSACTION); + this.match(HiveSql.T_TRANSACTION); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -6701,7 +6701,7 @@ function Break_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_break_stmt; + this.ruleIndex = HiveSql.RULE_break_stmt; return this; } @@ -6709,23 +6709,23 @@ Break_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Break_stmtContext.prototype.constructor = Break_stmtContext; Break_stmtContext.prototype.T_BREAK = function() { - return this.getToken(HiveSqlParser.T_BREAK, 0); + return this.getToken(HiveSql.T_BREAK, 0); }; Break_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBreak_stmt(this); } }; Break_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBreak_stmt(this); } }; Break_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBreak_stmt(this); } else { return visitor.visitChildren(this); @@ -6735,16 +6735,16 @@ Break_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Break_stmtContext = Break_stmtContext; +HiveSql.Break_stmtContext = Break_stmtContext; -HiveSqlParser.prototype.break_stmt = function() { +HiveSql.prototype.break_stmt = function() { var localctx = new Break_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 40, HiveSqlParser.RULE_break_stmt); + this.enterRule(localctx, 40, HiveSql.RULE_break_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 704; - this.match(HiveSqlParser.T_BREAK); + this.match(HiveSql.T_BREAK); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -6769,7 +6769,7 @@ function Call_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_call_stmt; + this.ruleIndex = HiveSql.RULE_call_stmt; return this; } @@ -6777,7 +6777,7 @@ Call_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Call_stmtContext.prototype.constructor = Call_stmtContext; Call_stmtContext.prototype.T_CALL = function() { - return this.getToken(HiveSqlParser.T_CALL, 0); + return this.getToken(HiveSql.T_CALL, 0); }; Call_stmtContext.prototype.ident = function() { @@ -6785,11 +6785,11 @@ Call_stmtContext.prototype.ident = function() { }; Call_stmtContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Call_stmtContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Call_stmtContext.prototype.expr_func_params = function() { @@ -6797,19 +6797,19 @@ Call_stmtContext.prototype.expr_func_params = function() { }; Call_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCall_stmt(this); } }; Call_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCall_stmt(this); } }; Call_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCall_stmt(this); } else { return visitor.visitChildren(this); @@ -6819,16 +6819,16 @@ Call_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Call_stmtContext = Call_stmtContext; +HiveSql.Call_stmtContext = Call_stmtContext; -HiveSqlParser.prototype.call_stmt = function() { +HiveSql.prototype.call_stmt = function() { var localctx = new Call_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 42, HiveSqlParser.RULE_call_stmt); + this.enterRule(localctx, 42, HiveSql.RULE_call_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 706; - this.match(HiveSqlParser.T_CALL); + this.match(HiveSql.T_CALL); this.state = 707; this.ident(); this.state = 714; @@ -6836,7 +6836,7 @@ HiveSqlParser.prototype.call_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,30,this._ctx); if(la_===1) { this.state = 708; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 710; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,29,this._ctx); @@ -6846,7 +6846,7 @@ HiveSqlParser.prototype.call_stmt = function() { } this.state = 712; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } else if(la_===2) { this.state = 713; @@ -6877,7 +6877,7 @@ function Declare_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_stmt; + this.ruleIndex = HiveSql.RULE_declare_stmt; return this; } @@ -6885,7 +6885,7 @@ Declare_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Declare_stmtContext.prototype.constructor = Declare_stmtContext; Declare_stmtContext.prototype.T_DECLARE = function() { - return this.getToken(HiveSqlParser.T_DECLARE, 0); + return this.getToken(HiveSql.T_DECLARE, 0); }; Declare_stmtContext.prototype.declare_stmt_item = function(i) { @@ -6904,27 +6904,27 @@ Declare_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Declare_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_stmt(this); } }; Declare_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_stmt(this); } }; Declare_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_stmt(this); } else { return visitor.visitChildren(this); @@ -6934,16 +6934,16 @@ Declare_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_stmtContext = Declare_stmtContext; +HiveSql.Declare_stmtContext = Declare_stmtContext; -HiveSqlParser.prototype.declare_stmt = function() { +HiveSql.prototype.declare_stmt = function() { var localctx = new Declare_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 44, HiveSqlParser.RULE_declare_stmt); + this.enterRule(localctx, 44, HiveSql.RULE_declare_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 716; - this.match(HiveSqlParser.T_DECLARE); + this.match(HiveSql.T_DECLARE); this.state = 717; this.declare_stmt_item(); this.state = 722; @@ -6952,7 +6952,7 @@ HiveSqlParser.prototype.declare_stmt = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 718; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 719; this.declare_stmt_item(); } @@ -6985,7 +6985,7 @@ function Declare_blockContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_block; + this.ruleIndex = HiveSql.RULE_declare_block; return this; } @@ -6993,7 +6993,7 @@ Declare_blockContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Declare_blockContext.prototype.constructor = Declare_blockContext; Declare_blockContext.prototype.T_DECLARE = function() { - return this.getToken(HiveSqlParser.T_DECLARE, 0); + return this.getToken(HiveSql.T_DECLARE, 0); }; Declare_blockContext.prototype.declare_stmt_item = function(i) { @@ -7012,27 +7012,27 @@ Declare_blockContext.prototype.T_SEMICOLON = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_SEMICOLON); + return this.getTokens(HiveSql.T_SEMICOLON); } else { - return this.getToken(HiveSqlParser.T_SEMICOLON, i); + return this.getToken(HiveSql.T_SEMICOLON, i); } }; Declare_blockContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_block(this); } }; Declare_blockContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_block(this); } }; Declare_blockContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_block(this); } else { return visitor.visitChildren(this); @@ -7042,20 +7042,20 @@ Declare_blockContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_blockContext = Declare_blockContext; +HiveSql.Declare_blockContext = Declare_blockContext; -HiveSqlParser.prototype.declare_block = function() { +HiveSql.prototype.declare_block = function() { var localctx = new Declare_blockContext(this, this._ctx, this.state); - this.enterRule(localctx, 46, HiveSqlParser.RULE_declare_block); + this.enterRule(localctx, 46, HiveSql.RULE_declare_block); try { this.enterOuterAlt(localctx, 1); this.state = 725; - this.match(HiveSqlParser.T_DECLARE); + this.match(HiveSql.T_DECLARE); this.state = 726; this.declare_stmt_item(); this.state = 727; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); this.state = 733; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,32,this._ctx) @@ -7064,7 +7064,7 @@ HiveSqlParser.prototype.declare_block = function() { this.state = 728; this.declare_stmt_item(); this.state = 729; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); } this.state = 735; this._errHandler.sync(this); @@ -7095,7 +7095,7 @@ function Declare_block_inplaceContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_block_inplace; + this.ruleIndex = HiveSql.RULE_declare_block_inplace; return this; } @@ -7118,27 +7118,27 @@ Declare_block_inplaceContext.prototype.T_SEMICOLON = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_SEMICOLON); + return this.getTokens(HiveSql.T_SEMICOLON); } else { - return this.getToken(HiveSqlParser.T_SEMICOLON, i); + return this.getToken(HiveSql.T_SEMICOLON, i); } }; Declare_block_inplaceContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_block_inplace(this); } }; Declare_block_inplaceContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_block_inplace(this); } }; Declare_block_inplaceContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_block_inplace(this); } else { return visitor.visitChildren(this); @@ -7148,18 +7148,18 @@ Declare_block_inplaceContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_block_inplaceContext = Declare_block_inplaceContext; +HiveSql.Declare_block_inplaceContext = Declare_block_inplaceContext; -HiveSqlParser.prototype.declare_block_inplace = function() { +HiveSql.prototype.declare_block_inplace = function() { var localctx = new Declare_block_inplaceContext(this, this._ctx, this.state); - this.enterRule(localctx, 48, HiveSqlParser.RULE_declare_block_inplace); + this.enterRule(localctx, 48, HiveSql.RULE_declare_block_inplace); try { this.enterOuterAlt(localctx, 1); this.state = 736; this.declare_stmt_item(); this.state = 737; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); this.state = 743; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,33,this._ctx) @@ -7168,7 +7168,7 @@ HiveSqlParser.prototype.declare_block_inplace = function() { this.state = 738; this.declare_stmt_item(); this.state = 739; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); } this.state = 745; this._errHandler.sync(this); @@ -7199,7 +7199,7 @@ function Declare_stmt_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_stmt_item; + this.ruleIndex = HiveSql.RULE_declare_stmt_item; return this; } @@ -7227,19 +7227,19 @@ Declare_stmt_itemContext.prototype.declare_temporary_table_item = function() { }; Declare_stmt_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_stmt_item(this); } }; Declare_stmt_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_stmt_item(this); } }; Declare_stmt_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_stmt_item(this); } else { return visitor.visitChildren(this); @@ -7249,12 +7249,12 @@ Declare_stmt_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_stmt_itemContext = Declare_stmt_itemContext; +HiveSql.Declare_stmt_itemContext = Declare_stmt_itemContext; -HiveSqlParser.prototype.declare_stmt_item = function() { +HiveSql.prototype.declare_stmt_item = function() { var localctx = new Declare_stmt_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 50, HiveSqlParser.RULE_declare_stmt_item); + this.enterRule(localctx, 50, HiveSql.RULE_declare_stmt_item); try { this.state = 751; this._errHandler.sync(this); @@ -7315,7 +7315,7 @@ function Declare_var_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_var_item; + this.ruleIndex = HiveSql.RULE_declare_var_item; return this; } @@ -7342,15 +7342,15 @@ Declare_var_itemContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Declare_var_itemContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Declare_var_itemContext.prototype.dtype_len = function() { @@ -7373,23 +7373,23 @@ Declare_var_itemContext.prototype.dtype_default = function() { }; Declare_var_itemContext.prototype.T_CONSTANT = function() { - return this.getToken(HiveSqlParser.T_CONSTANT, 0); + return this.getToken(HiveSql.T_CONSTANT, 0); }; Declare_var_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_var_item(this); } }; Declare_var_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_var_item(this); } }; Declare_var_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_var_item(this); } else { return visitor.visitChildren(this); @@ -7399,12 +7399,12 @@ Declare_var_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_var_itemContext = Declare_var_itemContext; +HiveSql.Declare_var_itemContext = Declare_var_itemContext; -HiveSqlParser.prototype.declare_var_item = function() { +HiveSql.prototype.declare_var_item = function() { var localctx = new Declare_var_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 52, HiveSqlParser.RULE_declare_var_item); + this.enterRule(localctx, 52, HiveSql.RULE_declare_var_item); var _la = 0; // Token type try { this.state = 788; @@ -7418,9 +7418,9 @@ HiveSqlParser.prototype.declare_var_item = function() { this.state = 758; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 754; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 755; this.ident(); this.state = 760; @@ -7432,7 +7432,7 @@ HiveSqlParser.prototype.declare_var_item = function() { var la_ = this._interp.adaptivePredict(this._input,36,this._ctx); if(la_===1) { this.state = 761; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 764; @@ -7473,13 +7473,13 @@ HiveSqlParser.prototype.declare_var_item = function() { this.state = 777; this.ident(); this.state = 778; - this.match(HiveSqlParser.T_CONSTANT); + this.match(HiveSql.T_CONSTANT); this.state = 780; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,40,this._ctx); if(la_===1) { this.state = 779; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 782; @@ -7487,7 +7487,7 @@ HiveSqlParser.prototype.declare_var_item = function() { this.state = 784; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OPEN_P) { + if(_la===HiveSql.T_OPEN_P) { this.state = 783; this.dtype_len(); } @@ -7521,7 +7521,7 @@ function Declare_condition_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_condition_item; + this.ruleIndex = HiveSql.RULE_declare_condition_item; return this; } @@ -7533,23 +7533,23 @@ Declare_condition_itemContext.prototype.ident = function() { }; Declare_condition_itemContext.prototype.T_CONDITION = function() { - return this.getToken(HiveSqlParser.T_CONDITION, 0); + return this.getToken(HiveSql.T_CONDITION, 0); }; Declare_condition_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_condition_item(this); } }; Declare_condition_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_condition_item(this); } }; Declare_condition_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_condition_item(this); } else { return visitor.visitChildren(this); @@ -7559,18 +7559,18 @@ Declare_condition_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_condition_itemContext = Declare_condition_itemContext; +HiveSql.Declare_condition_itemContext = Declare_condition_itemContext; -HiveSqlParser.prototype.declare_condition_item = function() { +HiveSql.prototype.declare_condition_item = function() { var localctx = new Declare_condition_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 54, HiveSqlParser.RULE_declare_condition_item); + this.enterRule(localctx, 54, HiveSql.RULE_declare_condition_item); try { this.enterOuterAlt(localctx, 1); this.state = 790; this.ident(); this.state = 791; - this.match(HiveSqlParser.T_CONDITION); + this.match(HiveSql.T_CONDITION); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -7595,7 +7595,7 @@ function Declare_cursor_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_cursor_item; + this.ruleIndex = HiveSql.RULE_declare_cursor_item; return this; } @@ -7603,19 +7603,19 @@ Declare_cursor_itemContext.prototype = Object.create(antlr4.ParserRuleContext.pr Declare_cursor_itemContext.prototype.constructor = Declare_cursor_itemContext; Declare_cursor_itemContext.prototype.T_IS = function() { - return this.getToken(HiveSqlParser.T_IS, 0); + return this.getToken(HiveSql.T_IS, 0); }; Declare_cursor_itemContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Declare_cursor_itemContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Declare_cursor_itemContext.prototype.T_CURSOR = function() { - return this.getToken(HiveSqlParser.T_CURSOR, 0); + return this.getToken(HiveSql.T_CURSOR, 0); }; Declare_cursor_itemContext.prototype.ident = function() { @@ -7639,19 +7639,19 @@ Declare_cursor_itemContext.prototype.cursor_without_return = function() { }; Declare_cursor_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_cursor_item(this); } }; Declare_cursor_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_cursor_item(this); } }; Declare_cursor_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_cursor_item(this); } else { return visitor.visitChildren(this); @@ -7661,12 +7661,12 @@ Declare_cursor_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_cursor_itemContext = Declare_cursor_itemContext; +HiveSql.Declare_cursor_itemContext = Declare_cursor_itemContext; -HiveSqlParser.prototype.declare_cursor_item = function() { +HiveSql.prototype.declare_cursor_item = function() { var localctx = new Declare_cursor_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 56, HiveSqlParser.RULE_declare_cursor_item); + this.enterRule(localctx, 56, HiveSql.RULE_declare_cursor_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -7676,7 +7676,7 @@ HiveSqlParser.prototype.declare_cursor_item = function() { switch(la_) { case 1: this.state = 793; - this.match(HiveSqlParser.T_CURSOR); + this.match(HiveSql.T_CURSOR); this.state = 794; this.ident(); break; @@ -7685,31 +7685,31 @@ HiveSqlParser.prototype.declare_cursor_item = function() { this.state = 795; this.ident(); this.state = 796; - this.match(HiveSqlParser.T_CURSOR); + this.match(HiveSql.T_CURSOR); break; } this.state = 802; this._errHandler.sync(this); switch (this._input.LA(1)) { - case HiveSqlParser.T_WITH: + case HiveSql.T_WITH: this.state = 800; this.cursor_with_return(); break; - case HiveSqlParser.T_WITHOUT: + case HiveSql.T_WITHOUT: this.state = 801; this.cursor_without_return(); break; - case HiveSqlParser.T_AS: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_IS: + case HiveSql.T_AS: + case HiveSql.T_FOR: + case HiveSql.T_IS: break; default: break; } this.state = 804; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_AS || _la===HiveSqlParser.T_FOR || _la===HiveSqlParser.T_IS)) { + if(!(_la===HiveSql.T_AS || _la===HiveSql.T_FOR || _la===HiveSql.T_IS)) { this._errHandler.recoverInline(this); } else { @@ -7755,7 +7755,7 @@ function Cursor_with_returnContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_cursor_with_return; + this.ruleIndex = HiveSql.RULE_cursor_with_return; return this; } @@ -7763,43 +7763,43 @@ Cursor_with_returnContext.prototype = Object.create(antlr4.ParserRuleContext.pro Cursor_with_returnContext.prototype.constructor = Cursor_with_returnContext; Cursor_with_returnContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Cursor_with_returnContext.prototype.T_RETURN = function() { - return this.getToken(HiveSqlParser.T_RETURN, 0); + return this.getToken(HiveSql.T_RETURN, 0); }; Cursor_with_returnContext.prototype.T_ONLY = function() { - return this.getToken(HiveSqlParser.T_ONLY, 0); + return this.getToken(HiveSql.T_ONLY, 0); }; Cursor_with_returnContext.prototype.T_TO = function() { - return this.getToken(HiveSqlParser.T_TO, 0); + return this.getToken(HiveSql.T_TO, 0); }; Cursor_with_returnContext.prototype.T_CALLER = function() { - return this.getToken(HiveSqlParser.T_CALLER, 0); + return this.getToken(HiveSql.T_CALLER, 0); }; Cursor_with_returnContext.prototype.T_CLIENT = function() { - return this.getToken(HiveSqlParser.T_CLIENT, 0); + return this.getToken(HiveSql.T_CLIENT, 0); }; Cursor_with_returnContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCursor_with_return(this); } }; Cursor_with_returnContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCursor_with_return(this); } }; Cursor_with_returnContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCursor_with_return(this); } else { return visitor.visitChildren(this); @@ -7809,36 +7809,36 @@ Cursor_with_returnContext.prototype.accept = function(visitor) { -HiveSqlParser.Cursor_with_returnContext = Cursor_with_returnContext; +HiveSql.Cursor_with_returnContext = Cursor_with_returnContext; -HiveSqlParser.prototype.cursor_with_return = function() { +HiveSql.prototype.cursor_with_return = function() { var localctx = new Cursor_with_returnContext(this, this._ctx, this.state); - this.enterRule(localctx, 58, HiveSqlParser.RULE_cursor_with_return); + this.enterRule(localctx, 58, HiveSql.RULE_cursor_with_return); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 809; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 810; - this.match(HiveSqlParser.T_RETURN); + this.match(HiveSql.T_RETURN); this.state = 812; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ONLY) { + if(_la===HiveSql.T_ONLY) { this.state = 811; - this.match(HiveSqlParser.T_ONLY); + this.match(HiveSql.T_ONLY); } this.state = 816; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_TO) { + if(_la===HiveSql.T_TO) { this.state = 814; - this.match(HiveSqlParser.T_TO); + this.match(HiveSql.T_TO); this.state = 815; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_CALLER || _la===HiveSqlParser.T_CLIENT)) { + if(!(_la===HiveSql.T_CALLER || _la===HiveSql.T_CLIENT)) { this._errHandler.recoverInline(this); } else { @@ -7871,7 +7871,7 @@ function Cursor_without_returnContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_cursor_without_return; + this.ruleIndex = HiveSql.RULE_cursor_without_return; return this; } @@ -7879,27 +7879,27 @@ Cursor_without_returnContext.prototype = Object.create(antlr4.ParserRuleContext. Cursor_without_returnContext.prototype.constructor = Cursor_without_returnContext; Cursor_without_returnContext.prototype.T_WITHOUT = function() { - return this.getToken(HiveSqlParser.T_WITHOUT, 0); + return this.getToken(HiveSql.T_WITHOUT, 0); }; Cursor_without_returnContext.prototype.T_RETURN = function() { - return this.getToken(HiveSqlParser.T_RETURN, 0); + return this.getToken(HiveSql.T_RETURN, 0); }; Cursor_without_returnContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCursor_without_return(this); } }; Cursor_without_returnContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCursor_without_return(this); } }; Cursor_without_returnContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCursor_without_return(this); } else { return visitor.visitChildren(this); @@ -7909,18 +7909,18 @@ Cursor_without_returnContext.prototype.accept = function(visitor) { -HiveSqlParser.Cursor_without_returnContext = Cursor_without_returnContext; +HiveSql.Cursor_without_returnContext = Cursor_without_returnContext; -HiveSqlParser.prototype.cursor_without_return = function() { +HiveSql.prototype.cursor_without_return = function() { var localctx = new Cursor_without_returnContext(this, this._ctx, this.state); - this.enterRule(localctx, 60, HiveSqlParser.RULE_cursor_without_return); + this.enterRule(localctx, 60, HiveSql.RULE_cursor_without_return); try { this.enterOuterAlt(localctx, 1); this.state = 818; - this.match(HiveSqlParser.T_WITHOUT); + this.match(HiveSql.T_WITHOUT); this.state = 819; - this.match(HiveSqlParser.T_RETURN); + this.match(HiveSql.T_RETURN); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -7945,7 +7945,7 @@ function Declare_handler_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_handler_item; + this.ruleIndex = HiveSql.RULE_declare_handler_item; return this; } @@ -7953,11 +7953,11 @@ Declare_handler_itemContext.prototype = Object.create(antlr4.ParserRuleContext.p Declare_handler_itemContext.prototype.constructor = Declare_handler_itemContext; Declare_handler_itemContext.prototype.T_HANDLER = function() { - return this.getToken(HiveSqlParser.T_HANDLER, 0); + return this.getToken(HiveSql.T_HANDLER, 0); }; Declare_handler_itemContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Declare_handler_itemContext.prototype.single_block_stmt = function() { @@ -7965,27 +7965,27 @@ Declare_handler_itemContext.prototype.single_block_stmt = function() { }; Declare_handler_itemContext.prototype.T_CONTINUE = function() { - return this.getToken(HiveSqlParser.T_CONTINUE, 0); + return this.getToken(HiveSql.T_CONTINUE, 0); }; Declare_handler_itemContext.prototype.T_EXIT = function() { - return this.getToken(HiveSqlParser.T_EXIT, 0); + return this.getToken(HiveSql.T_EXIT, 0); }; Declare_handler_itemContext.prototype.T_SQLEXCEPTION = function() { - return this.getToken(HiveSqlParser.T_SQLEXCEPTION, 0); + return this.getToken(HiveSql.T_SQLEXCEPTION, 0); }; Declare_handler_itemContext.prototype.T_SQLWARNING = function() { - return this.getToken(HiveSqlParser.T_SQLWARNING, 0); + return this.getToken(HiveSql.T_SQLWARNING, 0); }; Declare_handler_itemContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Declare_handler_itemContext.prototype.T_FOUND = function() { - return this.getToken(HiveSqlParser.T_FOUND, 0); + return this.getToken(HiveSql.T_FOUND, 0); }; Declare_handler_itemContext.prototype.ident = function() { @@ -7993,19 +7993,19 @@ Declare_handler_itemContext.prototype.ident = function() { }; Declare_handler_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_handler_item(this); } }; Declare_handler_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_handler_item(this); } }; Declare_handler_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_handler_item(this); } else { return visitor.visitChildren(this); @@ -8015,18 +8015,18 @@ Declare_handler_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_handler_itemContext = Declare_handler_itemContext; +HiveSql.Declare_handler_itemContext = Declare_handler_itemContext; -HiveSqlParser.prototype.declare_handler_item = function() { +HiveSql.prototype.declare_handler_item = function() { var localctx = new Declare_handler_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 62, HiveSqlParser.RULE_declare_handler_item); + this.enterRule(localctx, 62, HiveSql.RULE_declare_handler_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 821; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_CONTINUE || _la===HiveSqlParser.T_EXIT)) { + if(!(_la===HiveSql.T_CONTINUE || _la===HiveSql.T_EXIT)) { this._errHandler.recoverInline(this); } else { @@ -8034,28 +8034,28 @@ HiveSqlParser.prototype.declare_handler_item = function() { this.consume(); } this.state = 822; - this.match(HiveSqlParser.T_HANDLER); + this.match(HiveSql.T_HANDLER); this.state = 823; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 829; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,48,this._ctx); switch(la_) { case 1: this.state = 824; - this.match(HiveSqlParser.T_SQLEXCEPTION); + this.match(HiveSql.T_SQLEXCEPTION); break; case 2: this.state = 825; - this.match(HiveSqlParser.T_SQLWARNING); + this.match(HiveSql.T_SQLWARNING); break; case 3: this.state = 826; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); this.state = 827; - this.match(HiveSqlParser.T_FOUND); + this.match(HiveSql.T_FOUND); break; case 4: @@ -8090,7 +8090,7 @@ function Declare_temporary_table_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_declare_temporary_table_item; + this.ruleIndex = HiveSql.RULE_declare_temporary_table_item; return this; } @@ -8098,11 +8098,11 @@ Declare_temporary_table_itemContext.prototype = Object.create(antlr4.ParserRuleC Declare_temporary_table_itemContext.prototype.constructor = Declare_temporary_table_itemContext; Declare_temporary_table_itemContext.prototype.T_TEMPORARY = function() { - return this.getToken(HiveSqlParser.T_TEMPORARY, 0); + return this.getToken(HiveSql.T_TEMPORARY, 0); }; Declare_temporary_table_itemContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Declare_temporary_table_itemContext.prototype.ident = function() { @@ -8114,7 +8114,7 @@ Declare_temporary_table_itemContext.prototype.create_table_definition = function }; Declare_temporary_table_itemContext.prototype.T_GLOBAL = function() { - return this.getToken(HiveSqlParser.T_GLOBAL, 0); + return this.getToken(HiveSql.T_GLOBAL, 0); }; Declare_temporary_table_itemContext.prototype.create_table_preoptions = function() { @@ -8122,19 +8122,19 @@ Declare_temporary_table_itemContext.prototype.create_table_preoptions = function }; Declare_temporary_table_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDeclare_temporary_table_item(this); } }; Declare_temporary_table_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDeclare_temporary_table_item(this); } }; Declare_temporary_table_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDeclare_temporary_table_item(this); } else { return visitor.visitChildren(this); @@ -8144,33 +8144,33 @@ Declare_temporary_table_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Declare_temporary_table_itemContext = Declare_temporary_table_itemContext; +HiveSql.Declare_temporary_table_itemContext = Declare_temporary_table_itemContext; -HiveSqlParser.prototype.declare_temporary_table_item = function() { +HiveSql.prototype.declare_temporary_table_item = function() { var localctx = new Declare_temporary_table_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 64, HiveSqlParser.RULE_declare_temporary_table_item); + this.enterRule(localctx, 64, HiveSql.RULE_declare_temporary_table_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 834; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_GLOBAL) { + if(_la===HiveSql.T_GLOBAL) { this.state = 833; - this.match(HiveSqlParser.T_GLOBAL); + this.match(HiveSql.T_GLOBAL); } this.state = 836; - this.match(HiveSqlParser.T_TEMPORARY); + this.match(HiveSql.T_TEMPORARY); this.state = 837; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); this.state = 838; this.ident(); this.state = 840; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ROW || _la===HiveSqlParser.T_STORED || _la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_ROW || _la===HiveSql.T_STORED || _la===HiveSql.T_COMMA) { this.state = 839; this.create_table_preoptions(); } @@ -8201,7 +8201,7 @@ function Create_table_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_stmt; + this.ruleIndex = HiveSql.RULE_create_table_stmt; return this; } @@ -8209,11 +8209,11 @@ Create_table_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prot Create_table_stmtContext.prototype.constructor = Create_table_stmtContext; Create_table_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_table_stmtContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Create_table_stmtContext.prototype.table_name = function() { @@ -8225,15 +8225,15 @@ Create_table_stmtContext.prototype.create_table_definition = function() { }; Create_table_stmtContext.prototype.T_IF = function() { - return this.getToken(HiveSqlParser.T_IF, 0); + return this.getToken(HiveSql.T_IF, 0); }; Create_table_stmtContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Create_table_stmtContext.prototype.T_EXISTS = function() { - return this.getToken(HiveSqlParser.T_EXISTS, 0); + return this.getToken(HiveSql.T_EXISTS, 0); }; Create_table_stmtContext.prototype.create_table_preoptions = function() { @@ -8241,19 +8241,19 @@ Create_table_stmtContext.prototype.create_table_preoptions = function() { }; Create_table_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_stmt(this); } }; Create_table_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_stmt(this); } }; Create_table_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_stmt(this); } else { return visitor.visitChildren(this); @@ -8263,29 +8263,29 @@ Create_table_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_stmtContext = Create_table_stmtContext; +HiveSql.Create_table_stmtContext = Create_table_stmtContext; -HiveSqlParser.prototype.create_table_stmt = function() { +HiveSql.prototype.create_table_stmt = function() { var localctx = new Create_table_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 66, HiveSqlParser.RULE_create_table_stmt); + this.enterRule(localctx, 66, HiveSql.RULE_create_table_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 844; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 845; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); this.state = 849; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,51,this._ctx); if(la_===1) { this.state = 846; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); this.state = 847; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); this.state = 848; - this.match(HiveSqlParser.T_EXISTS); + this.match(HiveSql.T_EXISTS); } this.state = 851; @@ -8293,7 +8293,7 @@ HiveSqlParser.prototype.create_table_stmt = function() { this.state = 853; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ROW || _la===HiveSqlParser.T_STORED || _la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_ROW || _la===HiveSql.T_STORED || _la===HiveSql.T_COMMA) { this.state = 852; this.create_table_preoptions(); } @@ -8324,7 +8324,7 @@ function Create_local_temp_table_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_local_temp_table_stmt; + this.ruleIndex = HiveSql.RULE_create_local_temp_table_stmt; return this; } @@ -8332,11 +8332,11 @@ Create_local_temp_table_stmtContext.prototype = Object.create(antlr4.ParserRuleC Create_local_temp_table_stmtContext.prototype.constructor = Create_local_temp_table_stmtContext; Create_local_temp_table_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_local_temp_table_stmtContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Create_local_temp_table_stmtContext.prototype.ident = function() { @@ -8348,15 +8348,15 @@ Create_local_temp_table_stmtContext.prototype.create_table_definition = function }; Create_local_temp_table_stmtContext.prototype.T_LOCAL = function() { - return this.getToken(HiveSqlParser.T_LOCAL, 0); + return this.getToken(HiveSql.T_LOCAL, 0); }; Create_local_temp_table_stmtContext.prototype.T_TEMPORARY = function() { - return this.getToken(HiveSqlParser.T_TEMPORARY, 0); + return this.getToken(HiveSql.T_TEMPORARY, 0); }; Create_local_temp_table_stmtContext.prototype.T_VOLATILE = function() { - return this.getToken(HiveSqlParser.T_VOLATILE, 0); + return this.getToken(HiveSql.T_VOLATILE, 0); }; Create_local_temp_table_stmtContext.prototype.create_table_preoptions = function() { @@ -8364,27 +8364,27 @@ Create_local_temp_table_stmtContext.prototype.create_table_preoptions = function }; Create_local_temp_table_stmtContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Create_local_temp_table_stmtContext.prototype.T_MULTISET = function() { - return this.getToken(HiveSqlParser.T_MULTISET, 0); + return this.getToken(HiveSql.T_MULTISET, 0); }; Create_local_temp_table_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_local_temp_table_stmt(this); } }; Create_local_temp_table_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_local_temp_table_stmt(this); } }; Create_local_temp_table_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_local_temp_table_stmt(this); } else { return visitor.visitChildren(this); @@ -8394,36 +8394,36 @@ Create_local_temp_table_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_local_temp_table_stmtContext = Create_local_temp_table_stmtContext; +HiveSql.Create_local_temp_table_stmtContext = Create_local_temp_table_stmtContext; -HiveSqlParser.prototype.create_local_temp_table_stmt = function() { +HiveSql.prototype.create_local_temp_table_stmt = function() { var localctx = new Create_local_temp_table_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 68, HiveSqlParser.RULE_create_local_temp_table_stmt); + this.enterRule(localctx, 68, HiveSql.RULE_create_local_temp_table_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 857; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 864; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_LOCAL: + case HiveSql.T_LOCAL: this.state = 858; - this.match(HiveSqlParser.T_LOCAL); + this.match(HiveSql.T_LOCAL); this.state = 859; - this.match(HiveSqlParser.T_TEMPORARY); + this.match(HiveSql.T_TEMPORARY); break; - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_VOLATILE: + case HiveSql.T_MULTISET: + case HiveSql.T_SET: + case HiveSql.T_VOLATILE: this.state = 861; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_MULTISET || _la===HiveSqlParser.T_SET) { + if(_la===HiveSql.T_MULTISET || _la===HiveSql.T_SET) { this.state = 860; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_MULTISET || _la===HiveSqlParser.T_SET)) { + if(!(_la===HiveSql.T_MULTISET || _la===HiveSql.T_SET)) { this._errHandler.recoverInline(this); } else { @@ -8433,19 +8433,19 @@ HiveSqlParser.prototype.create_local_temp_table_stmt = function() { } this.state = 863; - this.match(HiveSqlParser.T_VOLATILE); + this.match(HiveSql.T_VOLATILE); break; default: throw new antlr4.error.NoViableAltException(this); } this.state = 866; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); this.state = 867; this.ident(); this.state = 869; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ROW || _la===HiveSqlParser.T_STORED || _la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_ROW || _la===HiveSql.T_STORED || _la===HiveSql.T_COMMA) { this.state = 868; this.create_table_preoptions(); } @@ -8476,7 +8476,7 @@ function Create_table_definitionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_definition; + this.ruleIndex = HiveSql.RULE_create_table_definition; return this; } @@ -8484,7 +8484,7 @@ Create_table_definitionContext.prototype = Object.create(antlr4.ParserRuleContex Create_table_definitionContext.prototype.constructor = Create_table_definitionContext; Create_table_definitionContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Create_table_definitionContext.prototype.select_stmt = function() { @@ -8492,7 +8492,7 @@ Create_table_definitionContext.prototype.select_stmt = function() { }; Create_table_definitionContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Create_table_definitionContext.prototype.create_table_columns = function() { @@ -8504,23 +8504,23 @@ Create_table_definitionContext.prototype.create_table_options = function() { }; Create_table_definitionContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Create_table_definitionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_definition(this); } }; Create_table_definitionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_definition(this); } }; Create_table_definitionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_definition(this); } else { return visitor.visitChildren(this); @@ -8530,12 +8530,12 @@ Create_table_definitionContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_definitionContext = Create_table_definitionContext; +HiveSql.Create_table_definitionContext = Create_table_definitionContext; -HiveSqlParser.prototype.create_table_definition = function() { +HiveSql.prototype.create_table_definition = function() { var localctx = new Create_table_definitionContext(this, this._ctx, this.state); - this.enterRule(localctx, 70, HiveSqlParser.RULE_create_table_definition); + this.enterRule(localctx, 70, HiveSql.RULE_create_table_definition); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -8547,26 +8547,26 @@ HiveSqlParser.prototype.create_table_definition = function() { this.state = 874; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_AS) { + if(_la===HiveSql.T_AS) { this.state = 873; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 876; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 877; this.select_stmt(); this.state = 878; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 2: this.state = 881; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_AS) { + if(_la===HiveSql.T_AS) { this.state = 880; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 883; @@ -8575,11 +8575,11 @@ HiveSqlParser.prototype.create_table_definition = function() { case 3: this.state = 884; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 885; this.create_table_columns(); this.state = 886; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; } @@ -8615,7 +8615,7 @@ function Create_table_columnsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_columns; + this.ruleIndex = HiveSql.RULE_create_table_columns; return this; } @@ -8638,27 +8638,27 @@ Create_table_columnsContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Create_table_columnsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_columns(this); } }; Create_table_columnsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_columns(this); } }; Create_table_columnsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_columns(this); } else { return visitor.visitChildren(this); @@ -8668,12 +8668,12 @@ Create_table_columnsContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_columnsContext = Create_table_columnsContext; +HiveSql.Create_table_columnsContext = Create_table_columnsContext; -HiveSqlParser.prototype.create_table_columns = function() { +HiveSql.prototype.create_table_columns = function() { var localctx = new Create_table_columnsContext(this, this._ctx, this.state); - this.enterRule(localctx, 72, HiveSqlParser.RULE_create_table_columns); + this.enterRule(localctx, 72, HiveSql.RULE_create_table_columns); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -8682,9 +8682,9 @@ HiveSqlParser.prototype.create_table_columns = function() { this.state = 898; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 894; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 895; this.create_table_columns_item(); this.state = 900; @@ -8715,7 +8715,7 @@ function Create_table_columns_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_columns_item; + this.ruleIndex = HiveSql.RULE_create_table_columns_item; return this; } @@ -8761,7 +8761,7 @@ Create_table_columns_itemContext.prototype.create_table_column_cons = function() }; Create_table_columns_itemContext.prototype.T_CONSTRAINT = function() { - return this.getToken(HiveSqlParser.T_CONSTRAINT, 0); + return this.getToken(HiveSql.T_CONSTRAINT, 0); }; Create_table_columns_itemContext.prototype.ident = function() { @@ -8769,19 +8769,19 @@ Create_table_columns_itemContext.prototype.ident = function() { }; Create_table_columns_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_columns_item(this); } }; Create_table_columns_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_columns_item(this); } }; Create_table_columns_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_columns_item(this); } else { return visitor.visitChildren(this); @@ -8791,12 +8791,12 @@ Create_table_columns_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_columns_itemContext = Create_table_columns_itemContext; +HiveSql.Create_table_columns_itemContext = Create_table_columns_itemContext; -HiveSqlParser.prototype.create_table_columns_item = function() { +HiveSql.prototype.create_table_columns_item = function() { var localctx = new Create_table_columns_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 74, HiveSqlParser.RULE_create_table_columns_item); + this.enterRule(localctx, 74, HiveSql.RULE_create_table_columns_item); var _la = 0; // Token type try { this.state = 923; @@ -8812,7 +8812,7 @@ HiveSqlParser.prototype.create_table_columns_item = function() { this.state = 904; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OPEN_P) { + if(_la===HiveSql.T_OPEN_P) { this.state = 903; this.dtype_len(); } @@ -8833,7 +8833,7 @@ HiveSqlParser.prototype.create_table_columns_item = function() { this.state = 915; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_AUTO_INCREMENT || _la===HiveSqlParser.T_DEFAULT || _la===HiveSqlParser.T_ENABLE || _la===HiveSqlParser.T_IDENTITY || ((((_la - 188)) & ~0x1f) == 0 && ((1 << (_la - 188)) & ((1 << (HiveSqlParser.T_NOT - 188)) | (1 << (HiveSqlParser.T_NULL - 188)) | (1 << (HiveSqlParser.T_PRIMARY - 188)))) !== 0) || _la===HiveSqlParser.T_REFERENCES || _la===HiveSqlParser.T_UNIQUE || _la===HiveSqlParser.T_WITH || _la===HiveSqlParser.T_COLON || _la===HiveSqlParser.T_EQUAL) { + while(_la===HiveSql.T_AUTO_INCREMENT || _la===HiveSql.T_DEFAULT || _la===HiveSql.T_ENABLE || _la===HiveSql.T_IDENTITY || ((((_la - 188)) & ~0x1f) == 0 && ((1 << (_la - 188)) & ((1 << (HiveSql.T_NOT - 188)) | (1 << (HiveSql.T_NULL - 188)) | (1 << (HiveSql.T_PRIMARY - 188)))) !== 0) || _la===HiveSql.T_REFERENCES || _la===HiveSql.T_UNIQUE || _la===HiveSql.T_WITH || _la===HiveSql.T_COLON || _la===HiveSql.T_EQUAL) { this.state = 912; this.create_table_column_inline_cons(); this.state = 917; @@ -8847,9 +8847,9 @@ HiveSqlParser.prototype.create_table_columns_item = function() { this.state = 920; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_CONSTRAINT) { + if(_la===HiveSql.T_CONSTRAINT) { this.state = 918; - this.match(HiveSqlParser.T_CONSTRAINT); + this.match(HiveSql.T_CONSTRAINT); this.state = 919; this.ident(); } @@ -8883,7 +8883,7 @@ function Column_nameContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_column_name; + this.ruleIndex = HiveSql.RULE_column_name; return this; } @@ -8895,19 +8895,19 @@ Column_nameContext.prototype.ident = function() { }; Column_nameContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterColumn_name(this); } }; Column_nameContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitColumn_name(this); } }; Column_nameContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitColumn_name(this); } else { return visitor.visitChildren(this); @@ -8917,12 +8917,12 @@ Column_nameContext.prototype.accept = function(visitor) { -HiveSqlParser.Column_nameContext = Column_nameContext; +HiveSql.Column_nameContext = Column_nameContext; -HiveSqlParser.prototype.column_name = function() { +HiveSql.prototype.column_name = function() { var localctx = new Column_nameContext(this, this._ctx, this.state); - this.enterRule(localctx, 76, HiveSqlParser.RULE_column_name); + this.enterRule(localctx, 76, HiveSql.RULE_column_name); try { this.enterOuterAlt(localctx, 1); this.state = 925; @@ -8951,7 +8951,7 @@ function Create_table_column_inline_consContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_column_inline_cons; + this.ruleIndex = HiveSql.RULE_create_table_column_inline_cons; return this; } @@ -8963,27 +8963,27 @@ Create_table_column_inline_consContext.prototype.dtype_default = function() { }; Create_table_column_inline_consContext.prototype.T_NULL = function() { - return this.getToken(HiveSqlParser.T_NULL, 0); + return this.getToken(HiveSql.T_NULL, 0); }; Create_table_column_inline_consContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Create_table_column_inline_consContext.prototype.T_PRIMARY = function() { - return this.getToken(HiveSqlParser.T_PRIMARY, 0); + return this.getToken(HiveSql.T_PRIMARY, 0); }; Create_table_column_inline_consContext.prototype.T_KEY = function() { - return this.getToken(HiveSqlParser.T_KEY, 0); + return this.getToken(HiveSql.T_KEY, 0); }; Create_table_column_inline_consContext.prototype.T_UNIQUE = function() { - return this.getToken(HiveSqlParser.T_UNIQUE, 0); + return this.getToken(HiveSql.T_UNIQUE, 0); }; Create_table_column_inline_consContext.prototype.T_REFERENCES = function() { - return this.getToken(HiveSqlParser.T_REFERENCES, 0); + return this.getToken(HiveSql.T_REFERENCES, 0); }; Create_table_column_inline_consContext.prototype.table_name = function() { @@ -8991,7 +8991,7 @@ Create_table_column_inline_consContext.prototype.table_name = function() { }; Create_table_column_inline_consContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Create_table_column_inline_consContext.prototype.ident = function() { @@ -8999,7 +8999,7 @@ Create_table_column_inline_consContext.prototype.ident = function() { }; Create_table_column_inline_consContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Create_table_column_inline_consContext.prototype.create_table_fk_action = function(i) { @@ -9014,7 +9014,7 @@ Create_table_column_inline_consContext.prototype.create_table_fk_action = functi }; Create_table_column_inline_consContext.prototype.T_IDENTITY = function() { - return this.getToken(HiveSqlParser.T_IDENTITY, 0); + return this.getToken(HiveSql.T_IDENTITY, 0); }; Create_table_column_inline_consContext.prototype.L_INT = function(i) { @@ -9022,9 +9022,9 @@ Create_table_column_inline_consContext.prototype.L_INT = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.L_INT); + return this.getTokens(HiveSql.L_INT); } else { - return this.getToken(HiveSqlParser.L_INT, i); + return this.getToken(HiveSql.L_INT, i); } }; @@ -9034,35 +9034,35 @@ Create_table_column_inline_consContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Create_table_column_inline_consContext.prototype.T_AUTO_INCREMENT = function() { - return this.getToken(HiveSqlParser.T_AUTO_INCREMENT, 0); + return this.getToken(HiveSql.T_AUTO_INCREMENT, 0); }; Create_table_column_inline_consContext.prototype.T_ENABLE = function() { - return this.getToken(HiveSqlParser.T_ENABLE, 0); + return this.getToken(HiveSql.T_ENABLE, 0); }; Create_table_column_inline_consContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_column_inline_cons(this); } }; Create_table_column_inline_consContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_column_inline_cons(this); } }; Create_table_column_inline_consContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_column_inline_cons(this); } else { return visitor.visitChildren(this); @@ -9072,67 +9072,67 @@ Create_table_column_inline_consContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_column_inline_consContext = Create_table_column_inline_consContext; +HiveSql.Create_table_column_inline_consContext = Create_table_column_inline_consContext; -HiveSqlParser.prototype.create_table_column_inline_cons = function() { +HiveSql.prototype.create_table_column_inline_cons = function() { var localctx = new Create_table_column_inline_consContext(this, this._ctx, this.state); - this.enterRule(localctx, 78, HiveSqlParser.RULE_create_table_column_inline_cons); + this.enterRule(localctx, 78, HiveSql.RULE_create_table_column_inline_cons); var _la = 0; // Token type try { this.state = 959; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_COLON: - case HiveSqlParser.T_EQUAL: + case HiveSql.T_DEFAULT: + case HiveSql.T_WITH: + case HiveSql.T_COLON: + case HiveSql.T_EQUAL: this.enterOuterAlt(localctx, 1); this.state = 927; this.dtype_default(); break; - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NULL: + case HiveSql.T_NOT: + case HiveSql.T_NULL: this.enterOuterAlt(localctx, 2); this.state = 929; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 928; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 931; - this.match(HiveSqlParser.T_NULL); + this.match(HiveSql.T_NULL); break; - case HiveSqlParser.T_PRIMARY: + case HiveSql.T_PRIMARY: this.enterOuterAlt(localctx, 3); this.state = 932; - this.match(HiveSqlParser.T_PRIMARY); + this.match(HiveSql.T_PRIMARY); this.state = 933; - this.match(HiveSqlParser.T_KEY); + this.match(HiveSql.T_KEY); break; - case HiveSqlParser.T_UNIQUE: + case HiveSql.T_UNIQUE: this.enterOuterAlt(localctx, 4); this.state = 934; - this.match(HiveSqlParser.T_UNIQUE); + this.match(HiveSql.T_UNIQUE); break; - case HiveSqlParser.T_REFERENCES: + case HiveSql.T_REFERENCES: this.enterOuterAlt(localctx, 5); this.state = 935; - this.match(HiveSqlParser.T_REFERENCES); + this.match(HiveSql.T_REFERENCES); this.state = 936; this.table_name(); this.state = 937; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 938; this.ident(); this.state = 939; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 943; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_ON) { + while(_la===HiveSql.T_ON) { this.state = 940; this.create_table_fk_action(); this.state = 945; @@ -9140,38 +9140,38 @@ HiveSqlParser.prototype.create_table_column_inline_cons = function() { _la = this._input.LA(1); } break; - case HiveSqlParser.T_IDENTITY: + case HiveSql.T_IDENTITY: this.enterOuterAlt(localctx, 6); this.state = 946; - this.match(HiveSqlParser.T_IDENTITY); + this.match(HiveSql.T_IDENTITY); this.state = 947; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 948; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); this.state = 953; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 949; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 950; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); this.state = 955; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 956; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; - case HiveSqlParser.T_AUTO_INCREMENT: + case HiveSql.T_AUTO_INCREMENT: this.enterOuterAlt(localctx, 7); this.state = 957; - this.match(HiveSqlParser.T_AUTO_INCREMENT); + this.match(HiveSql.T_AUTO_INCREMENT); break; - case HiveSqlParser.T_ENABLE: + case HiveSql.T_ENABLE: this.enterOuterAlt(localctx, 8); this.state = 958; - this.match(HiveSqlParser.T_ENABLE); + this.match(HiveSql.T_ENABLE); break; default: throw new antlr4.error.NoViableAltException(this); @@ -9200,7 +9200,7 @@ function Create_table_column_consContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_column_cons; + this.ruleIndex = HiveSql.RULE_create_table_column_cons; return this; } @@ -9208,11 +9208,11 @@ Create_table_column_consContext.prototype = Object.create(antlr4.ParserRuleConte Create_table_column_consContext.prototype.constructor = Create_table_column_consContext; Create_table_column_consContext.prototype.T_PRIMARY = function() { - return this.getToken(HiveSqlParser.T_PRIMARY, 0); + return this.getToken(HiveSql.T_PRIMARY, 0); }; Create_table_column_consContext.prototype.T_KEY = function() { - return this.getToken(HiveSqlParser.T_KEY, 0); + return this.getToken(HiveSql.T_KEY, 0); }; Create_table_column_consContext.prototype.T_OPEN_P = function(i) { @@ -9220,9 +9220,9 @@ Create_table_column_consContext.prototype.T_OPEN_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_OPEN_P); + return this.getTokens(HiveSql.T_OPEN_P); } else { - return this.getToken(HiveSqlParser.T_OPEN_P, i); + return this.getToken(HiveSql.T_OPEN_P, i); } }; @@ -9243,15 +9243,15 @@ Create_table_column_consContext.prototype.T_CLOSE_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_CLOSE_P); + return this.getTokens(HiveSql.T_CLOSE_P); } else { - return this.getToken(HiveSqlParser.T_CLOSE_P, i); + return this.getToken(HiveSql.T_CLOSE_P, i); } }; Create_table_column_consContext.prototype.T_CLUSTERED = function() { - return this.getToken(HiveSqlParser.T_CLUSTERED, 0); + return this.getToken(HiveSql.T_CLUSTERED, 0); }; Create_table_column_consContext.prototype.T_COMMA = function(i) { @@ -9259,15 +9259,15 @@ Create_table_column_consContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Create_table_column_consContext.prototype.T_ENABLE = function() { - return this.getToken(HiveSqlParser.T_ENABLE, 0); + return this.getToken(HiveSql.T_ENABLE, 0); }; Create_table_column_consContext.prototype.index_storage_clause = function() { @@ -9279,9 +9279,9 @@ Create_table_column_consContext.prototype.T_ASC = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_ASC); + return this.getTokens(HiveSql.T_ASC); } else { - return this.getToken(HiveSqlParser.T_ASC, i); + return this.getToken(HiveSql.T_ASC, i); } }; @@ -9291,19 +9291,19 @@ Create_table_column_consContext.prototype.T_DESC = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_DESC); + return this.getTokens(HiveSql.T_DESC); } else { - return this.getToken(HiveSqlParser.T_DESC, i); + return this.getToken(HiveSql.T_DESC, i); } }; Create_table_column_consContext.prototype.T_FOREIGN = function() { - return this.getToken(HiveSqlParser.T_FOREIGN, 0); + return this.getToken(HiveSql.T_FOREIGN, 0); }; Create_table_column_consContext.prototype.T_REFERENCES = function() { - return this.getToken(HiveSqlParser.T_REFERENCES, 0); + return this.getToken(HiveSql.T_REFERENCES, 0); }; Create_table_column_consContext.prototype.table_name = function() { @@ -9322,19 +9322,19 @@ Create_table_column_consContext.prototype.create_table_fk_action = function(i) { }; Create_table_column_consContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_column_cons(this); } }; Create_table_column_consContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_column_cons(this); } }; Create_table_column_consContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_column_cons(this); } else { return visitor.visitChildren(this); @@ -9344,42 +9344,42 @@ Create_table_column_consContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_column_consContext = Create_table_column_consContext; +HiveSql.Create_table_column_consContext = Create_table_column_consContext; -HiveSqlParser.prototype.create_table_column_cons = function() { +HiveSql.prototype.create_table_column_cons = function() { var localctx = new Create_table_column_consContext(this, this._ctx, this.state); - this.enterRule(localctx, 80, HiveSqlParser.RULE_create_table_column_cons); + this.enterRule(localctx, 80, HiveSql.RULE_create_table_column_cons); var _la = 0; // Token type try { this.state = 1018; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_PRIMARY: + case HiveSql.T_PRIMARY: this.enterOuterAlt(localctx, 1); this.state = 961; - this.match(HiveSqlParser.T_PRIMARY); + this.match(HiveSql.T_PRIMARY); this.state = 962; - this.match(HiveSqlParser.T_KEY); + this.match(HiveSql.T_KEY); this.state = 964; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_CLUSTERED) { + if(_la===HiveSql.T_CLUSTERED) { this.state = 963; - this.match(HiveSqlParser.T_CLUSTERED); + this.match(HiveSql.T_CLUSTERED); } this.state = 966; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 967; this.ident(); this.state = 969; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC) { + if(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC) { this.state = 968; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC)) { + if(!(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC)) { this._errHandler.recoverInline(this); } else { @@ -9391,18 +9391,18 @@ HiveSqlParser.prototype.create_table_column_cons = function() { this.state = 978; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 971; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 972; this.ident(); this.state = 974; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC) { + if(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC) { this.state = 973; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC)) { + if(!(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC)) { this._errHandler.recoverInline(this); } else { @@ -9416,40 +9416,40 @@ HiveSqlParser.prototype.create_table_column_cons = function() { _la = this._input.LA(1); } this.state = 981; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 983; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ENABLE) { + if(_la===HiveSql.T_ENABLE) { this.state = 982; - this.match(HiveSqlParser.T_ENABLE); + this.match(HiveSql.T_ENABLE); } this.state = 986; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_WITH) { + if(_la===HiveSql.T_WITH) { this.state = 985; this.index_storage_clause(); } break; - case HiveSqlParser.T_FOREIGN: + case HiveSql.T_FOREIGN: this.enterOuterAlt(localctx, 2); this.state = 988; - this.match(HiveSqlParser.T_FOREIGN); + this.match(HiveSql.T_FOREIGN); this.state = 989; - this.match(HiveSqlParser.T_KEY); + this.match(HiveSql.T_KEY); this.state = 990; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 991; this.ident(); this.state = 996; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 992; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 993; this.ident(); this.state = 998; @@ -9457,21 +9457,21 @@ HiveSqlParser.prototype.create_table_column_cons = function() { _la = this._input.LA(1); } this.state = 999; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 1000; - this.match(HiveSqlParser.T_REFERENCES); + this.match(HiveSql.T_REFERENCES); this.state = 1001; this.table_name(); this.state = 1002; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1003; this.ident(); this.state = 1008; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1004; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1005; this.ident(); this.state = 1010; @@ -9479,11 +9479,11 @@ HiveSqlParser.prototype.create_table_column_cons = function() { _la = this._input.LA(1); } this.state = 1011; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 1015; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_ON) { + while(_la===HiveSql.T_ON) { this.state = 1012; this.create_table_fk_action(); this.state = 1017; @@ -9518,7 +9518,7 @@ function Create_table_fk_actionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_fk_action; + this.ruleIndex = HiveSql.RULE_create_table_fk_action; return this; } @@ -9526,59 +9526,59 @@ Create_table_fk_actionContext.prototype = Object.create(antlr4.ParserRuleContext Create_table_fk_actionContext.prototype.constructor = Create_table_fk_actionContext; Create_table_fk_actionContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Create_table_fk_actionContext.prototype.T_UPDATE = function() { - return this.getToken(HiveSqlParser.T_UPDATE, 0); + return this.getToken(HiveSql.T_UPDATE, 0); }; Create_table_fk_actionContext.prototype.T_DELETE = function() { - return this.getToken(HiveSqlParser.T_DELETE, 0); + return this.getToken(HiveSql.T_DELETE, 0); }; Create_table_fk_actionContext.prototype.T_NO = function() { - return this.getToken(HiveSqlParser.T_NO, 0); + return this.getToken(HiveSql.T_NO, 0); }; Create_table_fk_actionContext.prototype.T_ACTION = function() { - return this.getToken(HiveSqlParser.T_ACTION, 0); + return this.getToken(HiveSql.T_ACTION, 0); }; Create_table_fk_actionContext.prototype.T_RESTRICT = function() { - return this.getToken(HiveSqlParser.T_RESTRICT, 0); + return this.getToken(HiveSql.T_RESTRICT, 0); }; Create_table_fk_actionContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Create_table_fk_actionContext.prototype.T_NULL = function() { - return this.getToken(HiveSqlParser.T_NULL, 0); + return this.getToken(HiveSql.T_NULL, 0); }; Create_table_fk_actionContext.prototype.T_DEFAULT = function() { - return this.getToken(HiveSqlParser.T_DEFAULT, 0); + return this.getToken(HiveSql.T_DEFAULT, 0); }; Create_table_fk_actionContext.prototype.T_CASCADE = function() { - return this.getToken(HiveSqlParser.T_CASCADE, 0); + return this.getToken(HiveSql.T_CASCADE, 0); }; Create_table_fk_actionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_fk_action(this); } }; Create_table_fk_actionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_fk_action(this); } }; Create_table_fk_actionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_fk_action(this); } else { return visitor.visitChildren(this); @@ -9588,20 +9588,20 @@ Create_table_fk_actionContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_fk_actionContext = Create_table_fk_actionContext; +HiveSql.Create_table_fk_actionContext = Create_table_fk_actionContext; -HiveSqlParser.prototype.create_table_fk_action = function() { +HiveSql.prototype.create_table_fk_action = function() { var localctx = new Create_table_fk_actionContext(this, this._ctx, this.state); - this.enterRule(localctx, 82, HiveSqlParser.RULE_create_table_fk_action); + this.enterRule(localctx, 82, HiveSql.RULE_create_table_fk_action); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1020; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 1021; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DELETE || _la===HiveSqlParser.T_UPDATE)) { + if(!(_la===HiveSql.T_DELETE || _la===HiveSql.T_UPDATE)) { this._errHandler.recoverInline(this); } else { @@ -9614,33 +9614,33 @@ HiveSqlParser.prototype.create_table_fk_action = function() { switch(la_) { case 1: this.state = 1022; - this.match(HiveSqlParser.T_NO); + this.match(HiveSql.T_NO); this.state = 1023; - this.match(HiveSqlParser.T_ACTION); + this.match(HiveSql.T_ACTION); break; case 2: this.state = 1024; - this.match(HiveSqlParser.T_RESTRICT); + this.match(HiveSql.T_RESTRICT); break; case 3: this.state = 1025; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); this.state = 1026; - this.match(HiveSqlParser.T_NULL); + this.match(HiveSql.T_NULL); break; case 4: this.state = 1027; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); this.state = 1028; - this.match(HiveSqlParser.T_DEFAULT); + this.match(HiveSql.T_DEFAULT); break; case 5: this.state = 1029; - this.match(HiveSqlParser.T_CASCADE); + this.match(HiveSql.T_CASCADE); break; } @@ -9668,7 +9668,7 @@ function Create_table_preoptionsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_preoptions; + this.ruleIndex = HiveSql.RULE_create_table_preoptions; return this; } @@ -9687,19 +9687,19 @@ Create_table_preoptionsContext.prototype.create_table_preoptions_item = function }; Create_table_preoptionsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_preoptions(this); } }; Create_table_preoptionsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_preoptions(this); } }; Create_table_preoptionsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_preoptions(this); } else { return visitor.visitChildren(this); @@ -9709,12 +9709,12 @@ Create_table_preoptionsContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_preoptionsContext = Create_table_preoptionsContext; +HiveSql.Create_table_preoptionsContext = Create_table_preoptionsContext; -HiveSqlParser.prototype.create_table_preoptions = function() { +HiveSql.prototype.create_table_preoptions = function() { var localctx = new Create_table_preoptionsContext(this, this._ctx, this.state); - this.enterRule(localctx, 84, HiveSqlParser.RULE_create_table_preoptions); + this.enterRule(localctx, 84, HiveSql.RULE_create_table_preoptions); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -9727,7 +9727,7 @@ HiveSqlParser.prototype.create_table_preoptions = function() { this.state = 1035; this._errHandler.sync(this); _la = this._input.LA(1); - } while(_la===HiveSqlParser.T_ROW || _la===HiveSqlParser.T_STORED || _la===HiveSqlParser.T_COMMA); + } while(_la===HiveSql.T_ROW || _la===HiveSql.T_STORED || _la===HiveSql.T_COMMA); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -9752,7 +9752,7 @@ function Create_table_preoptions_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_preoptions_item; + this.ruleIndex = HiveSql.RULE_create_table_preoptions_item; return this; } @@ -9760,7 +9760,7 @@ Create_table_preoptions_itemContext.prototype = Object.create(antlr4.ParserRuleC Create_table_preoptions_itemContext.prototype.constructor = Create_table_preoptions_itemContext; Create_table_preoptions_itemContext.prototype.T_COMMA = function() { - return this.getToken(HiveSqlParser.T_COMMA, 0); + return this.getToken(HiveSql.T_COMMA, 0); }; Create_table_preoptions_itemContext.prototype.create_table_preoptions_td_item = function() { @@ -9772,19 +9772,19 @@ Create_table_preoptions_itemContext.prototype.create_table_options_hive_item = f }; Create_table_preoptions_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_preoptions_item(this); } }; Create_table_preoptions_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_preoptions_item(this); } }; Create_table_preoptions_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_preoptions_item(this); } else { return visitor.visitChildren(this); @@ -9794,25 +9794,25 @@ Create_table_preoptions_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_preoptions_itemContext = Create_table_preoptions_itemContext; +HiveSql.Create_table_preoptions_itemContext = Create_table_preoptions_itemContext; -HiveSqlParser.prototype.create_table_preoptions_item = function() { +HiveSql.prototype.create_table_preoptions_item = function() { var localctx = new Create_table_preoptions_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 86, HiveSqlParser.RULE_create_table_preoptions_item); + this.enterRule(localctx, 86, HiveSql.RULE_create_table_preoptions_item); try { this.state = 1040; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_COMMA: + case HiveSql.T_COMMA: this.enterOuterAlt(localctx, 1); this.state = 1037; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1038; this.create_table_preoptions_td_item(); break; - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_STORED: + case HiveSql.T_ROW: + case HiveSql.T_STORED: this.enterOuterAlt(localctx, 2); this.state = 1039; this.create_table_options_hive_item(); @@ -9844,7 +9844,7 @@ function Create_table_preoptions_td_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_preoptions_td_item; + this.ruleIndex = HiveSql.RULE_create_table_preoptions_td_item; return this; } @@ -9852,31 +9852,31 @@ Create_table_preoptions_td_itemContext.prototype = Object.create(antlr4.ParserRu Create_table_preoptions_td_itemContext.prototype.constructor = Create_table_preoptions_td_itemContext; Create_table_preoptions_td_itemContext.prototype.T_LOG = function() { - return this.getToken(HiveSqlParser.T_LOG, 0); + return this.getToken(HiveSql.T_LOG, 0); }; Create_table_preoptions_td_itemContext.prototype.T_FALLBACK = function() { - return this.getToken(HiveSqlParser.T_FALLBACK, 0); + return this.getToken(HiveSql.T_FALLBACK, 0); }; Create_table_preoptions_td_itemContext.prototype.T_NO = function() { - return this.getToken(HiveSqlParser.T_NO, 0); + return this.getToken(HiveSql.T_NO, 0); }; Create_table_preoptions_td_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_preoptions_td_item(this); } }; Create_table_preoptions_td_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_preoptions_td_item(this); } }; Create_table_preoptions_td_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_preoptions_td_item(this); } else { return visitor.visitChildren(this); @@ -9886,26 +9886,26 @@ Create_table_preoptions_td_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_preoptions_td_itemContext = Create_table_preoptions_td_itemContext; +HiveSql.Create_table_preoptions_td_itemContext = Create_table_preoptions_td_itemContext; -HiveSqlParser.prototype.create_table_preoptions_td_item = function() { +HiveSql.prototype.create_table_preoptions_td_item = function() { var localctx = new Create_table_preoptions_td_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 88, HiveSqlParser.RULE_create_table_preoptions_td_item); + this.enterRule(localctx, 88, HiveSql.RULE_create_table_preoptions_td_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1043; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NO) { + if(_la===HiveSql.T_NO) { this.state = 1042; - this.match(HiveSqlParser.T_NO); + this.match(HiveSql.T_NO); } this.state = 1045; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_FALLBACK || _la===HiveSqlParser.T_LOG)) { + if(!(_la===HiveSql.T_FALLBACK || _la===HiveSql.T_LOG)) { this._errHandler.recoverInline(this); } else { @@ -9936,7 +9936,7 @@ function Create_table_optionsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options; + this.ruleIndex = HiveSql.RULE_create_table_options; return this; } @@ -9955,19 +9955,19 @@ Create_table_optionsContext.prototype.create_table_options_item = function(i) { }; Create_table_optionsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options(this); } }; Create_table_optionsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options(this); } }; Create_table_optionsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options(this); } else { return visitor.visitChildren(this); @@ -9977,12 +9977,12 @@ Create_table_optionsContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_optionsContext = Create_table_optionsContext; +HiveSql.Create_table_optionsContext = Create_table_optionsContext; -HiveSqlParser.prototype.create_table_options = function() { +HiveSql.prototype.create_table_options = function() { var localctx = new Create_table_optionsContext(this, this._ctx, this.state); - this.enterRule(localctx, 90, HiveSqlParser.RULE_create_table_options); + this.enterRule(localctx, 90, HiveSql.RULE_create_table_options); try { this.enterOuterAlt(localctx, 1); this.state = 1048; @@ -10025,7 +10025,7 @@ function Create_table_options_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options_item; + this.ruleIndex = HiveSql.RULE_create_table_options_item; return this; } @@ -10033,23 +10033,23 @@ Create_table_options_itemContext.prototype = Object.create(antlr4.ParserRuleCont Create_table_options_itemContext.prototype.constructor = Create_table_options_itemContext; Create_table_options_itemContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Create_table_options_itemContext.prototype.T_COMMIT = function() { - return this.getToken(HiveSqlParser.T_COMMIT, 0); + return this.getToken(HiveSql.T_COMMIT, 0); }; Create_table_options_itemContext.prototype.T_ROWS = function() { - return this.getToken(HiveSqlParser.T_ROWS, 0); + return this.getToken(HiveSql.T_ROWS, 0); }; Create_table_options_itemContext.prototype.T_DELETE = function() { - return this.getToken(HiveSqlParser.T_DELETE, 0); + return this.getToken(HiveSql.T_DELETE, 0); }; Create_table_options_itemContext.prototype.T_PRESERVE = function() { - return this.getToken(HiveSqlParser.T_PRESERVE, 0); + return this.getToken(HiveSql.T_PRESERVE, 0); }; Create_table_options_itemContext.prototype.create_table_options_ora_item = function() { @@ -10077,19 +10077,19 @@ Create_table_options_itemContext.prototype.create_table_options_mysql_item = fun }; Create_table_options_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options_item(this); } }; Create_table_options_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options_item(this); } }; Create_table_options_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options_item(this); } else { return visitor.visitChildren(this); @@ -10099,12 +10099,12 @@ Create_table_options_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_options_itemContext = Create_table_options_itemContext; +HiveSql.Create_table_options_itemContext = Create_table_options_itemContext; -HiveSqlParser.prototype.create_table_options_item = function() { +HiveSql.prototype.create_table_options_item = function() { var localctx = new Create_table_options_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 92, HiveSqlParser.RULE_create_table_options_item); + this.enterRule(localctx, 92, HiveSql.RULE_create_table_options_item); var _la = 0; // Token type try { this.state = 1062; @@ -10114,12 +10114,12 @@ HiveSqlParser.prototype.create_table_options_item = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 1052; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 1053; - this.match(HiveSqlParser.T_COMMIT); + this.match(HiveSql.T_COMMIT); this.state = 1054; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DELETE || _la===HiveSqlParser.T_PRESERVE)) { + if(!(_la===HiveSql.T_DELETE || _la===HiveSql.T_PRESERVE)) { this._errHandler.recoverInline(this); } else { @@ -10127,7 +10127,7 @@ HiveSqlParser.prototype.create_table_options_item = function() { this.consume(); } this.state = 1055; - this.match(HiveSqlParser.T_ROWS); + this.match(HiveSql.T_ROWS); break; case 2: @@ -10191,7 +10191,7 @@ function Create_table_options_ora_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options_ora_item; + this.ruleIndex = HiveSql.RULE_create_table_options_ora_item; return this; } @@ -10199,19 +10199,19 @@ Create_table_options_ora_itemContext.prototype = Object.create(antlr4.ParserRule Create_table_options_ora_itemContext.prototype.constructor = Create_table_options_ora_itemContext; Create_table_options_ora_itemContext.prototype.T_SEGMENT = function() { - return this.getToken(HiveSqlParser.T_SEGMENT, 0); + return this.getToken(HiveSql.T_SEGMENT, 0); }; Create_table_options_ora_itemContext.prototype.T_CREATION = function() { - return this.getToken(HiveSqlParser.T_CREATION, 0); + return this.getToken(HiveSql.T_CREATION, 0); }; Create_table_options_ora_itemContext.prototype.T_IMMEDIATE = function() { - return this.getToken(HiveSqlParser.T_IMMEDIATE, 0); + return this.getToken(HiveSql.T_IMMEDIATE, 0); }; Create_table_options_ora_itemContext.prototype.T_DEFERRED = function() { - return this.getToken(HiveSqlParser.T_DEFERRED, 0); + return this.getToken(HiveSql.T_DEFERRED, 0); }; Create_table_options_ora_itemContext.prototype.L_INT = function(i) { @@ -10219,51 +10219,51 @@ Create_table_options_ora_itemContext.prototype.L_INT = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.L_INT); + return this.getTokens(HiveSql.L_INT); } else { - return this.getToken(HiveSqlParser.L_INT, i); + return this.getToken(HiveSql.L_INT, i); } }; Create_table_options_ora_itemContext.prototype.T_PCTFREE = function() { - return this.getToken(HiveSqlParser.T_PCTFREE, 0); + return this.getToken(HiveSql.T_PCTFREE, 0); }; Create_table_options_ora_itemContext.prototype.T_PCTUSED = function() { - return this.getToken(HiveSqlParser.T_PCTUSED, 0); + return this.getToken(HiveSql.T_PCTUSED, 0); }; Create_table_options_ora_itemContext.prototype.T_INITRANS = function() { - return this.getToken(HiveSqlParser.T_INITRANS, 0); + return this.getToken(HiveSql.T_INITRANS, 0); }; Create_table_options_ora_itemContext.prototype.T_MAXTRANS = function() { - return this.getToken(HiveSqlParser.T_MAXTRANS, 0); + return this.getToken(HiveSql.T_MAXTRANS, 0); }; Create_table_options_ora_itemContext.prototype.T_NOCOMPRESS = function() { - return this.getToken(HiveSqlParser.T_NOCOMPRESS, 0); + return this.getToken(HiveSql.T_NOCOMPRESS, 0); }; Create_table_options_ora_itemContext.prototype.T_LOGGING = function() { - return this.getToken(HiveSqlParser.T_LOGGING, 0); + return this.getToken(HiveSql.T_LOGGING, 0); }; Create_table_options_ora_itemContext.prototype.T_NOLOGGING = function() { - return this.getToken(HiveSqlParser.T_NOLOGGING, 0); + return this.getToken(HiveSql.T_NOLOGGING, 0); }; Create_table_options_ora_itemContext.prototype.T_STORAGE = function() { - return this.getToken(HiveSqlParser.T_STORAGE, 0); + return this.getToken(HiveSql.T_STORAGE, 0); }; Create_table_options_ora_itemContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Create_table_options_ora_itemContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Create_table_options_ora_itemContext.prototype.ident = function(i) { @@ -10278,23 +10278,23 @@ Create_table_options_ora_itemContext.prototype.ident = function(i) { }; Create_table_options_ora_itemContext.prototype.T_TABLESPACE = function() { - return this.getToken(HiveSqlParser.T_TABLESPACE, 0); + return this.getToken(HiveSql.T_TABLESPACE, 0); }; Create_table_options_ora_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options_ora_item(this); } }; Create_table_options_ora_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options_ora_item(this); } }; Create_table_options_ora_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options_ora_item(this); } else { return visitor.visitChildren(this); @@ -10304,26 +10304,26 @@ Create_table_options_ora_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_options_ora_itemContext = Create_table_options_ora_itemContext; +HiveSql.Create_table_options_ora_itemContext = Create_table_options_ora_itemContext; -HiveSqlParser.prototype.create_table_options_ora_item = function() { +HiveSql.prototype.create_table_options_ora_item = function() { var localctx = new Create_table_options_ora_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 94, HiveSqlParser.RULE_create_table_options_ora_item); + this.enterRule(localctx, 94, HiveSql.RULE_create_table_options_ora_item); var _la = 0; // Token type try { this.state = 1082; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_SEGMENT: + case HiveSql.T_SEGMENT: this.enterOuterAlt(localctx, 1); this.state = 1064; - this.match(HiveSqlParser.T_SEGMENT); + this.match(HiveSql.T_SEGMENT); this.state = 1065; - this.match(HiveSqlParser.T_CREATION); + this.match(HiveSql.T_CREATION); this.state = 1066; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DEFERRED || _la===HiveSqlParser.T_IMMEDIATE)) { + if(!(_la===HiveSql.T_DEFERRED || _la===HiveSql.T_IMMEDIATE)) { this._errHandler.recoverInline(this); } else { @@ -10331,14 +10331,14 @@ HiveSqlParser.prototype.create_table_options_ora_item = function() { this.consume(); } break; - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: + case HiveSql.T_INITRANS: + case HiveSql.T_MAXTRANS: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: this.enterOuterAlt(localctx, 2); this.state = 1067; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_INITRANS || _la===HiveSqlParser.T_MAXTRANS || _la===HiveSqlParser.T_PCTFREE || _la===HiveSqlParser.T_PCTUSED)) { + if(!(_la===HiveSql.T_INITRANS || _la===HiveSql.T_MAXTRANS || _la===HiveSql.T_PCTFREE || _la===HiveSql.T_PCTUSED)) { this._errHandler.recoverInline(this); } else { @@ -10346,19 +10346,19 @@ HiveSqlParser.prototype.create_table_options_ora_item = function() { this.consume(); } this.state = 1068; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); break; - case HiveSqlParser.T_NOCOMPRESS: + case HiveSql.T_NOCOMPRESS: this.enterOuterAlt(localctx, 3); this.state = 1069; - this.match(HiveSqlParser.T_NOCOMPRESS); + this.match(HiveSql.T_NOCOMPRESS); break; - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_NOLOGGING: + case HiveSql.T_LOGGING: + case HiveSql.T_NOLOGGING: this.enterOuterAlt(localctx, 4); this.state = 1070; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_LOGGING || _la===HiveSqlParser.T_NOLOGGING)) { + if(!(_la===HiveSql.T_LOGGING || _la===HiveSql.T_NOLOGGING)) { this._errHandler.recoverInline(this); } else { @@ -10366,12 +10366,12 @@ HiveSqlParser.prototype.create_table_options_ora_item = function() { this.consume(); } break; - case HiveSqlParser.T_STORAGE: + case HiveSql.T_STORAGE: this.enterOuterAlt(localctx, 5); this.state = 1071; - this.match(HiveSqlParser.T_STORAGE); + this.match(HiveSql.T_STORAGE); this.state = 1072; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1075; this._errHandler.sync(this); _la = this._input.LA(1); @@ -10379,331 +10379,331 @@ HiveSqlParser.prototype.create_table_options_ora_item = function() { this.state = 1075; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: this.state = 1073; this.ident(); break; - case HiveSqlParser.L_INT: + case HiveSql.L_INT: this.state = 1074; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); break; default: throw new antlr4.error.NoViableAltException(this); @@ -10711,14 +10711,14 @@ HiveSqlParser.prototype.create_table_options_ora_item = function() { this.state = 1077; this._errHandler.sync(this); _la = this._input.LA(1); - } while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSqlParser.T_ACTION) | (1 << HiveSqlParser.T_ADD2) | (1 << HiveSqlParser.T_ALL) | (1 << HiveSqlParser.T_ALLOCATE) | (1 << HiveSqlParser.T_ALTER) | (1 << HiveSqlParser.T_AND) | (1 << HiveSqlParser.T_ANSI_NULLS) | (1 << HiveSqlParser.T_ANSI_PADDING) | (1 << HiveSqlParser.T_AS) | (1 << HiveSqlParser.T_ASC) | (1 << HiveSqlParser.T_ASSOCIATE) | (1 << HiveSqlParser.T_AT) | (1 << HiveSqlParser.T_AUTO_INCREMENT) | (1 << HiveSqlParser.T_AVG) | (1 << HiveSqlParser.T_BATCHSIZE) | (1 << HiveSqlParser.T_BEGIN) | (1 << HiveSqlParser.T_BETWEEN) | (1 << HiveSqlParser.T_BIGINT) | (1 << HiveSqlParser.T_BINARY_DOUBLE) | (1 << HiveSqlParser.T_BINARY_FLOAT) | (1 << HiveSqlParser.T_BIT) | (1 << HiveSqlParser.T_BODY) | (1 << HiveSqlParser.T_BREAK) | (1 << HiveSqlParser.T_BY) | (1 << HiveSqlParser.T_BYTE) | (1 << HiveSqlParser.T_CALL) | (1 << HiveSqlParser.T_CALLER) | (1 << HiveSqlParser.T_CASCADE) | (1 << HiveSqlParser.T_CASE) | (1 << HiveSqlParser.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSqlParser.T_CAST - 32)) | (1 << (HiveSqlParser.T_CHAR - 32)) | (1 << (HiveSqlParser.T_CHARACTER - 32)) | (1 << (HiveSqlParser.T_CHARSET - 32)) | (1 << (HiveSqlParser.T_CLIENT - 32)) | (1 << (HiveSqlParser.T_CLOSE - 32)) | (1 << (HiveSqlParser.T_CLUSTERED - 32)) | (1 << (HiveSqlParser.T_CMP - 32)) | (1 << (HiveSqlParser.T_COLLECT - 32)) | (1 << (HiveSqlParser.T_COLLECTION - 32)) | (1 << (HiveSqlParser.T_COLUMN - 32)) | (1 << (HiveSqlParser.T_COMMENT - 32)) | (1 << (HiveSqlParser.T_CONSTANT - 32)) | (1 << (HiveSqlParser.T_COMMIT - 32)) | (1 << (HiveSqlParser.T_COMPRESS - 32)) | (1 << (HiveSqlParser.T_CONCAT - 32)) | (1 << (HiveSqlParser.T_CONDITION - 32)) | (1 << (HiveSqlParser.T_CONSTRAINT - 32)) | (1 << (HiveSqlParser.T_CONTINUE - 32)) | (1 << (HiveSqlParser.T_COPY - 32)) | (1 << (HiveSqlParser.T_COUNT - 32)) | (1 << (HiveSqlParser.T_COUNT_BIG - 32)) | (1 << (HiveSqlParser.T_CREATE - 32)) | (1 << (HiveSqlParser.T_CREATION - 32)) | (1 << (HiveSqlParser.T_CREATOR - 32)) | (1 << (HiveSqlParser.T_CS - 32)) | (1 << (HiveSqlParser.T_CURRENT - 32)) | (1 << (HiveSqlParser.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSqlParser.T_CURSOR - 32)) | (1 << (HiveSqlParser.T_DATABASE - 32)) | (1 << (HiveSqlParser.T_DATA - 32)) | (1 << (HiveSqlParser.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSqlParser.T_DATETIME - 64)) | (1 << (HiveSqlParser.T_DAY - 64)) | (1 << (HiveSqlParser.T_DAYS - 64)) | (1 << (HiveSqlParser.T_DEC - 64)) | (1 << (HiveSqlParser.T_DECIMAL - 64)) | (1 << (HiveSqlParser.T_DECLARE - 64)) | (1 << (HiveSqlParser.T_DEFAULT - 64)) | (1 << (HiveSqlParser.T_DEFERRED - 64)) | (1 << (HiveSqlParser.T_DEFINED - 64)) | (1 << (HiveSqlParser.T_DEFINER - 64)) | (1 << (HiveSqlParser.T_DEFINITION - 64)) | (1 << (HiveSqlParser.T_DELETE - 64)) | (1 << (HiveSqlParser.T_DELIMITED - 64)) | (1 << (HiveSqlParser.T_DELIMITER - 64)) | (1 << (HiveSqlParser.T_DESC - 64)) | (1 << (HiveSqlParser.T_DESCRIBE - 64)) | (1 << (HiveSqlParser.T_DIAGNOSTICS - 64)) | (1 << (HiveSqlParser.T_DIR - 64)) | (1 << (HiveSqlParser.T_DIRECTORY - 64)) | (1 << (HiveSqlParser.T_DISTINCT - 64)) | (1 << (HiveSqlParser.T_DISTRIBUTE - 64)) | (1 << (HiveSqlParser.T_DO - 64)) | (1 << (HiveSqlParser.T_DOUBLE - 64)) | (1 << (HiveSqlParser.T_DROP - 64)) | (1 << (HiveSqlParser.T_DYNAMIC - 64)) | (1 << (HiveSqlParser.T_ENABLE - 64)) | (1 << (HiveSqlParser.T_ENGINE - 64)) | (1 << (HiveSqlParser.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSqlParser.T_EXCEPT - 96)) | (1 << (HiveSqlParser.T_EXEC - 96)) | (1 << (HiveSqlParser.T_EXECUTE - 96)) | (1 << (HiveSqlParser.T_EXCEPTION - 96)) | (1 << (HiveSqlParser.T_EXCLUSIVE - 96)) | (1 << (HiveSqlParser.T_EXISTS - 96)) | (1 << (HiveSqlParser.T_EXIT - 96)) | (1 << (HiveSqlParser.T_FALLBACK - 96)) | (1 << (HiveSqlParser.T_FALSE - 96)) | (1 << (HiveSqlParser.T_FETCH - 96)) | (1 << (HiveSqlParser.T_FIELDS - 96)) | (1 << (HiveSqlParser.T_FILE - 96)) | (1 << (HiveSqlParser.T_FILES - 96)) | (1 << (HiveSqlParser.T_FLOAT - 96)) | (1 << (HiveSqlParser.T_FOR - 96)) | (1 << (HiveSqlParser.T_FOREIGN - 96)) | (1 << (HiveSqlParser.T_FORMAT - 96)) | (1 << (HiveSqlParser.T_FOUND - 96)) | (1 << (HiveSqlParser.T_FROM - 96)) | (1 << (HiveSqlParser.T_FULL - 96)) | (1 << (HiveSqlParser.T_FUNCTION - 96)) | (1 << (HiveSqlParser.T_GET - 96)) | (1 << (HiveSqlParser.T_GLOBAL - 96)) | (1 << (HiveSqlParser.T_GO - 96)) | (1 << (HiveSqlParser.T_GRANT - 96)) | (1 << (HiveSqlParser.T_GROUP - 96)) | (1 << (HiveSqlParser.T_HANDLER - 96)) | (1 << (HiveSqlParser.T_HASH - 96)) | (1 << (HiveSqlParser.T_HAVING - 96)) | (1 << (HiveSqlParser.T_HDFS - 96)) | (1 << (HiveSqlParser.T_HIVE - 96)) | (1 << (HiveSqlParser.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSqlParser.T_IDENTITY - 128)) | (1 << (HiveSqlParser.T_IF - 128)) | (1 << (HiveSqlParser.T_IGNORE - 128)) | (1 << (HiveSqlParser.T_IMMEDIATE - 128)) | (1 << (HiveSqlParser.T_IN - 128)) | (1 << (HiveSqlParser.T_INCLUDE - 128)) | (1 << (HiveSqlParser.T_INDEX - 128)) | (1 << (HiveSqlParser.T_INITRANS - 128)) | (1 << (HiveSqlParser.T_INNER - 128)) | (1 << (HiveSqlParser.T_INOUT - 128)) | (1 << (HiveSqlParser.T_INSERT - 128)) | (1 << (HiveSqlParser.T_INT - 128)) | (1 << (HiveSqlParser.T_INT2 - 128)) | (1 << (HiveSqlParser.T_INT4 - 128)) | (1 << (HiveSqlParser.T_INT8 - 128)) | (1 << (HiveSqlParser.T_INTEGER - 128)) | (1 << (HiveSqlParser.T_INTERSECT - 128)) | (1 << (HiveSqlParser.T_INTERVAL - 128)) | (1 << (HiveSqlParser.T_INTO - 128)) | (1 << (HiveSqlParser.T_INVOKER - 128)) | (1 << (HiveSqlParser.T_IS - 128)) | (1 << (HiveSqlParser.T_ISOPEN - 128)) | (1 << (HiveSqlParser.T_ITEMS - 128)) | (1 << (HiveSqlParser.T_JOIN - 128)) | (1 << (HiveSqlParser.T_KEEP - 128)) | (1 << (HiveSqlParser.T_KEY - 128)) | (1 << (HiveSqlParser.T_KEYS - 128)) | (1 << (HiveSqlParser.T_LANGUAGE - 128)) | (1 << (HiveSqlParser.T_LEAVE - 128)) | (1 << (HiveSqlParser.T_LEFT - 128)) | (1 << (HiveSqlParser.T_LIKE - 128)) | (1 << (HiveSqlParser.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSqlParser.T_LINES - 160)) | (1 << (HiveSqlParser.T_LOCAL - 160)) | (1 << (HiveSqlParser.T_LOCATION - 160)) | (1 << (HiveSqlParser.T_LOCATOR - 160)) | (1 << (HiveSqlParser.T_LOCATORS - 160)) | (1 << (HiveSqlParser.T_LOCKS - 160)) | (1 << (HiveSqlParser.T_LOG - 160)) | (1 << (HiveSqlParser.T_LOGGED - 160)) | (1 << (HiveSqlParser.T_LOGGING - 160)) | (1 << (HiveSqlParser.T_LOOP - 160)) | (1 << (HiveSqlParser.T_MAP - 160)) | (1 << (HiveSqlParser.T_MATCHED - 160)) | (1 << (HiveSqlParser.T_MAX - 160)) | (1 << (HiveSqlParser.T_MAXTRANS - 160)) | (1 << (HiveSqlParser.T_MERGE - 160)) | (1 << (HiveSqlParser.T_MESSAGE_TEXT - 160)) | (1 << (HiveSqlParser.T_MICROSECOND - 160)) | (1 << (HiveSqlParser.T_MICROSECONDS - 160)) | (1 << (HiveSqlParser.T_MIN - 160)) | (1 << (HiveSqlParser.T_MULTISET - 160)) | (1 << (HiveSqlParser.T_NCHAR - 160)) | (1 << (HiveSqlParser.T_NEW - 160)) | (1 << (HiveSqlParser.T_NVARCHAR - 160)) | (1 << (HiveSqlParser.T_NO - 160)) | (1 << (HiveSqlParser.T_NOCOUNT - 160)) | (1 << (HiveSqlParser.T_NOCOMPRESS - 160)) | (1 << (HiveSqlParser.T_NOLOGGING - 160)) | (1 << (HiveSqlParser.T_NONE - 160)) | (1 << (HiveSqlParser.T_NOT - 160)) | (1 << (HiveSqlParser.T_NOTFOUND - 160)) | (1 << (HiveSqlParser.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSqlParser.T_NUMBER - 192)) | (1 << (HiveSqlParser.T_OBJECT - 192)) | (1 << (HiveSqlParser.T_OFF - 192)) | (1 << (HiveSqlParser.T_ON - 192)) | (1 << (HiveSqlParser.T_ONLY - 192)) | (1 << (HiveSqlParser.T_OPEN - 192)) | (1 << (HiveSqlParser.T_OR - 192)) | (1 << (HiveSqlParser.T_ORDER - 192)) | (1 << (HiveSqlParser.T_OUT - 192)) | (1 << (HiveSqlParser.T_OUTER - 192)) | (1 << (HiveSqlParser.T_OVER - 192)) | (1 << (HiveSqlParser.T_OVERWRITE - 192)) | (1 << (HiveSqlParser.T_OWNER - 192)) | (1 << (HiveSqlParser.T_PACKAGE - 192)) | (1 << (HiveSqlParser.T_PARTITION - 192)) | (1 << (HiveSqlParser.T_PCTFREE - 192)) | (1 << (HiveSqlParser.T_PCTUSED - 192)) | (1 << (HiveSqlParser.T_PRECISION - 192)) | (1 << (HiveSqlParser.T_PRESERVE - 192)) | (1 << (HiveSqlParser.T_PRIMARY - 192)) | (1 << (HiveSqlParser.T_PRINT - 192)) | (1 << (HiveSqlParser.T_PROC - 192)) | (1 << (HiveSqlParser.T_PROCEDURE - 192)) | (1 << (HiveSqlParser.T_QUALIFY - 192)) | (1 << (HiveSqlParser.T_QUERY_BAND - 192)) | (1 << (HiveSqlParser.T_QUIT - 192)) | (1 << (HiveSqlParser.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSqlParser.T_RAISE - 192)) | (1 << (HiveSqlParser.T_REAL - 192)) | (1 << (HiveSqlParser.T_REFERENCES - 192)) | (1 << (HiveSqlParser.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSqlParser.T_REPLACE - 224)) | (1 << (HiveSqlParser.T_RESIGNAL - 224)) | (1 << (HiveSqlParser.T_RESTRICT - 224)) | (1 << (HiveSqlParser.T_RESULT - 224)) | (1 << (HiveSqlParser.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSqlParser.T_RETURN - 224)) | (1 << (HiveSqlParser.T_RETURNS - 224)) | (1 << (HiveSqlParser.T_REVERSE - 224)) | (1 << (HiveSqlParser.T_RIGHT - 224)) | (1 << (HiveSqlParser.T_RLIKE - 224)) | (1 << (HiveSqlParser.T_ROLE - 224)) | (1 << (HiveSqlParser.T_ROLLBACK - 224)) | (1 << (HiveSqlParser.T_ROW - 224)) | (1 << (HiveSqlParser.T_ROWS - 224)) | (1 << (HiveSqlParser.T_ROW_COUNT - 224)) | (1 << (HiveSqlParser.T_RR - 224)) | (1 << (HiveSqlParser.T_RS - 224)) | (1 << (HiveSqlParser.T_PWD - 224)) | (1 << (HiveSqlParser.T_TRIM - 224)) | (1 << (HiveSqlParser.T_SCHEMA - 224)) | (1 << (HiveSqlParser.T_SECOND - 224)) | (1 << (HiveSqlParser.T_SECONDS - 224)) | (1 << (HiveSqlParser.T_SECURITY - 224)) | (1 << (HiveSqlParser.T_SEGMENT - 224)) | (1 << (HiveSqlParser.T_SEL - 224)) | (1 << (HiveSqlParser.T_SELECT - 224)) | (1 << (HiveSqlParser.T_SET - 224)) | (1 << (HiveSqlParser.T_SESSION - 224)) | (1 << (HiveSqlParser.T_SESSIONS - 224)) | (1 << (HiveSqlParser.T_SETS - 224)) | (1 << (HiveSqlParser.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSqlParser.T_SIGNAL - 256)) | (1 << (HiveSqlParser.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSqlParser.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSqlParser.T_SMALLDATETIME - 256)) | (1 << (HiveSqlParser.T_SMALLINT - 256)) | (1 << (HiveSqlParser.T_SQL - 256)) | (1 << (HiveSqlParser.T_SQLEXCEPTION - 256)) | (1 << (HiveSqlParser.T_SQLINSERT - 256)) | (1 << (HiveSqlParser.T_SQLSTATE - 256)) | (1 << (HiveSqlParser.T_SQLWARNING - 256)) | (1 << (HiveSqlParser.T_STATS - 256)) | (1 << (HiveSqlParser.T_STATISTICS - 256)) | (1 << (HiveSqlParser.T_STEP - 256)) | (1 << (HiveSqlParser.T_STORAGE - 256)) | (1 << (HiveSqlParser.T_STORED - 256)) | (1 << (HiveSqlParser.T_STRING - 256)) | (1 << (HiveSqlParser.T_SUBDIR - 256)) | (1 << (HiveSqlParser.T_SUBSTRING - 256)) | (1 << (HiveSqlParser.T_SUM - 256)) | (1 << (HiveSqlParser.T_SUMMARY - 256)) | (1 << (HiveSqlParser.T_SYS_REFCURSOR - 256)) | (1 << (HiveSqlParser.T_TABLE - 256)) | (1 << (HiveSqlParser.T_TABLESPACE - 256)) | (1 << (HiveSqlParser.T_TEMPORARY - 256)) | (1 << (HiveSqlParser.T_TERMINATED - 256)) | (1 << (HiveSqlParser.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSqlParser.T_THEN - 256)) | (1 << (HiveSqlParser.T_TIMESTAMP - 256)) | (1 << (HiveSqlParser.T_TITLE - 256)) | (1 << (HiveSqlParser.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSqlParser.T_TOP - 288)) | (1 << (HiveSqlParser.T_TRANSACTION - 288)) | (1 << (HiveSqlParser.T_TRUE - 288)) | (1 << (HiveSqlParser.T_TRUNCATE - 288)) | (1 << (HiveSqlParser.T_UNIQUE - 288)) | (1 << (HiveSqlParser.T_UPDATE - 288)) | (1 << (HiveSqlParser.T_UR - 288)) | (1 << (HiveSqlParser.T_USE - 288)) | (1 << (HiveSqlParser.T_USING - 288)) | (1 << (HiveSqlParser.T_VALUE - 288)) | (1 << (HiveSqlParser.T_VALUES - 288)) | (1 << (HiveSqlParser.T_VAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR2 - 288)) | (1 << (HiveSqlParser.T_VARYING - 288)) | (1 << (HiveSqlParser.T_VOLATILE - 288)) | (1 << (HiveSqlParser.T_WHILE - 288)) | (1 << (HiveSqlParser.T_WITH - 288)) | (1 << (HiveSqlParser.T_WITHOUT - 288)) | (1 << (HiveSqlParser.T_WORK - 288)) | (1 << (HiveSqlParser.T_XACT_ABORT - 288)) | (1 << (HiveSqlParser.T_XML - 288)) | (1 << (HiveSqlParser.T_YES - 288)) | (1 << (HiveSqlParser.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSqlParser.T_CUME_DIST - 288)) | (1 << (HiveSqlParser.T_CURRENT_DATE - 288)) | (1 << (HiveSqlParser.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSqlParser.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSqlParser.T_DENSE_RANK - 320)) | (1 << (HiveSqlParser.T_FIRST_VALUE - 320)) | (1 << (HiveSqlParser.T_LAG - 320)) | (1 << (HiveSqlParser.T_LAST_VALUE - 320)) | (1 << (HiveSqlParser.T_LEAD - 320)) | (1 << (HiveSqlParser.T_PART_COUNT - 320)) | (1 << (HiveSqlParser.T_PART_LOC - 320)) | (1 << (HiveSqlParser.T_RANK - 320)) | (1 << (HiveSqlParser.T_ROW_NUMBER - 320)) | (1 << (HiveSqlParser.T_STDEV - 320)) | (1 << (HiveSqlParser.T_SYSDATE - 320)) | (1 << (HiveSqlParser.T_VARIANCE - 320)) | (1 << (HiveSqlParser.T_USER - 320)))) !== 0) || _la===HiveSqlParser.L_ID || _la===HiveSqlParser.L_INT); + } while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSql.T_ACTION) | (1 << HiveSql.T_ADD2) | (1 << HiveSql.T_ALL) | (1 << HiveSql.T_ALLOCATE) | (1 << HiveSql.T_ALTER) | (1 << HiveSql.T_AND) | (1 << HiveSql.T_ANSI_NULLS) | (1 << HiveSql.T_ANSI_PADDING) | (1 << HiveSql.T_AS) | (1 << HiveSql.T_ASC) | (1 << HiveSql.T_ASSOCIATE) | (1 << HiveSql.T_AT) | (1 << HiveSql.T_AUTO_INCREMENT) | (1 << HiveSql.T_AVG) | (1 << HiveSql.T_BATCHSIZE) | (1 << HiveSql.T_BEGIN) | (1 << HiveSql.T_BETWEEN) | (1 << HiveSql.T_BIGINT) | (1 << HiveSql.T_BINARY_DOUBLE) | (1 << HiveSql.T_BINARY_FLOAT) | (1 << HiveSql.T_BIT) | (1 << HiveSql.T_BODY) | (1 << HiveSql.T_BREAK) | (1 << HiveSql.T_BY) | (1 << HiveSql.T_BYTE) | (1 << HiveSql.T_CALL) | (1 << HiveSql.T_CALLER) | (1 << HiveSql.T_CASCADE) | (1 << HiveSql.T_CASE) | (1 << HiveSql.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSql.T_CAST - 32)) | (1 << (HiveSql.T_CHAR - 32)) | (1 << (HiveSql.T_CHARACTER - 32)) | (1 << (HiveSql.T_CHARSET - 32)) | (1 << (HiveSql.T_CLIENT - 32)) | (1 << (HiveSql.T_CLOSE - 32)) | (1 << (HiveSql.T_CLUSTERED - 32)) | (1 << (HiveSql.T_CMP - 32)) | (1 << (HiveSql.T_COLLECT - 32)) | (1 << (HiveSql.T_COLLECTION - 32)) | (1 << (HiveSql.T_COLUMN - 32)) | (1 << (HiveSql.T_COMMENT - 32)) | (1 << (HiveSql.T_CONSTANT - 32)) | (1 << (HiveSql.T_COMMIT - 32)) | (1 << (HiveSql.T_COMPRESS - 32)) | (1 << (HiveSql.T_CONCAT - 32)) | (1 << (HiveSql.T_CONDITION - 32)) | (1 << (HiveSql.T_CONSTRAINT - 32)) | (1 << (HiveSql.T_CONTINUE - 32)) | (1 << (HiveSql.T_COPY - 32)) | (1 << (HiveSql.T_COUNT - 32)) | (1 << (HiveSql.T_COUNT_BIG - 32)) | (1 << (HiveSql.T_CREATE - 32)) | (1 << (HiveSql.T_CREATION - 32)) | (1 << (HiveSql.T_CREATOR - 32)) | (1 << (HiveSql.T_CS - 32)) | (1 << (HiveSql.T_CURRENT - 32)) | (1 << (HiveSql.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSql.T_CURSOR - 32)) | (1 << (HiveSql.T_DATABASE - 32)) | (1 << (HiveSql.T_DATA - 32)) | (1 << (HiveSql.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSql.T_DATETIME - 64)) | (1 << (HiveSql.T_DAY - 64)) | (1 << (HiveSql.T_DAYS - 64)) | (1 << (HiveSql.T_DEC - 64)) | (1 << (HiveSql.T_DECIMAL - 64)) | (1 << (HiveSql.T_DECLARE - 64)) | (1 << (HiveSql.T_DEFAULT - 64)) | (1 << (HiveSql.T_DEFERRED - 64)) | (1 << (HiveSql.T_DEFINED - 64)) | (1 << (HiveSql.T_DEFINER - 64)) | (1 << (HiveSql.T_DEFINITION - 64)) | (1 << (HiveSql.T_DELETE - 64)) | (1 << (HiveSql.T_DELIMITED - 64)) | (1 << (HiveSql.T_DELIMITER - 64)) | (1 << (HiveSql.T_DESC - 64)) | (1 << (HiveSql.T_DESCRIBE - 64)) | (1 << (HiveSql.T_DIAGNOSTICS - 64)) | (1 << (HiveSql.T_DIR - 64)) | (1 << (HiveSql.T_DIRECTORY - 64)) | (1 << (HiveSql.T_DISTINCT - 64)) | (1 << (HiveSql.T_DISTRIBUTE - 64)) | (1 << (HiveSql.T_DO - 64)) | (1 << (HiveSql.T_DOUBLE - 64)) | (1 << (HiveSql.T_DROP - 64)) | (1 << (HiveSql.T_DYNAMIC - 64)) | (1 << (HiveSql.T_ENABLE - 64)) | (1 << (HiveSql.T_ENGINE - 64)) | (1 << (HiveSql.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSql.T_EXCEPT - 96)) | (1 << (HiveSql.T_EXEC - 96)) | (1 << (HiveSql.T_EXECUTE - 96)) | (1 << (HiveSql.T_EXCEPTION - 96)) | (1 << (HiveSql.T_EXCLUSIVE - 96)) | (1 << (HiveSql.T_EXISTS - 96)) | (1 << (HiveSql.T_EXIT - 96)) | (1 << (HiveSql.T_FALLBACK - 96)) | (1 << (HiveSql.T_FALSE - 96)) | (1 << (HiveSql.T_FETCH - 96)) | (1 << (HiveSql.T_FIELDS - 96)) | (1 << (HiveSql.T_FILE - 96)) | (1 << (HiveSql.T_FILES - 96)) | (1 << (HiveSql.T_FLOAT - 96)) | (1 << (HiveSql.T_FOR - 96)) | (1 << (HiveSql.T_FOREIGN - 96)) | (1 << (HiveSql.T_FORMAT - 96)) | (1 << (HiveSql.T_FOUND - 96)) | (1 << (HiveSql.T_FROM - 96)) | (1 << (HiveSql.T_FULL - 96)) | (1 << (HiveSql.T_FUNCTION - 96)) | (1 << (HiveSql.T_GET - 96)) | (1 << (HiveSql.T_GLOBAL - 96)) | (1 << (HiveSql.T_GO - 96)) | (1 << (HiveSql.T_GRANT - 96)) | (1 << (HiveSql.T_GROUP - 96)) | (1 << (HiveSql.T_HANDLER - 96)) | (1 << (HiveSql.T_HASH - 96)) | (1 << (HiveSql.T_HAVING - 96)) | (1 << (HiveSql.T_HDFS - 96)) | (1 << (HiveSql.T_HIVE - 96)) | (1 << (HiveSql.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSql.T_IDENTITY - 128)) | (1 << (HiveSql.T_IF - 128)) | (1 << (HiveSql.T_IGNORE - 128)) | (1 << (HiveSql.T_IMMEDIATE - 128)) | (1 << (HiveSql.T_IN - 128)) | (1 << (HiveSql.T_INCLUDE - 128)) | (1 << (HiveSql.T_INDEX - 128)) | (1 << (HiveSql.T_INITRANS - 128)) | (1 << (HiveSql.T_INNER - 128)) | (1 << (HiveSql.T_INOUT - 128)) | (1 << (HiveSql.T_INSERT - 128)) | (1 << (HiveSql.T_INT - 128)) | (1 << (HiveSql.T_INT2 - 128)) | (1 << (HiveSql.T_INT4 - 128)) | (1 << (HiveSql.T_INT8 - 128)) | (1 << (HiveSql.T_INTEGER - 128)) | (1 << (HiveSql.T_INTERSECT - 128)) | (1 << (HiveSql.T_INTERVAL - 128)) | (1 << (HiveSql.T_INTO - 128)) | (1 << (HiveSql.T_INVOKER - 128)) | (1 << (HiveSql.T_IS - 128)) | (1 << (HiveSql.T_ISOPEN - 128)) | (1 << (HiveSql.T_ITEMS - 128)) | (1 << (HiveSql.T_JOIN - 128)) | (1 << (HiveSql.T_KEEP - 128)) | (1 << (HiveSql.T_KEY - 128)) | (1 << (HiveSql.T_KEYS - 128)) | (1 << (HiveSql.T_LANGUAGE - 128)) | (1 << (HiveSql.T_LEAVE - 128)) | (1 << (HiveSql.T_LEFT - 128)) | (1 << (HiveSql.T_LIKE - 128)) | (1 << (HiveSql.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSql.T_LINES - 160)) | (1 << (HiveSql.T_LOCAL - 160)) | (1 << (HiveSql.T_LOCATION - 160)) | (1 << (HiveSql.T_LOCATOR - 160)) | (1 << (HiveSql.T_LOCATORS - 160)) | (1 << (HiveSql.T_LOCKS - 160)) | (1 << (HiveSql.T_LOG - 160)) | (1 << (HiveSql.T_LOGGED - 160)) | (1 << (HiveSql.T_LOGGING - 160)) | (1 << (HiveSql.T_LOOP - 160)) | (1 << (HiveSql.T_MAP - 160)) | (1 << (HiveSql.T_MATCHED - 160)) | (1 << (HiveSql.T_MAX - 160)) | (1 << (HiveSql.T_MAXTRANS - 160)) | (1 << (HiveSql.T_MERGE - 160)) | (1 << (HiveSql.T_MESSAGE_TEXT - 160)) | (1 << (HiveSql.T_MICROSECOND - 160)) | (1 << (HiveSql.T_MICROSECONDS - 160)) | (1 << (HiveSql.T_MIN - 160)) | (1 << (HiveSql.T_MULTISET - 160)) | (1 << (HiveSql.T_NCHAR - 160)) | (1 << (HiveSql.T_NEW - 160)) | (1 << (HiveSql.T_NVARCHAR - 160)) | (1 << (HiveSql.T_NO - 160)) | (1 << (HiveSql.T_NOCOUNT - 160)) | (1 << (HiveSql.T_NOCOMPRESS - 160)) | (1 << (HiveSql.T_NOLOGGING - 160)) | (1 << (HiveSql.T_NONE - 160)) | (1 << (HiveSql.T_NOT - 160)) | (1 << (HiveSql.T_NOTFOUND - 160)) | (1 << (HiveSql.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSql.T_NUMBER - 192)) | (1 << (HiveSql.T_OBJECT - 192)) | (1 << (HiveSql.T_OFF - 192)) | (1 << (HiveSql.T_ON - 192)) | (1 << (HiveSql.T_ONLY - 192)) | (1 << (HiveSql.T_OPEN - 192)) | (1 << (HiveSql.T_OR - 192)) | (1 << (HiveSql.T_ORDER - 192)) | (1 << (HiveSql.T_OUT - 192)) | (1 << (HiveSql.T_OUTER - 192)) | (1 << (HiveSql.T_OVER - 192)) | (1 << (HiveSql.T_OVERWRITE - 192)) | (1 << (HiveSql.T_OWNER - 192)) | (1 << (HiveSql.T_PACKAGE - 192)) | (1 << (HiveSql.T_PARTITION - 192)) | (1 << (HiveSql.T_PCTFREE - 192)) | (1 << (HiveSql.T_PCTUSED - 192)) | (1 << (HiveSql.T_PRECISION - 192)) | (1 << (HiveSql.T_PRESERVE - 192)) | (1 << (HiveSql.T_PRIMARY - 192)) | (1 << (HiveSql.T_PRINT - 192)) | (1 << (HiveSql.T_PROC - 192)) | (1 << (HiveSql.T_PROCEDURE - 192)) | (1 << (HiveSql.T_QUALIFY - 192)) | (1 << (HiveSql.T_QUERY_BAND - 192)) | (1 << (HiveSql.T_QUIT - 192)) | (1 << (HiveSql.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSql.T_RAISE - 192)) | (1 << (HiveSql.T_REAL - 192)) | (1 << (HiveSql.T_REFERENCES - 192)) | (1 << (HiveSql.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSql.T_REPLACE - 224)) | (1 << (HiveSql.T_RESIGNAL - 224)) | (1 << (HiveSql.T_RESTRICT - 224)) | (1 << (HiveSql.T_RESULT - 224)) | (1 << (HiveSql.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSql.T_RETURN - 224)) | (1 << (HiveSql.T_RETURNS - 224)) | (1 << (HiveSql.T_REVERSE - 224)) | (1 << (HiveSql.T_RIGHT - 224)) | (1 << (HiveSql.T_RLIKE - 224)) | (1 << (HiveSql.T_ROLE - 224)) | (1 << (HiveSql.T_ROLLBACK - 224)) | (1 << (HiveSql.T_ROW - 224)) | (1 << (HiveSql.T_ROWS - 224)) | (1 << (HiveSql.T_ROW_COUNT - 224)) | (1 << (HiveSql.T_RR - 224)) | (1 << (HiveSql.T_RS - 224)) | (1 << (HiveSql.T_PWD - 224)) | (1 << (HiveSql.T_TRIM - 224)) | (1 << (HiveSql.T_SCHEMA - 224)) | (1 << (HiveSql.T_SECOND - 224)) | (1 << (HiveSql.T_SECONDS - 224)) | (1 << (HiveSql.T_SECURITY - 224)) | (1 << (HiveSql.T_SEGMENT - 224)) | (1 << (HiveSql.T_SEL - 224)) | (1 << (HiveSql.T_SELECT - 224)) | (1 << (HiveSql.T_SET - 224)) | (1 << (HiveSql.T_SESSION - 224)) | (1 << (HiveSql.T_SESSIONS - 224)) | (1 << (HiveSql.T_SETS - 224)) | (1 << (HiveSql.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSql.T_SIGNAL - 256)) | (1 << (HiveSql.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSql.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSql.T_SMALLDATETIME - 256)) | (1 << (HiveSql.T_SMALLINT - 256)) | (1 << (HiveSql.T_SQL - 256)) | (1 << (HiveSql.T_SQLEXCEPTION - 256)) | (1 << (HiveSql.T_SQLINSERT - 256)) | (1 << (HiveSql.T_SQLSTATE - 256)) | (1 << (HiveSql.T_SQLWARNING - 256)) | (1 << (HiveSql.T_STATS - 256)) | (1 << (HiveSql.T_STATISTICS - 256)) | (1 << (HiveSql.T_STEP - 256)) | (1 << (HiveSql.T_STORAGE - 256)) | (1 << (HiveSql.T_STORED - 256)) | (1 << (HiveSql.T_STRING - 256)) | (1 << (HiveSql.T_SUBDIR - 256)) | (1 << (HiveSql.T_SUBSTRING - 256)) | (1 << (HiveSql.T_SUM - 256)) | (1 << (HiveSql.T_SUMMARY - 256)) | (1 << (HiveSql.T_SYS_REFCURSOR - 256)) | (1 << (HiveSql.T_TABLE - 256)) | (1 << (HiveSql.T_TABLESPACE - 256)) | (1 << (HiveSql.T_TEMPORARY - 256)) | (1 << (HiveSql.T_TERMINATED - 256)) | (1 << (HiveSql.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSql.T_THEN - 256)) | (1 << (HiveSql.T_TIMESTAMP - 256)) | (1 << (HiveSql.T_TITLE - 256)) | (1 << (HiveSql.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSql.T_TOP - 288)) | (1 << (HiveSql.T_TRANSACTION - 288)) | (1 << (HiveSql.T_TRUE - 288)) | (1 << (HiveSql.T_TRUNCATE - 288)) | (1 << (HiveSql.T_UNIQUE - 288)) | (1 << (HiveSql.T_UPDATE - 288)) | (1 << (HiveSql.T_UR - 288)) | (1 << (HiveSql.T_USE - 288)) | (1 << (HiveSql.T_USING - 288)) | (1 << (HiveSql.T_VALUE - 288)) | (1 << (HiveSql.T_VALUES - 288)) | (1 << (HiveSql.T_VAR - 288)) | (1 << (HiveSql.T_VARCHAR - 288)) | (1 << (HiveSql.T_VARCHAR2 - 288)) | (1 << (HiveSql.T_VARYING - 288)) | (1 << (HiveSql.T_VOLATILE - 288)) | (1 << (HiveSql.T_WHILE - 288)) | (1 << (HiveSql.T_WITH - 288)) | (1 << (HiveSql.T_WITHOUT - 288)) | (1 << (HiveSql.T_WORK - 288)) | (1 << (HiveSql.T_XACT_ABORT - 288)) | (1 << (HiveSql.T_XML - 288)) | (1 << (HiveSql.T_YES - 288)) | (1 << (HiveSql.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSql.T_CUME_DIST - 288)) | (1 << (HiveSql.T_CURRENT_DATE - 288)) | (1 << (HiveSql.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSql.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSql.T_DENSE_RANK - 320)) | (1 << (HiveSql.T_FIRST_VALUE - 320)) | (1 << (HiveSql.T_LAG - 320)) | (1 << (HiveSql.T_LAST_VALUE - 320)) | (1 << (HiveSql.T_LEAD - 320)) | (1 << (HiveSql.T_PART_COUNT - 320)) | (1 << (HiveSql.T_PART_LOC - 320)) | (1 << (HiveSql.T_RANK - 320)) | (1 << (HiveSql.T_ROW_NUMBER - 320)) | (1 << (HiveSql.T_STDEV - 320)) | (1 << (HiveSql.T_SYSDATE - 320)) | (1 << (HiveSql.T_VARIANCE - 320)) | (1 << (HiveSql.T_USER - 320)))) !== 0) || _la===HiveSql.L_ID || _la===HiveSql.L_INT); this.state = 1079; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; - case HiveSqlParser.T_TABLESPACE: + case HiveSql.T_TABLESPACE: this.enterOuterAlt(localctx, 6); this.state = 1080; - this.match(HiveSqlParser.T_TABLESPACE); + this.match(HiveSql.T_TABLESPACE); this.state = 1081; this.ident(); break; @@ -10749,7 +10749,7 @@ function Create_table_options_db2_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options_db2_item; + this.ruleIndex = HiveSql.RULE_create_table_options_db2_item; return this; } @@ -10757,7 +10757,7 @@ Create_table_options_db2_itemContext.prototype = Object.create(antlr4.ParserRule Create_table_options_db2_itemContext.prototype.constructor = Create_table_options_db2_itemContext; Create_table_options_db2_itemContext.prototype.T_IN = function() { - return this.getToken(HiveSqlParser.T_IN, 0); + return this.getToken(HiveSql.T_IN, 0); }; Create_table_options_db2_itemContext.prototype.ident = function(i) { @@ -10772,35 +10772,35 @@ Create_table_options_db2_itemContext.prototype.ident = function(i) { }; Create_table_options_db2_itemContext.prototype.T_INDEX = function() { - return this.getToken(HiveSqlParser.T_INDEX, 0); + return this.getToken(HiveSql.T_INDEX, 0); }; Create_table_options_db2_itemContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Create_table_options_db2_itemContext.prototype.T_REPLACE = function() { - return this.getToken(HiveSqlParser.T_REPLACE, 0); + return this.getToken(HiveSql.T_REPLACE, 0); }; Create_table_options_db2_itemContext.prototype.T_DISTRIBUTE = function() { - return this.getToken(HiveSqlParser.T_DISTRIBUTE, 0); + return this.getToken(HiveSql.T_DISTRIBUTE, 0); }; Create_table_options_db2_itemContext.prototype.T_BY = function() { - return this.getToken(HiveSqlParser.T_BY, 0); + return this.getToken(HiveSql.T_BY, 0); }; Create_table_options_db2_itemContext.prototype.T_HASH = function() { - return this.getToken(HiveSqlParser.T_HASH, 0); + return this.getToken(HiveSql.T_HASH, 0); }; Create_table_options_db2_itemContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Create_table_options_db2_itemContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Create_table_options_db2_itemContext.prototype.T_COMMA = function(i) { @@ -10808,67 +10808,67 @@ Create_table_options_db2_itemContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Create_table_options_db2_itemContext.prototype.T_LOGGED = function() { - return this.getToken(HiveSqlParser.T_LOGGED, 0); + return this.getToken(HiveSql.T_LOGGED, 0); }; Create_table_options_db2_itemContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Create_table_options_db2_itemContext.prototype.T_COMPRESS = function() { - return this.getToken(HiveSqlParser.T_COMPRESS, 0); + return this.getToken(HiveSql.T_COMPRESS, 0); }; Create_table_options_db2_itemContext.prototype.T_YES = function() { - return this.getToken(HiveSqlParser.T_YES, 0); + return this.getToken(HiveSql.T_YES, 0); }; Create_table_options_db2_itemContext.prototype.T_NO = function() { - return this.getToken(HiveSqlParser.T_NO, 0); + return this.getToken(HiveSql.T_NO, 0); }; Create_table_options_db2_itemContext.prototype.T_DEFINITION = function() { - return this.getToken(HiveSqlParser.T_DEFINITION, 0); + return this.getToken(HiveSql.T_DEFINITION, 0); }; Create_table_options_db2_itemContext.prototype.T_ONLY = function() { - return this.getToken(HiveSqlParser.T_ONLY, 0); + return this.getToken(HiveSql.T_ONLY, 0); }; Create_table_options_db2_itemContext.prototype.T_RESTRICT = function() { - return this.getToken(HiveSqlParser.T_RESTRICT, 0); + return this.getToken(HiveSql.T_RESTRICT, 0); }; Create_table_options_db2_itemContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Create_table_options_db2_itemContext.prototype.T_DROP = function() { - return this.getToken(HiveSqlParser.T_DROP, 0); + return this.getToken(HiveSql.T_DROP, 0); }; Create_table_options_db2_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options_db2_item(this); } }; Create_table_options_db2_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options_db2_item(this); } }; Create_table_options_db2_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options_db2_item(this); } else { return visitor.visitChildren(this); @@ -10878,12 +10878,12 @@ Create_table_options_db2_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_options_db2_itemContext = Create_table_options_db2_itemContext; +HiveSql.Create_table_options_db2_itemContext = Create_table_options_db2_itemContext; -HiveSqlParser.prototype.create_table_options_db2_item = function() { +HiveSql.prototype.create_table_options_db2_item = function() { var localctx = new Create_table_options_db2_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 96, HiveSqlParser.RULE_create_table_options_db2_item); + this.enterRule(localctx, 96, HiveSql.RULE_create_table_options_db2_item); var _la = 0; // Token type try { this.state = 1117; @@ -10895,13 +10895,13 @@ HiveSqlParser.prototype.create_table_options_db2_item = function() { this.state = 1085; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_INDEX) { + if(_la===HiveSql.T_INDEX) { this.state = 1084; - this.match(HiveSqlParser.T_INDEX); + this.match(HiveSql.T_INDEX); } this.state = 1087; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); this.state = 1088; this.ident(); break; @@ -10909,29 +10909,29 @@ HiveSqlParser.prototype.create_table_options_db2_item = function() { case 2: this.enterOuterAlt(localctx, 2); this.state = 1089; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 1090; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 1091; - this.match(HiveSqlParser.T_DISTRIBUTE); + this.match(HiveSql.T_DISTRIBUTE); this.state = 1092; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 1093; - this.match(HiveSqlParser.T_HASH); + this.match(HiveSql.T_HASH); this.state = 1094; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1095; this.ident(); this.state = 1100; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1096; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1097; this.ident(); this.state = 1102; @@ -10939,7 +10939,7 @@ HiveSqlParser.prototype.create_table_options_db2_item = function() { _la = this._input.LA(1); } this.state = 1103; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 4: @@ -10947,22 +10947,22 @@ HiveSqlParser.prototype.create_table_options_db2_item = function() { this.state = 1106; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 1105; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 1108; - this.match(HiveSqlParser.T_LOGGED); + this.match(HiveSql.T_LOGGED); break; case 5: this.enterOuterAlt(localctx, 5); this.state = 1109; - this.match(HiveSqlParser.T_COMPRESS); + this.match(HiveSql.T_COMPRESS); this.state = 1110; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_NO || _la===HiveSqlParser.T_YES)) { + if(!(_la===HiveSql.T_NO || _la===HiveSql.T_YES)) { this._errHandler.recoverInline(this); } else { @@ -10974,21 +10974,21 @@ HiveSqlParser.prototype.create_table_options_db2_item = function() { case 6: this.enterOuterAlt(localctx, 6); this.state = 1111; - this.match(HiveSqlParser.T_DEFINITION); + this.match(HiveSql.T_DEFINITION); this.state = 1112; - this.match(HiveSqlParser.T_ONLY); + this.match(HiveSql.T_ONLY); break; case 7: this.enterOuterAlt(localctx, 7); this.state = 1113; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 1114; - this.match(HiveSqlParser.T_RESTRICT); + this.match(HiveSql.T_RESTRICT); this.state = 1115; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 1116; - this.match(HiveSqlParser.T_DROP); + this.match(HiveSql.T_DROP); break; } @@ -11016,7 +11016,7 @@ function Create_table_options_td_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options_td_item; + this.ruleIndex = HiveSql.RULE_create_table_options_td_item; return this; } @@ -11024,15 +11024,15 @@ Create_table_options_td_itemContext.prototype = Object.create(antlr4.ParserRuleC Create_table_options_td_itemContext.prototype.constructor = Create_table_options_td_itemContext; Create_table_options_td_itemContext.prototype.T_PRIMARY = function() { - return this.getToken(HiveSqlParser.T_PRIMARY, 0); + return this.getToken(HiveSql.T_PRIMARY, 0); }; Create_table_options_td_itemContext.prototype.T_INDEX = function() { - return this.getToken(HiveSqlParser.T_INDEX, 0); + return this.getToken(HiveSql.T_INDEX, 0); }; Create_table_options_td_itemContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Create_table_options_td_itemContext.prototype.ident = function(i) { @@ -11047,11 +11047,11 @@ Create_table_options_td_itemContext.prototype.ident = function(i) { }; Create_table_options_td_itemContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Create_table_options_td_itemContext.prototype.T_UNIQUE = function() { - return this.getToken(HiveSqlParser.T_UNIQUE, 0); + return this.getToken(HiveSql.T_UNIQUE, 0); }; Create_table_options_td_itemContext.prototype.T_COMMA = function(i) { @@ -11059,35 +11059,35 @@ Create_table_options_td_itemContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Create_table_options_td_itemContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Create_table_options_td_itemContext.prototype.T_DATA = function() { - return this.getToken(HiveSqlParser.T_DATA, 0); + return this.getToken(HiveSql.T_DATA, 0); }; Create_table_options_td_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options_td_item(this); } }; Create_table_options_td_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options_td_item(this); } }; Create_table_options_td_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options_td_item(this); } else { return visitor.visitChildren(this); @@ -11097,42 +11097,42 @@ Create_table_options_td_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_options_td_itemContext = Create_table_options_td_itemContext; +HiveSql.Create_table_options_td_itemContext = Create_table_options_td_itemContext; -HiveSqlParser.prototype.create_table_options_td_item = function() { +HiveSql.prototype.create_table_options_td_item = function() { var localctx = new Create_table_options_td_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 98, HiveSqlParser.RULE_create_table_options_td_item); + this.enterRule(localctx, 98, HiveSql.RULE_create_table_options_td_item); var _la = 0; // Token type try { this.state = 1137; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_UNIQUE: + case HiveSql.T_PRIMARY: + case HiveSql.T_UNIQUE: this.enterOuterAlt(localctx, 1); this.state = 1120; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_UNIQUE) { + if(_la===HiveSql.T_UNIQUE) { this.state = 1119; - this.match(HiveSqlParser.T_UNIQUE); + this.match(HiveSql.T_UNIQUE); } this.state = 1122; - this.match(HiveSqlParser.T_PRIMARY); + this.match(HiveSql.T_PRIMARY); this.state = 1123; - this.match(HiveSqlParser.T_INDEX); + this.match(HiveSql.T_INDEX); this.state = 1124; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1125; this.ident(); this.state = 1130; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1126; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1127; this.ident(); this.state = 1132; @@ -11140,14 +11140,14 @@ HiveSqlParser.prototype.create_table_options_td_item = function() { _la = this._input.LA(1); } this.state = 1133; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; - case HiveSqlParser.T_WITH: + case HiveSql.T_WITH: this.enterOuterAlt(localctx, 2); this.state = 1135; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 1136; - this.match(HiveSqlParser.T_DATA); + this.match(HiveSql.T_DATA); break; default: throw new antlr4.error.NoViableAltException(this); @@ -11176,7 +11176,7 @@ function Create_table_options_hive_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options_hive_item; + this.ruleIndex = HiveSql.RULE_create_table_options_hive_item; return this; } @@ -11188,11 +11188,11 @@ Create_table_options_hive_itemContext.prototype.create_table_hive_row_format = f }; Create_table_options_hive_itemContext.prototype.T_STORED = function() { - return this.getToken(HiveSqlParser.T_STORED, 0); + return this.getToken(HiveSql.T_STORED, 0); }; Create_table_options_hive_itemContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Create_table_options_hive_itemContext.prototype.ident = function() { @@ -11200,19 +11200,19 @@ Create_table_options_hive_itemContext.prototype.ident = function() { }; Create_table_options_hive_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options_hive_item(this); } }; Create_table_options_hive_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options_hive_item(this); } }; Create_table_options_hive_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options_hive_item(this); } else { return visitor.visitChildren(this); @@ -11222,27 +11222,27 @@ Create_table_options_hive_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_options_hive_itemContext = Create_table_options_hive_itemContext; +HiveSql.Create_table_options_hive_itemContext = Create_table_options_hive_itemContext; -HiveSqlParser.prototype.create_table_options_hive_item = function() { +HiveSql.prototype.create_table_options_hive_item = function() { var localctx = new Create_table_options_hive_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 100, HiveSqlParser.RULE_create_table_options_hive_item); + this.enterRule(localctx, 100, HiveSql.RULE_create_table_options_hive_item); try { this.state = 1143; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ROW: + case HiveSql.T_ROW: this.enterOuterAlt(localctx, 1); this.state = 1139; this.create_table_hive_row_format(); break; - case HiveSqlParser.T_STORED: + case HiveSql.T_STORED: this.enterOuterAlt(localctx, 2); this.state = 1140; - this.match(HiveSqlParser.T_STORED); + this.match(HiveSql.T_STORED); this.state = 1141; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); this.state = 1142; this.ident(); break; @@ -11273,7 +11273,7 @@ function Create_table_hive_row_formatContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_hive_row_format; + this.ruleIndex = HiveSql.RULE_create_table_hive_row_format; return this; } @@ -11281,15 +11281,15 @@ Create_table_hive_row_formatContext.prototype = Object.create(antlr4.ParserRuleC Create_table_hive_row_formatContext.prototype.constructor = Create_table_hive_row_formatContext; Create_table_hive_row_formatContext.prototype.T_ROW = function() { - return this.getToken(HiveSqlParser.T_ROW, 0); + return this.getToken(HiveSql.T_ROW, 0); }; Create_table_hive_row_formatContext.prototype.T_FORMAT = function() { - return this.getToken(HiveSqlParser.T_FORMAT, 0); + return this.getToken(HiveSql.T_FORMAT, 0); }; Create_table_hive_row_formatContext.prototype.T_DELIMITED = function() { - return this.getToken(HiveSqlParser.T_DELIMITED, 0); + return this.getToken(HiveSql.T_DELIMITED, 0); }; Create_table_hive_row_formatContext.prototype.create_table_hive_row_format_fields = function(i) { @@ -11304,19 +11304,19 @@ Create_table_hive_row_formatContext.prototype.create_table_hive_row_format_field }; Create_table_hive_row_formatContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_hive_row_format(this); } }; Create_table_hive_row_formatContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_hive_row_format(this); } }; Create_table_hive_row_formatContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_hive_row_format(this); } else { return visitor.visitChildren(this); @@ -11326,20 +11326,20 @@ Create_table_hive_row_formatContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_hive_row_formatContext = Create_table_hive_row_formatContext; +HiveSql.Create_table_hive_row_formatContext = Create_table_hive_row_formatContext; -HiveSqlParser.prototype.create_table_hive_row_format = function() { +HiveSql.prototype.create_table_hive_row_format = function() { var localctx = new Create_table_hive_row_formatContext(this, this._ctx, this.state); - this.enterRule(localctx, 102, HiveSqlParser.RULE_create_table_hive_row_format); + this.enterRule(localctx, 102, HiveSql.RULE_create_table_hive_row_format); try { this.enterOuterAlt(localctx, 1); this.state = 1145; - this.match(HiveSqlParser.T_ROW); + this.match(HiveSql.T_ROW); this.state = 1146; - this.match(HiveSqlParser.T_FORMAT); + this.match(HiveSql.T_FORMAT); this.state = 1147; - this.match(HiveSqlParser.T_DELIMITED); + this.match(HiveSql.T_DELIMITED); this.state = 1151; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,97,this._ctx) @@ -11377,7 +11377,7 @@ function Create_table_hive_row_format_fieldsContext(parser, parent, invokingStat } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_hive_row_format_fields; + this.ruleIndex = HiveSql.RULE_create_table_hive_row_format_fields; return this; } @@ -11385,11 +11385,11 @@ Create_table_hive_row_format_fieldsContext.prototype = Object.create(antlr4.Pars Create_table_hive_row_format_fieldsContext.prototype.constructor = Create_table_hive_row_format_fieldsContext; Create_table_hive_row_format_fieldsContext.prototype.T_FIELDS = function() { - return this.getToken(HiveSqlParser.T_FIELDS, 0); + return this.getToken(HiveSql.T_FIELDS, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_TERMINATED = function() { - return this.getToken(HiveSqlParser.T_TERMINATED, 0); + return this.getToken(HiveSql.T_TERMINATED, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_BY = function(i) { @@ -11397,9 +11397,9 @@ Create_table_hive_row_format_fieldsContext.prototype.T_BY = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_BY); + return this.getTokens(HiveSql.T_BY); } else { - return this.getToken(HiveSqlParser.T_BY, i); + return this.getToken(HiveSql.T_BY, i); } }; @@ -11416,55 +11416,55 @@ Create_table_hive_row_format_fieldsContext.prototype.expr = function(i) { }; Create_table_hive_row_format_fieldsContext.prototype.T_ESCAPED = function() { - return this.getToken(HiveSqlParser.T_ESCAPED, 0); + return this.getToken(HiveSql.T_ESCAPED, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_COLLECTION = function() { - return this.getToken(HiveSqlParser.T_COLLECTION, 0); + return this.getToken(HiveSql.T_COLLECTION, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_ITEMS = function() { - return this.getToken(HiveSqlParser.T_ITEMS, 0); + return this.getToken(HiveSql.T_ITEMS, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_MAP = function() { - return this.getToken(HiveSqlParser.T_MAP, 0); + return this.getToken(HiveSql.T_MAP, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_KEYS = function() { - return this.getToken(HiveSqlParser.T_KEYS, 0); + return this.getToken(HiveSql.T_KEYS, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_LINES = function() { - return this.getToken(HiveSqlParser.T_LINES, 0); + return this.getToken(HiveSql.T_LINES, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_NULL = function() { - return this.getToken(HiveSqlParser.T_NULL, 0); + return this.getToken(HiveSql.T_NULL, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_DEFINED = function() { - return this.getToken(HiveSqlParser.T_DEFINED, 0); + return this.getToken(HiveSql.T_DEFINED, 0); }; Create_table_hive_row_format_fieldsContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Create_table_hive_row_format_fieldsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_hive_row_format_fields(this); } }; Create_table_hive_row_format_fieldsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_hive_row_format_fields(this); } }; Create_table_hive_row_format_fieldsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_hive_row_format_fields(this); } else { return visitor.visitChildren(this); @@ -11474,24 +11474,24 @@ Create_table_hive_row_format_fieldsContext.prototype.accept = function(visitor) -HiveSqlParser.Create_table_hive_row_format_fieldsContext = Create_table_hive_row_format_fieldsContext; +HiveSql.Create_table_hive_row_format_fieldsContext = Create_table_hive_row_format_fieldsContext; -HiveSqlParser.prototype.create_table_hive_row_format_fields = function() { +HiveSql.prototype.create_table_hive_row_format_fields = function() { var localctx = new Create_table_hive_row_format_fieldsContext(this, this._ctx, this.state); - this.enterRule(localctx, 104, HiveSqlParser.RULE_create_table_hive_row_format_fields); + this.enterRule(localctx, 104, HiveSql.RULE_create_table_hive_row_format_fields); try { this.state = 1181; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_FIELDS: + case HiveSql.T_FIELDS: this.enterOuterAlt(localctx, 1); this.state = 1154; - this.match(HiveSqlParser.T_FIELDS); + this.match(HiveSql.T_FIELDS); this.state = 1155; - this.match(HiveSqlParser.T_TERMINATED); + this.match(HiveSql.T_TERMINATED); this.state = 1156; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 1157; this.expr(0); this.state = 1161; @@ -11499,59 +11499,59 @@ HiveSqlParser.prototype.create_table_hive_row_format_fields = function() { var la_ = this._interp.adaptivePredict(this._input,98,this._ctx); if(la_===1) { this.state = 1158; - this.match(HiveSqlParser.T_ESCAPED); + this.match(HiveSql.T_ESCAPED); this.state = 1159; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 1160; this.expr(0); } break; - case HiveSqlParser.T_COLLECTION: + case HiveSql.T_COLLECTION: this.enterOuterAlt(localctx, 2); this.state = 1163; - this.match(HiveSqlParser.T_COLLECTION); + this.match(HiveSql.T_COLLECTION); this.state = 1164; - this.match(HiveSqlParser.T_ITEMS); + this.match(HiveSql.T_ITEMS); this.state = 1165; - this.match(HiveSqlParser.T_TERMINATED); + this.match(HiveSql.T_TERMINATED); this.state = 1166; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 1167; this.expr(0); break; - case HiveSqlParser.T_MAP: + case HiveSql.T_MAP: this.enterOuterAlt(localctx, 3); this.state = 1168; - this.match(HiveSqlParser.T_MAP); + this.match(HiveSql.T_MAP); this.state = 1169; - this.match(HiveSqlParser.T_KEYS); + this.match(HiveSql.T_KEYS); this.state = 1170; - this.match(HiveSqlParser.T_TERMINATED); + this.match(HiveSql.T_TERMINATED); this.state = 1171; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 1172; this.expr(0); break; - case HiveSqlParser.T_LINES: + case HiveSql.T_LINES: this.enterOuterAlt(localctx, 4); this.state = 1173; - this.match(HiveSqlParser.T_LINES); + this.match(HiveSql.T_LINES); this.state = 1174; - this.match(HiveSqlParser.T_TERMINATED); + this.match(HiveSql.T_TERMINATED); this.state = 1175; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 1176; this.expr(0); break; - case HiveSqlParser.T_NULL: + case HiveSql.T_NULL: this.enterOuterAlt(localctx, 5); this.state = 1177; - this.match(HiveSqlParser.T_NULL); + this.match(HiveSql.T_NULL); this.state = 1178; - this.match(HiveSqlParser.T_DEFINED); + this.match(HiveSql.T_DEFINED); this.state = 1179; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); this.state = 1180; this.expr(0); break; @@ -11582,7 +11582,7 @@ function Create_table_options_mssql_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options_mssql_item; + this.ruleIndex = HiveSql.RULE_create_table_options_mssql_item; return this; } @@ -11590,7 +11590,7 @@ Create_table_options_mssql_itemContext.prototype = Object.create(antlr4.ParserRu Create_table_options_mssql_itemContext.prototype.constructor = Create_table_options_mssql_itemContext; Create_table_options_mssql_itemContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Create_table_options_mssql_itemContext.prototype.ident = function() { @@ -11598,23 +11598,23 @@ Create_table_options_mssql_itemContext.prototype.ident = function() { }; Create_table_options_mssql_itemContext.prototype.T_TEXTIMAGE_ON = function() { - return this.getToken(HiveSqlParser.T_TEXTIMAGE_ON, 0); + return this.getToken(HiveSql.T_TEXTIMAGE_ON, 0); }; Create_table_options_mssql_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options_mssql_item(this); } }; Create_table_options_mssql_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options_mssql_item(this); } }; Create_table_options_mssql_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options_mssql_item(this); } else { return visitor.visitChildren(this); @@ -11624,27 +11624,27 @@ Create_table_options_mssql_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_options_mssql_itemContext = Create_table_options_mssql_itemContext; +HiveSql.Create_table_options_mssql_itemContext = Create_table_options_mssql_itemContext; -HiveSqlParser.prototype.create_table_options_mssql_item = function() { +HiveSql.prototype.create_table_options_mssql_item = function() { var localctx = new Create_table_options_mssql_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 106, HiveSqlParser.RULE_create_table_options_mssql_item); + this.enterRule(localctx, 106, HiveSql.RULE_create_table_options_mssql_item); try { this.state = 1187; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ON: + case HiveSql.T_ON: this.enterOuterAlt(localctx, 1); this.state = 1183; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 1184; this.ident(); break; - case HiveSqlParser.T_TEXTIMAGE_ON: + case HiveSql.T_TEXTIMAGE_ON: this.enterOuterAlt(localctx, 2); this.state = 1185; - this.match(HiveSqlParser.T_TEXTIMAGE_ON); + this.match(HiveSql.T_TEXTIMAGE_ON); this.state = 1186; this.ident(); break; @@ -11675,7 +11675,7 @@ function Create_table_options_mysql_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_table_options_mysql_item; + this.ruleIndex = HiveSql.RULE_create_table_options_mysql_item; return this; } @@ -11683,7 +11683,7 @@ Create_table_options_mysql_itemContext.prototype = Object.create(antlr4.ParserRu Create_table_options_mysql_itemContext.prototype.constructor = Create_table_options_mysql_itemContext; Create_table_options_mysql_itemContext.prototype.T_AUTO_INCREMENT = function() { - return this.getToken(HiveSqlParser.T_AUTO_INCREMENT, 0); + return this.getToken(HiveSql.T_AUTO_INCREMENT, 0); }; Create_table_options_mysql_itemContext.prototype.expr = function() { @@ -11691,47 +11691,47 @@ Create_table_options_mysql_itemContext.prototype.expr = function() { }; Create_table_options_mysql_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Create_table_options_mysql_itemContext.prototype.T_COMMENT = function() { - return this.getToken(HiveSqlParser.T_COMMENT, 0); + return this.getToken(HiveSql.T_COMMENT, 0); }; Create_table_options_mysql_itemContext.prototype.T_CHARACTER = function() { - return this.getToken(HiveSqlParser.T_CHARACTER, 0); + return this.getToken(HiveSql.T_CHARACTER, 0); }; Create_table_options_mysql_itemContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Create_table_options_mysql_itemContext.prototype.T_CHARSET = function() { - return this.getToken(HiveSqlParser.T_CHARSET, 0); + return this.getToken(HiveSql.T_CHARSET, 0); }; Create_table_options_mysql_itemContext.prototype.T_DEFAULT = function() { - return this.getToken(HiveSqlParser.T_DEFAULT, 0); + return this.getToken(HiveSql.T_DEFAULT, 0); }; Create_table_options_mysql_itemContext.prototype.T_ENGINE = function() { - return this.getToken(HiveSqlParser.T_ENGINE, 0); + return this.getToken(HiveSql.T_ENGINE, 0); }; Create_table_options_mysql_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_table_options_mysql_item(this); } }; Create_table_options_mysql_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_table_options_mysql_item(this); } }; Create_table_options_mysql_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_table_options_mysql_item(this); } else { return visitor.visitChildren(this); @@ -11741,71 +11741,71 @@ Create_table_options_mysql_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_table_options_mysql_itemContext = Create_table_options_mysql_itemContext; +HiveSql.Create_table_options_mysql_itemContext = Create_table_options_mysql_itemContext; -HiveSqlParser.prototype.create_table_options_mysql_item = function() { +HiveSql.prototype.create_table_options_mysql_item = function() { var localctx = new Create_table_options_mysql_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 108, HiveSqlParser.RULE_create_table_options_mysql_item); + this.enterRule(localctx, 108, HiveSql.RULE_create_table_options_mysql_item); var _la = 0; // Token type try { this.state = 1216; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_AUTO_INCREMENT: + case HiveSql.T_AUTO_INCREMENT: this.enterOuterAlt(localctx, 1); this.state = 1189; - this.match(HiveSqlParser.T_AUTO_INCREMENT); + this.match(HiveSql.T_AUTO_INCREMENT); this.state = 1191; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_EQUAL) { + if(_la===HiveSql.T_EQUAL) { this.state = 1190; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); } this.state = 1193; this.expr(0); break; - case HiveSqlParser.T_COMMENT: + case HiveSql.T_COMMENT: this.enterOuterAlt(localctx, 2); this.state = 1194; - this.match(HiveSqlParser.T_COMMENT); + this.match(HiveSql.T_COMMENT); this.state = 1196; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_EQUAL) { + if(_la===HiveSql.T_EQUAL) { this.state = 1195; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); } this.state = 1198; this.expr(0); break; - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_DEFAULT: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_DEFAULT: this.enterOuterAlt(localctx, 3); this.state = 1200; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_DEFAULT) { + if(_la===HiveSql.T_DEFAULT) { this.state = 1199; - this.match(HiveSqlParser.T_DEFAULT); + this.match(HiveSql.T_DEFAULT); } this.state = 1205; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_CHARACTER: + case HiveSql.T_CHARACTER: this.state = 1202; - this.match(HiveSqlParser.T_CHARACTER); + this.match(HiveSql.T_CHARACTER); this.state = 1203; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); break; - case HiveSqlParser.T_CHARSET: + case HiveSql.T_CHARSET: this.state = 1204; - this.match(HiveSqlParser.T_CHARSET); + this.match(HiveSql.T_CHARSET); break; default: throw new antlr4.error.NoViableAltException(this); @@ -11813,24 +11813,24 @@ HiveSqlParser.prototype.create_table_options_mysql_item = function() { this.state = 1208; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_EQUAL) { + if(_la===HiveSql.T_EQUAL) { this.state = 1207; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); } this.state = 1210; this.expr(0); break; - case HiveSqlParser.T_ENGINE: + case HiveSql.T_ENGINE: this.enterOuterAlt(localctx, 4); this.state = 1211; - this.match(HiveSqlParser.T_ENGINE); + this.match(HiveSql.T_ENGINE); this.state = 1213; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_EQUAL) { + if(_la===HiveSql.T_EQUAL) { this.state = 1212; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); } this.state = 1215; @@ -11863,7 +11863,7 @@ function Alter_table_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_alter_table_stmt; + this.ruleIndex = HiveSql.RULE_alter_table_stmt; return this; } @@ -11871,11 +11871,11 @@ Alter_table_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.proto Alter_table_stmtContext.prototype.constructor = Alter_table_stmtContext; Alter_table_stmtContext.prototype.T_ALTER = function() { - return this.getToken(HiveSqlParser.T_ALTER, 0); + return this.getToken(HiveSql.T_ALTER, 0); }; Alter_table_stmtContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Alter_table_stmtContext.prototype.table_name = function() { @@ -11887,19 +11887,19 @@ Alter_table_stmtContext.prototype.alter_table_item = function() { }; Alter_table_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAlter_table_stmt(this); } }; Alter_table_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAlter_table_stmt(this); } }; Alter_table_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAlter_table_stmt(this); } else { return visitor.visitChildren(this); @@ -11909,18 +11909,18 @@ Alter_table_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Alter_table_stmtContext = Alter_table_stmtContext; +HiveSql.Alter_table_stmtContext = Alter_table_stmtContext; -HiveSqlParser.prototype.alter_table_stmt = function() { +HiveSql.prototype.alter_table_stmt = function() { var localctx = new Alter_table_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 110, HiveSqlParser.RULE_alter_table_stmt); + this.enterRule(localctx, 110, HiveSql.RULE_alter_table_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1218; - this.match(HiveSqlParser.T_ALTER); + this.match(HiveSql.T_ALTER); this.state = 1219; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); this.state = 1220; this.table_name(); this.state = 1221; @@ -11949,7 +11949,7 @@ function Alter_table_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_alter_table_item; + this.ruleIndex = HiveSql.RULE_alter_table_item; return this; } @@ -11961,19 +11961,19 @@ Alter_table_itemContext.prototype.alter_table_add_constraint = function() { }; Alter_table_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAlter_table_item(this); } }; Alter_table_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAlter_table_item(this); } }; Alter_table_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAlter_table_item(this); } else { return visitor.visitChildren(this); @@ -11983,12 +11983,12 @@ Alter_table_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Alter_table_itemContext = Alter_table_itemContext; +HiveSql.Alter_table_itemContext = Alter_table_itemContext; -HiveSqlParser.prototype.alter_table_item = function() { +HiveSql.prototype.alter_table_item = function() { var localctx = new Alter_table_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 112, HiveSqlParser.RULE_alter_table_item); + this.enterRule(localctx, 112, HiveSql.RULE_alter_table_item); try { this.enterOuterAlt(localctx, 1); this.state = 1223; @@ -12017,7 +12017,7 @@ function Alter_table_add_constraintContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_alter_table_add_constraint; + this.ruleIndex = HiveSql.RULE_alter_table_add_constraint; return this; } @@ -12025,7 +12025,7 @@ Alter_table_add_constraintContext.prototype = Object.create(antlr4.ParserRuleCon Alter_table_add_constraintContext.prototype.constructor = Alter_table_add_constraintContext; Alter_table_add_constraintContext.prototype.T_ADD2 = function() { - return this.getToken(HiveSqlParser.T_ADD2, 0); + return this.getToken(HiveSql.T_ADD2, 0); }; Alter_table_add_constraintContext.prototype.alter_table_add_constraint_item = function() { @@ -12033,7 +12033,7 @@ Alter_table_add_constraintContext.prototype.alter_table_add_constraint_item = fu }; Alter_table_add_constraintContext.prototype.T_CONSTRAINT = function() { - return this.getToken(HiveSqlParser.T_CONSTRAINT, 0); + return this.getToken(HiveSql.T_CONSTRAINT, 0); }; Alter_table_add_constraintContext.prototype.ident = function() { @@ -12041,19 +12041,19 @@ Alter_table_add_constraintContext.prototype.ident = function() { }; Alter_table_add_constraintContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAlter_table_add_constraint(this); } }; Alter_table_add_constraintContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAlter_table_add_constraint(this); } }; Alter_table_add_constraintContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAlter_table_add_constraint(this); } else { return visitor.visitChildren(this); @@ -12063,23 +12063,23 @@ Alter_table_add_constraintContext.prototype.accept = function(visitor) { -HiveSqlParser.Alter_table_add_constraintContext = Alter_table_add_constraintContext; +HiveSql.Alter_table_add_constraintContext = Alter_table_add_constraintContext; -HiveSqlParser.prototype.alter_table_add_constraint = function() { +HiveSql.prototype.alter_table_add_constraint = function() { var localctx = new Alter_table_add_constraintContext(this, this._ctx, this.state); - this.enterRule(localctx, 114, HiveSqlParser.RULE_alter_table_add_constraint); + this.enterRule(localctx, 114, HiveSql.RULE_alter_table_add_constraint); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1225; - this.match(HiveSqlParser.T_ADD2); + this.match(HiveSql.T_ADD2); this.state = 1228; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_CONSTRAINT) { + if(_la===HiveSql.T_CONSTRAINT) { this.state = 1226; - this.match(HiveSqlParser.T_CONSTRAINT); + this.match(HiveSql.T_CONSTRAINT); this.state = 1227; this.ident(); } @@ -12110,7 +12110,7 @@ function Alter_table_add_constraint_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_alter_table_add_constraint_item; + this.ruleIndex = HiveSql.RULE_alter_table_add_constraint_item; return this; } @@ -12118,11 +12118,11 @@ Alter_table_add_constraint_itemContext.prototype = Object.create(antlr4.ParserRu Alter_table_add_constraint_itemContext.prototype.constructor = Alter_table_add_constraint_itemContext; Alter_table_add_constraint_itemContext.prototype.T_PRIMARY = function() { - return this.getToken(HiveSqlParser.T_PRIMARY, 0); + return this.getToken(HiveSql.T_PRIMARY, 0); }; Alter_table_add_constraint_itemContext.prototype.T_KEY = function() { - return this.getToken(HiveSqlParser.T_KEY, 0); + return this.getToken(HiveSql.T_KEY, 0); }; Alter_table_add_constraint_itemContext.prototype.T_OPEN_P = function(i) { @@ -12130,9 +12130,9 @@ Alter_table_add_constraint_itemContext.prototype.T_OPEN_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_OPEN_P); + return this.getTokens(HiveSql.T_OPEN_P); } else { - return this.getToken(HiveSqlParser.T_OPEN_P, i); + return this.getToken(HiveSql.T_OPEN_P, i); } }; @@ -12153,15 +12153,15 @@ Alter_table_add_constraint_itemContext.prototype.T_CLOSE_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_CLOSE_P); + return this.getTokens(HiveSql.T_CLOSE_P); } else { - return this.getToken(HiveSqlParser.T_CLOSE_P, i); + return this.getToken(HiveSql.T_CLOSE_P, i); } }; Alter_table_add_constraint_itemContext.prototype.T_CLUSTERED = function() { - return this.getToken(HiveSqlParser.T_CLUSTERED, 0); + return this.getToken(HiveSql.T_CLUSTERED, 0); }; Alter_table_add_constraint_itemContext.prototype.T_COMMA = function(i) { @@ -12169,15 +12169,15 @@ Alter_table_add_constraint_itemContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Alter_table_add_constraint_itemContext.prototype.T_ENABLE = function() { - return this.getToken(HiveSqlParser.T_ENABLE, 0); + return this.getToken(HiveSql.T_ENABLE, 0); }; Alter_table_add_constraint_itemContext.prototype.index_storage_clause = function() { @@ -12189,9 +12189,9 @@ Alter_table_add_constraint_itemContext.prototype.T_ASC = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_ASC); + return this.getTokens(HiveSql.T_ASC); } else { - return this.getToken(HiveSqlParser.T_ASC, i); + return this.getToken(HiveSql.T_ASC, i); } }; @@ -12201,19 +12201,19 @@ Alter_table_add_constraint_itemContext.prototype.T_DESC = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_DESC); + return this.getTokens(HiveSql.T_DESC); } else { - return this.getToken(HiveSqlParser.T_DESC, i); + return this.getToken(HiveSql.T_DESC, i); } }; Alter_table_add_constraint_itemContext.prototype.T_FOREIGN = function() { - return this.getToken(HiveSqlParser.T_FOREIGN, 0); + return this.getToken(HiveSql.T_FOREIGN, 0); }; Alter_table_add_constraint_itemContext.prototype.T_REFERENCES = function() { - return this.getToken(HiveSqlParser.T_REFERENCES, 0); + return this.getToken(HiveSql.T_REFERENCES, 0); }; Alter_table_add_constraint_itemContext.prototype.table_name = function() { @@ -12232,7 +12232,7 @@ Alter_table_add_constraint_itemContext.prototype.create_table_fk_action = functi }; Alter_table_add_constraint_itemContext.prototype.T_DEFAULT = function() { - return this.getToken(HiveSqlParser.T_DEFAULT, 0); + return this.getToken(HiveSql.T_DEFAULT, 0); }; Alter_table_add_constraint_itemContext.prototype.expr = function() { @@ -12240,23 +12240,23 @@ Alter_table_add_constraint_itemContext.prototype.expr = function() { }; Alter_table_add_constraint_itemContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Alter_table_add_constraint_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterAlter_table_add_constraint_item(this); } }; Alter_table_add_constraint_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitAlter_table_add_constraint_item(this); } }; Alter_table_add_constraint_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitAlter_table_add_constraint_item(this); } else { return visitor.visitChildren(this); @@ -12266,42 +12266,42 @@ Alter_table_add_constraint_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Alter_table_add_constraint_itemContext = Alter_table_add_constraint_itemContext; +HiveSql.Alter_table_add_constraint_itemContext = Alter_table_add_constraint_itemContext; -HiveSqlParser.prototype.alter_table_add_constraint_item = function() { +HiveSql.prototype.alter_table_add_constraint_item = function() { var localctx = new Alter_table_add_constraint_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 116, HiveSqlParser.RULE_alter_table_add_constraint_item); + this.enterRule(localctx, 116, HiveSql.RULE_alter_table_add_constraint_item); var _la = 0; // Token type try { this.state = 1294; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_PRIMARY: + case HiveSql.T_PRIMARY: this.enterOuterAlt(localctx, 1); this.state = 1232; - this.match(HiveSqlParser.T_PRIMARY); + this.match(HiveSql.T_PRIMARY); this.state = 1233; - this.match(HiveSqlParser.T_KEY); + this.match(HiveSql.T_KEY); this.state = 1235; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_CLUSTERED) { + if(_la===HiveSql.T_CLUSTERED) { this.state = 1234; - this.match(HiveSqlParser.T_CLUSTERED); + this.match(HiveSql.T_CLUSTERED); } this.state = 1237; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1238; this.ident(); this.state = 1240; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC) { + if(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC) { this.state = 1239; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC)) { + if(!(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC)) { this._errHandler.recoverInline(this); } else { @@ -12313,18 +12313,18 @@ HiveSqlParser.prototype.alter_table_add_constraint_item = function() { this.state = 1249; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1242; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1243; this.ident(); this.state = 1245; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC) { + if(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC) { this.state = 1244; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC)) { + if(!(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC)) { this._errHandler.recoverInline(this); } else { @@ -12338,13 +12338,13 @@ HiveSqlParser.prototype.alter_table_add_constraint_item = function() { _la = this._input.LA(1); } this.state = 1252; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 1254; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,113,this._ctx); if(la_===1) { this.state = 1253; - this.match(HiveSqlParser.T_ENABLE); + this.match(HiveSql.T_ENABLE); } this.state = 1257; @@ -12356,22 +12356,22 @@ HiveSqlParser.prototype.alter_table_add_constraint_item = function() { } break; - case HiveSqlParser.T_FOREIGN: + case HiveSql.T_FOREIGN: this.enterOuterAlt(localctx, 2); this.state = 1259; - this.match(HiveSqlParser.T_FOREIGN); + this.match(HiveSql.T_FOREIGN); this.state = 1260; - this.match(HiveSqlParser.T_KEY); + this.match(HiveSql.T_KEY); this.state = 1261; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1262; this.ident(); this.state = 1267; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1263; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1264; this.ident(); this.state = 1269; @@ -12379,21 +12379,21 @@ HiveSqlParser.prototype.alter_table_add_constraint_item = function() { _la = this._input.LA(1); } this.state = 1270; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 1271; - this.match(HiveSqlParser.T_REFERENCES); + this.match(HiveSql.T_REFERENCES); this.state = 1272; this.table_name(); this.state = 1273; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1274; this.ident(); this.state = 1279; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1275; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1276; this.ident(); this.state = 1281; @@ -12401,7 +12401,7 @@ HiveSqlParser.prototype.alter_table_add_constraint_item = function() { _la = this._input.LA(1); } this.state = 1282; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 1286; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,117,this._ctx) @@ -12416,14 +12416,14 @@ HiveSqlParser.prototype.alter_table_add_constraint_item = function() { } break; - case HiveSqlParser.T_DEFAULT: + case HiveSql.T_DEFAULT: this.enterOuterAlt(localctx, 3); this.state = 1289; - this.match(HiveSqlParser.T_DEFAULT); + this.match(HiveSql.T_DEFAULT); this.state = 1290; this.expr(0); this.state = 1291; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 1292; this.ident(); break; @@ -12454,7 +12454,7 @@ function DtypeContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_dtype; + this.ruleIndex = HiveSql.RULE_dtype; return this; } @@ -12462,155 +12462,155 @@ DtypeContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); DtypeContext.prototype.constructor = DtypeContext; DtypeContext.prototype.T_CHAR = function() { - return this.getToken(HiveSqlParser.T_CHAR, 0); + return this.getToken(HiveSql.T_CHAR, 0); }; DtypeContext.prototype.T_BIGINT = function() { - return this.getToken(HiveSqlParser.T_BIGINT, 0); + return this.getToken(HiveSql.T_BIGINT, 0); }; DtypeContext.prototype.T_BINARY_DOUBLE = function() { - return this.getToken(HiveSqlParser.T_BINARY_DOUBLE, 0); + return this.getToken(HiveSql.T_BINARY_DOUBLE, 0); }; DtypeContext.prototype.T_BINARY_FLOAT = function() { - return this.getToken(HiveSqlParser.T_BINARY_FLOAT, 0); + return this.getToken(HiveSql.T_BINARY_FLOAT, 0); }; DtypeContext.prototype.T_BINARY_INTEGER = function() { - return this.getToken(HiveSqlParser.T_BINARY_INTEGER, 0); + return this.getToken(HiveSql.T_BINARY_INTEGER, 0); }; DtypeContext.prototype.T_BIT = function() { - return this.getToken(HiveSqlParser.T_BIT, 0); + return this.getToken(HiveSql.T_BIT, 0); }; DtypeContext.prototype.T_DATE = function() { - return this.getToken(HiveSqlParser.T_DATE, 0); + return this.getToken(HiveSql.T_DATE, 0); }; DtypeContext.prototype.T_DATETIME = function() { - return this.getToken(HiveSqlParser.T_DATETIME, 0); + return this.getToken(HiveSql.T_DATETIME, 0); }; DtypeContext.prototype.T_DEC = function() { - return this.getToken(HiveSqlParser.T_DEC, 0); + return this.getToken(HiveSql.T_DEC, 0); }; DtypeContext.prototype.T_DECIMAL = function() { - return this.getToken(HiveSqlParser.T_DECIMAL, 0); + return this.getToken(HiveSql.T_DECIMAL, 0); }; DtypeContext.prototype.T_DOUBLE = function() { - return this.getToken(HiveSqlParser.T_DOUBLE, 0); + return this.getToken(HiveSql.T_DOUBLE, 0); }; DtypeContext.prototype.T_PRECISION = function() { - return this.getToken(HiveSqlParser.T_PRECISION, 0); + return this.getToken(HiveSql.T_PRECISION, 0); }; DtypeContext.prototype.T_FLOAT = function() { - return this.getToken(HiveSqlParser.T_FLOAT, 0); + return this.getToken(HiveSql.T_FLOAT, 0); }; DtypeContext.prototype.T_INT = function() { - return this.getToken(HiveSqlParser.T_INT, 0); + return this.getToken(HiveSql.T_INT, 0); }; DtypeContext.prototype.T_INT2 = function() { - return this.getToken(HiveSqlParser.T_INT2, 0); + return this.getToken(HiveSql.T_INT2, 0); }; DtypeContext.prototype.T_INT4 = function() { - return this.getToken(HiveSqlParser.T_INT4, 0); + return this.getToken(HiveSql.T_INT4, 0); }; DtypeContext.prototype.T_INT8 = function() { - return this.getToken(HiveSqlParser.T_INT8, 0); + return this.getToken(HiveSql.T_INT8, 0); }; DtypeContext.prototype.T_INTEGER = function() { - return this.getToken(HiveSqlParser.T_INTEGER, 0); + return this.getToken(HiveSql.T_INTEGER, 0); }; DtypeContext.prototype.T_NCHAR = function() { - return this.getToken(HiveSqlParser.T_NCHAR, 0); + return this.getToken(HiveSql.T_NCHAR, 0); }; DtypeContext.prototype.T_NVARCHAR = function() { - return this.getToken(HiveSqlParser.T_NVARCHAR, 0); + return this.getToken(HiveSql.T_NVARCHAR, 0); }; DtypeContext.prototype.T_NUMBER = function() { - return this.getToken(HiveSqlParser.T_NUMBER, 0); + return this.getToken(HiveSql.T_NUMBER, 0); }; DtypeContext.prototype.T_NUMERIC = function() { - return this.getToken(HiveSqlParser.T_NUMERIC, 0); + return this.getToken(HiveSql.T_NUMERIC, 0); }; DtypeContext.prototype.T_PLS_INTEGER = function() { - return this.getToken(HiveSqlParser.T_PLS_INTEGER, 0); + return this.getToken(HiveSql.T_PLS_INTEGER, 0); }; DtypeContext.prototype.T_REAL = function() { - return this.getToken(HiveSqlParser.T_REAL, 0); + return this.getToken(HiveSql.T_REAL, 0); }; DtypeContext.prototype.T_RESULT_SET_LOCATOR = function() { - return this.getToken(HiveSqlParser.T_RESULT_SET_LOCATOR, 0); + return this.getToken(HiveSql.T_RESULT_SET_LOCATOR, 0); }; DtypeContext.prototype.T_VARYING = function() { - return this.getToken(HiveSqlParser.T_VARYING, 0); + return this.getToken(HiveSql.T_VARYING, 0); }; DtypeContext.prototype.T_SIMPLE_FLOAT = function() { - return this.getToken(HiveSqlParser.T_SIMPLE_FLOAT, 0); + return this.getToken(HiveSql.T_SIMPLE_FLOAT, 0); }; DtypeContext.prototype.T_SIMPLE_DOUBLE = function() { - return this.getToken(HiveSqlParser.T_SIMPLE_DOUBLE, 0); + return this.getToken(HiveSql.T_SIMPLE_DOUBLE, 0); }; DtypeContext.prototype.T_SIMPLE_INTEGER = function() { - return this.getToken(HiveSqlParser.T_SIMPLE_INTEGER, 0); + return this.getToken(HiveSql.T_SIMPLE_INTEGER, 0); }; DtypeContext.prototype.T_SMALLINT = function() { - return this.getToken(HiveSqlParser.T_SMALLINT, 0); + return this.getToken(HiveSql.T_SMALLINT, 0); }; DtypeContext.prototype.T_SMALLDATETIME = function() { - return this.getToken(HiveSqlParser.T_SMALLDATETIME, 0); + return this.getToken(HiveSql.T_SMALLDATETIME, 0); }; DtypeContext.prototype.T_STRING = function() { - return this.getToken(HiveSqlParser.T_STRING, 0); + return this.getToken(HiveSql.T_STRING, 0); }; DtypeContext.prototype.T_SYS_REFCURSOR = function() { - return this.getToken(HiveSqlParser.T_SYS_REFCURSOR, 0); + return this.getToken(HiveSql.T_SYS_REFCURSOR, 0); }; DtypeContext.prototype.T_TIMESTAMP = function() { - return this.getToken(HiveSqlParser.T_TIMESTAMP, 0); + return this.getToken(HiveSql.T_TIMESTAMP, 0); }; DtypeContext.prototype.T_TINYINT = function() { - return this.getToken(HiveSqlParser.T_TINYINT, 0); + return this.getToken(HiveSql.T_TINYINT, 0); }; DtypeContext.prototype.T_VARCHAR = function() { - return this.getToken(HiveSqlParser.T_VARCHAR, 0); + return this.getToken(HiveSql.T_VARCHAR, 0); }; DtypeContext.prototype.T_VARCHAR2 = function() { - return this.getToken(HiveSqlParser.T_VARCHAR2, 0); + return this.getToken(HiveSql.T_VARCHAR2, 0); }; DtypeContext.prototype.T_XML = function() { - return this.getToken(HiveSqlParser.T_XML, 0); + return this.getToken(HiveSql.T_XML, 0); }; DtypeContext.prototype.ident = function() { @@ -12618,31 +12618,31 @@ DtypeContext.prototype.ident = function() { }; DtypeContext.prototype.T_PRECENT = function() { - return this.getToken(HiveSqlParser.T_PRECENT, 0); + return this.getToken(HiveSql.T_PRECENT, 0); }; DtypeContext.prototype.T_TYPE = function() { - return this.getToken(HiveSqlParser.T_TYPE, 0); + return this.getToken(HiveSql.T_TYPE, 0); }; DtypeContext.prototype.T_ROWTYPE = function() { - return this.getToken(HiveSqlParser.T_ROWTYPE, 0); + return this.getToken(HiveSql.T_ROWTYPE, 0); }; DtypeContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDtype(this); } }; DtypeContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDtype(this); } }; DtypeContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDtype(this); } else { return visitor.visitChildren(this); @@ -12652,12 +12652,12 @@ DtypeContext.prototype.accept = function(visitor) { -HiveSqlParser.DtypeContext = DtypeContext; +HiveSql.DtypeContext = DtypeContext; -HiveSqlParser.prototype.dtype = function() { +HiveSql.prototype.dtype = function() { var localctx = new DtypeContext(this, this._ctx, this.state); - this.enterRule(localctx, 118, HiveSqlParser.RULE_dtype); + this.enterRule(localctx, 118, HiveSql.RULE_dtype); var _la = 0; // Token type try { this.state = 1341; @@ -12667,73 +12667,73 @@ HiveSqlParser.prototype.dtype = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 1296; - this.match(HiveSqlParser.T_CHAR); + this.match(HiveSql.T_CHAR); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 1297; - this.match(HiveSqlParser.T_BIGINT); + this.match(HiveSql.T_BIGINT); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 1298; - this.match(HiveSqlParser.T_BINARY_DOUBLE); + this.match(HiveSql.T_BINARY_DOUBLE); break; case 4: this.enterOuterAlt(localctx, 4); this.state = 1299; - this.match(HiveSqlParser.T_BINARY_FLOAT); + this.match(HiveSql.T_BINARY_FLOAT); break; case 5: this.enterOuterAlt(localctx, 5); this.state = 1300; - this.match(HiveSqlParser.T_BINARY_INTEGER); + this.match(HiveSql.T_BINARY_INTEGER); break; case 6: this.enterOuterAlt(localctx, 6); this.state = 1301; - this.match(HiveSqlParser.T_BIT); + this.match(HiveSql.T_BIT); break; case 7: this.enterOuterAlt(localctx, 7); this.state = 1302; - this.match(HiveSqlParser.T_DATE); + this.match(HiveSql.T_DATE); break; case 8: this.enterOuterAlt(localctx, 8); this.state = 1303; - this.match(HiveSqlParser.T_DATETIME); + this.match(HiveSql.T_DATETIME); break; case 9: this.enterOuterAlt(localctx, 9); this.state = 1304; - this.match(HiveSqlParser.T_DEC); + this.match(HiveSql.T_DEC); break; case 10: this.enterOuterAlt(localctx, 10); this.state = 1305; - this.match(HiveSqlParser.T_DECIMAL); + this.match(HiveSql.T_DECIMAL); break; case 11: this.enterOuterAlt(localctx, 11); this.state = 1306; - this.match(HiveSqlParser.T_DOUBLE); + this.match(HiveSql.T_DOUBLE); this.state = 1308; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,119,this._ctx); if(la_===1) { this.state = 1307; - this.match(HiveSqlParser.T_PRECISION); + this.match(HiveSql.T_PRECISION); } break; @@ -12741,153 +12741,153 @@ HiveSqlParser.prototype.dtype = function() { case 12: this.enterOuterAlt(localctx, 12); this.state = 1310; - this.match(HiveSqlParser.T_FLOAT); + this.match(HiveSql.T_FLOAT); break; case 13: this.enterOuterAlt(localctx, 13); this.state = 1311; - this.match(HiveSqlParser.T_INT); + this.match(HiveSql.T_INT); break; case 14: this.enterOuterAlt(localctx, 14); this.state = 1312; - this.match(HiveSqlParser.T_INT2); + this.match(HiveSql.T_INT2); break; case 15: this.enterOuterAlt(localctx, 15); this.state = 1313; - this.match(HiveSqlParser.T_INT4); + this.match(HiveSql.T_INT4); break; case 16: this.enterOuterAlt(localctx, 16); this.state = 1314; - this.match(HiveSqlParser.T_INT8); + this.match(HiveSql.T_INT8); break; case 17: this.enterOuterAlt(localctx, 17); this.state = 1315; - this.match(HiveSqlParser.T_INTEGER); + this.match(HiveSql.T_INTEGER); break; case 18: this.enterOuterAlt(localctx, 18); this.state = 1316; - this.match(HiveSqlParser.T_NCHAR); + this.match(HiveSql.T_NCHAR); break; case 19: this.enterOuterAlt(localctx, 19); this.state = 1317; - this.match(HiveSqlParser.T_NVARCHAR); + this.match(HiveSql.T_NVARCHAR); break; case 20: this.enterOuterAlt(localctx, 20); this.state = 1318; - this.match(HiveSqlParser.T_NUMBER); + this.match(HiveSql.T_NUMBER); break; case 21: this.enterOuterAlt(localctx, 21); this.state = 1319; - this.match(HiveSqlParser.T_NUMERIC); + this.match(HiveSql.T_NUMERIC); break; case 22: this.enterOuterAlt(localctx, 22); this.state = 1320; - this.match(HiveSqlParser.T_PLS_INTEGER); + this.match(HiveSql.T_PLS_INTEGER); break; case 23: this.enterOuterAlt(localctx, 23); this.state = 1321; - this.match(HiveSqlParser.T_REAL); + this.match(HiveSql.T_REAL); break; case 24: this.enterOuterAlt(localctx, 24); this.state = 1322; - this.match(HiveSqlParser.T_RESULT_SET_LOCATOR); + this.match(HiveSql.T_RESULT_SET_LOCATOR); this.state = 1323; - this.match(HiveSqlParser.T_VARYING); + this.match(HiveSql.T_VARYING); break; case 25: this.enterOuterAlt(localctx, 25); this.state = 1324; - this.match(HiveSqlParser.T_SIMPLE_FLOAT); + this.match(HiveSql.T_SIMPLE_FLOAT); break; case 26: this.enterOuterAlt(localctx, 26); this.state = 1325; - this.match(HiveSqlParser.T_SIMPLE_DOUBLE); + this.match(HiveSql.T_SIMPLE_DOUBLE); break; case 27: this.enterOuterAlt(localctx, 27); this.state = 1326; - this.match(HiveSqlParser.T_SIMPLE_INTEGER); + this.match(HiveSql.T_SIMPLE_INTEGER); break; case 28: this.enterOuterAlt(localctx, 28); this.state = 1327; - this.match(HiveSqlParser.T_SMALLINT); + this.match(HiveSql.T_SMALLINT); break; case 29: this.enterOuterAlt(localctx, 29); this.state = 1328; - this.match(HiveSqlParser.T_SMALLDATETIME); + this.match(HiveSql.T_SMALLDATETIME); break; case 30: this.enterOuterAlt(localctx, 30); this.state = 1329; - this.match(HiveSqlParser.T_STRING); + this.match(HiveSql.T_STRING); break; case 31: this.enterOuterAlt(localctx, 31); this.state = 1330; - this.match(HiveSqlParser.T_SYS_REFCURSOR); + this.match(HiveSql.T_SYS_REFCURSOR); break; case 32: this.enterOuterAlt(localctx, 32); this.state = 1331; - this.match(HiveSqlParser.T_TIMESTAMP); + this.match(HiveSql.T_TIMESTAMP); break; case 33: this.enterOuterAlt(localctx, 33); this.state = 1332; - this.match(HiveSqlParser.T_TINYINT); + this.match(HiveSql.T_TINYINT); break; case 34: this.enterOuterAlt(localctx, 34); this.state = 1333; - this.match(HiveSqlParser.T_VARCHAR); + this.match(HiveSql.T_VARCHAR); break; case 35: this.enterOuterAlt(localctx, 35); this.state = 1334; - this.match(HiveSqlParser.T_VARCHAR2); + this.match(HiveSql.T_VARCHAR2); break; case 36: this.enterOuterAlt(localctx, 36); this.state = 1335; - this.match(HiveSqlParser.T_XML); + this.match(HiveSql.T_XML); break; case 37: @@ -12899,10 +12899,10 @@ HiveSqlParser.prototype.dtype = function() { var la_ = this._interp.adaptivePredict(this._input,120,this._ctx); if(la_===1) { this.state = 1337; - this.match(HiveSqlParser.T_PRECENT); + this.match(HiveSql.T_PRECENT); this.state = 1338; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ROWTYPE || _la===HiveSqlParser.T_TYPE)) { + if(!(_la===HiveSql.T_ROWTYPE || _la===HiveSql.T_TYPE)) { this._errHandler.recoverInline(this); } else { @@ -12938,7 +12938,7 @@ function Dtype_lenContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_dtype_len; + this.ruleIndex = HiveSql.RULE_dtype_len; return this; } @@ -12946,11 +12946,11 @@ Dtype_lenContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Dtype_lenContext.prototype.constructor = Dtype_lenContext; Dtype_lenContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Dtype_lenContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Dtype_lenContext.prototype.L_INT = function(i) { @@ -12958,43 +12958,43 @@ Dtype_lenContext.prototype.L_INT = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.L_INT); + return this.getTokens(HiveSql.L_INT); } else { - return this.getToken(HiveSqlParser.L_INT, i); + return this.getToken(HiveSql.L_INT, i); } }; Dtype_lenContext.prototype.T_MAX = function() { - return this.getToken(HiveSqlParser.T_MAX, 0); + return this.getToken(HiveSql.T_MAX, 0); }; Dtype_lenContext.prototype.T_COMMA = function() { - return this.getToken(HiveSqlParser.T_COMMA, 0); + return this.getToken(HiveSql.T_COMMA, 0); }; Dtype_lenContext.prototype.T_CHAR = function() { - return this.getToken(HiveSqlParser.T_CHAR, 0); + return this.getToken(HiveSql.T_CHAR, 0); }; Dtype_lenContext.prototype.T_BYTE = function() { - return this.getToken(HiveSqlParser.T_BYTE, 0); + return this.getToken(HiveSql.T_BYTE, 0); }; Dtype_lenContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDtype_len(this); } }; Dtype_lenContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDtype_len(this); } }; Dtype_lenContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDtype_len(this); } else { return visitor.visitChildren(this); @@ -13004,20 +13004,20 @@ Dtype_lenContext.prototype.accept = function(visitor) { -HiveSqlParser.Dtype_lenContext = Dtype_lenContext; +HiveSql.Dtype_lenContext = Dtype_lenContext; -HiveSqlParser.prototype.dtype_len = function() { +HiveSql.prototype.dtype_len = function() { var localctx = new Dtype_lenContext(this, this._ctx, this.state); - this.enterRule(localctx, 120, HiveSqlParser.RULE_dtype_len); + this.enterRule(localctx, 120, HiveSql.RULE_dtype_len); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1343; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1344; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_MAX || _la===HiveSqlParser.L_INT)) { + if(!(_la===HiveSql.T_MAX || _la===HiveSql.L_INT)) { this._errHandler.recoverInline(this); } else { @@ -13027,10 +13027,10 @@ HiveSqlParser.prototype.dtype_len = function() { this.state = 1346; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_BYTE || _la===HiveSqlParser.T_CHAR) { + if(_la===HiveSql.T_BYTE || _la===HiveSql.T_CHAR) { this.state = 1345; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_BYTE || _la===HiveSqlParser.T_CHAR)) { + if(!(_la===HiveSql.T_BYTE || _la===HiveSql.T_CHAR)) { this._errHandler.recoverInline(this); } else { @@ -13042,15 +13042,15 @@ HiveSqlParser.prototype.dtype_len = function() { this.state = 1350; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 1348; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1349; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); } this.state = 1352; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -13075,7 +13075,7 @@ function Dtype_attrContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_dtype_attr; + this.ruleIndex = HiveSql.RULE_dtype_attr; return this; } @@ -13083,19 +13083,19 @@ Dtype_attrContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Dtype_attrContext.prototype.constructor = Dtype_attrContext; Dtype_attrContext.prototype.T_NULL = function() { - return this.getToken(HiveSqlParser.T_NULL, 0); + return this.getToken(HiveSql.T_NULL, 0); }; Dtype_attrContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Dtype_attrContext.prototype.T_CHARACTER = function() { - return this.getToken(HiveSqlParser.T_CHARACTER, 0); + return this.getToken(HiveSql.T_CHARACTER, 0); }; Dtype_attrContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Dtype_attrContext.prototype.ident = function() { @@ -13103,27 +13103,27 @@ Dtype_attrContext.prototype.ident = function() { }; Dtype_attrContext.prototype.T_CASESPECIFIC = function() { - return this.getToken(HiveSqlParser.T_CASESPECIFIC, 0); + return this.getToken(HiveSql.T_CASESPECIFIC, 0); }; Dtype_attrContext.prototype.T_CS = function() { - return this.getToken(HiveSqlParser.T_CS, 0); + return this.getToken(HiveSql.T_CS, 0); }; Dtype_attrContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDtype_attr(this); } }; Dtype_attrContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDtype_attr(this); } }; Dtype_attrContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDtype_attr(this); } else { return visitor.visitChildren(this); @@ -13133,12 +13133,12 @@ Dtype_attrContext.prototype.accept = function(visitor) { -HiveSqlParser.Dtype_attrContext = Dtype_attrContext; +HiveSql.Dtype_attrContext = Dtype_attrContext; -HiveSqlParser.prototype.dtype_attr = function() { +HiveSql.prototype.dtype_attr = function() { var localctx = new Dtype_attrContext(this, this._ctx, this.state); - this.enterRule(localctx, 122, HiveSqlParser.RULE_dtype_attr); + this.enterRule(localctx, 122, HiveSql.RULE_dtype_attr); var _la = 0; // Token type try { this.state = 1365; @@ -13150,21 +13150,21 @@ HiveSqlParser.prototype.dtype_attr = function() { this.state = 1355; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 1354; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 1357; - this.match(HiveSqlParser.T_NULL); + this.match(HiveSql.T_NULL); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 1358; - this.match(HiveSqlParser.T_CHARACTER); + this.match(HiveSql.T_CHARACTER); this.state = 1359; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); this.state = 1360; this.ident(); break; @@ -13174,14 +13174,14 @@ HiveSqlParser.prototype.dtype_attr = function() { this.state = 1362; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 1361; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 1364; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_CASESPECIFIC || _la===HiveSqlParser.T_CS)) { + if(!(_la===HiveSql.T_CASESPECIFIC || _la===HiveSql.T_CS)) { this._errHandler.recoverInline(this); } else { @@ -13215,7 +13215,7 @@ function Dtype_defaultContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_dtype_default; + this.ruleIndex = HiveSql.RULE_dtype_default; return this; } @@ -13223,7 +13223,7 @@ Dtype_defaultContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Dtype_defaultContext.prototype.constructor = Dtype_defaultContext; Dtype_defaultContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Dtype_defaultContext.prototype.expr = function() { @@ -13231,31 +13231,31 @@ Dtype_defaultContext.prototype.expr = function() { }; Dtype_defaultContext.prototype.T_COLON = function() { - return this.getToken(HiveSqlParser.T_COLON, 0); + return this.getToken(HiveSql.T_COLON, 0); }; Dtype_defaultContext.prototype.T_DEFAULT = function() { - return this.getToken(HiveSqlParser.T_DEFAULT, 0); + return this.getToken(HiveSql.T_DEFAULT, 0); }; Dtype_defaultContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Dtype_defaultContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDtype_default(this); } }; Dtype_defaultContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDtype_default(this); } }; Dtype_defaultContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDtype_default(this); } else { return visitor.visitChildren(this); @@ -13265,46 +13265,46 @@ Dtype_defaultContext.prototype.accept = function(visitor) { -HiveSqlParser.Dtype_defaultContext = Dtype_defaultContext; +HiveSql.Dtype_defaultContext = Dtype_defaultContext; -HiveSqlParser.prototype.dtype_default = function() { +HiveSql.prototype.dtype_default = function() { var localctx = new Dtype_defaultContext(this, this._ctx, this.state); - this.enterRule(localctx, 124, HiveSqlParser.RULE_dtype_default); + this.enterRule(localctx, 124, HiveSql.RULE_dtype_default); var _la = 0; // Token type try { this.state = 1379; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_COLON: - case HiveSqlParser.T_EQUAL: + case HiveSql.T_COLON: + case HiveSql.T_EQUAL: this.enterOuterAlt(localctx, 1); this.state = 1368; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COLON) { + if(_la===HiveSql.T_COLON) { this.state = 1367; - this.match(HiveSqlParser.T_COLON); + this.match(HiveSql.T_COLON); } this.state = 1370; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 1371; this.expr(0); break; - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_WITH: + case HiveSql.T_DEFAULT: + case HiveSql.T_WITH: this.enterOuterAlt(localctx, 2); this.state = 1373; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_WITH) { + if(_la===HiveSql.T_WITH) { this.state = 1372; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); } this.state = 1375; - this.match(HiveSqlParser.T_DEFAULT); + this.match(HiveSql.T_DEFAULT); this.state = 1377; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,129,this._ctx); @@ -13341,7 +13341,7 @@ function Create_database_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_database_stmt; + this.ruleIndex = HiveSql.RULE_create_database_stmt; return this; } @@ -13349,7 +13349,7 @@ Create_database_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.p Create_database_stmtContext.prototype.constructor = Create_database_stmtContext; Create_database_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_database_stmtContext.prototype.expr = function() { @@ -13357,23 +13357,23 @@ Create_database_stmtContext.prototype.expr = function() { }; Create_database_stmtContext.prototype.T_DATABASE = function() { - return this.getToken(HiveSqlParser.T_DATABASE, 0); + return this.getToken(HiveSql.T_DATABASE, 0); }; Create_database_stmtContext.prototype.T_SCHEMA = function() { - return this.getToken(HiveSqlParser.T_SCHEMA, 0); + return this.getToken(HiveSql.T_SCHEMA, 0); }; Create_database_stmtContext.prototype.T_IF = function() { - return this.getToken(HiveSqlParser.T_IF, 0); + return this.getToken(HiveSql.T_IF, 0); }; Create_database_stmtContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Create_database_stmtContext.prototype.T_EXISTS = function() { - return this.getToken(HiveSqlParser.T_EXISTS, 0); + return this.getToken(HiveSql.T_EXISTS, 0); }; Create_database_stmtContext.prototype.create_database_option = function(i) { @@ -13388,19 +13388,19 @@ Create_database_stmtContext.prototype.create_database_option = function(i) { }; Create_database_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_database_stmt(this); } }; Create_database_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_database_stmt(this); } }; Create_database_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_database_stmt(this); } else { return visitor.visitChildren(this); @@ -13410,20 +13410,20 @@ Create_database_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_database_stmtContext = Create_database_stmtContext; +HiveSql.Create_database_stmtContext = Create_database_stmtContext; -HiveSqlParser.prototype.create_database_stmt = function() { +HiveSql.prototype.create_database_stmt = function() { var localctx = new Create_database_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 126, HiveSqlParser.RULE_create_database_stmt); + this.enterRule(localctx, 126, HiveSql.RULE_create_database_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1381; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 1382; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DATABASE || _la===HiveSqlParser.T_SCHEMA)) { + if(!(_la===HiveSql.T_DATABASE || _la===HiveSql.T_SCHEMA)) { this._errHandler.recoverInline(this); } else { @@ -13435,11 +13435,11 @@ HiveSqlParser.prototype.create_database_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,131,this._ctx); if(la_===1) { this.state = 1383; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); this.state = 1384; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); this.state = 1385; - this.match(HiveSqlParser.T_EXISTS); + this.match(HiveSql.T_EXISTS); } this.state = 1388; @@ -13481,7 +13481,7 @@ function Create_database_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_database_option; + this.ruleIndex = HiveSql.RULE_create_database_option; return this; } @@ -13489,7 +13489,7 @@ Create_database_optionContext.prototype = Object.create(antlr4.ParserRuleContext Create_database_optionContext.prototype.constructor = Create_database_optionContext; Create_database_optionContext.prototype.T_COMMENT = function() { - return this.getToken(HiveSqlParser.T_COMMENT, 0); + return this.getToken(HiveSql.T_COMMENT, 0); }; Create_database_optionContext.prototype.expr = function() { @@ -13497,23 +13497,23 @@ Create_database_optionContext.prototype.expr = function() { }; Create_database_optionContext.prototype.T_LOCATION = function() { - return this.getToken(HiveSqlParser.T_LOCATION, 0); + return this.getToken(HiveSql.T_LOCATION, 0); }; Create_database_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_database_option(this); } }; Create_database_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_database_option(this); } }; Create_database_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_database_option(this); } else { return visitor.visitChildren(this); @@ -13523,27 +13523,27 @@ Create_database_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_database_optionContext = Create_database_optionContext; +HiveSql.Create_database_optionContext = Create_database_optionContext; -HiveSqlParser.prototype.create_database_option = function() { +HiveSql.prototype.create_database_option = function() { var localctx = new Create_database_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 128, HiveSqlParser.RULE_create_database_option); + this.enterRule(localctx, 128, HiveSql.RULE_create_database_option); try { this.state = 1399; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_COMMENT: + case HiveSql.T_COMMENT: this.enterOuterAlt(localctx, 1); this.state = 1395; - this.match(HiveSqlParser.T_COMMENT); + this.match(HiveSql.T_COMMENT); this.state = 1396; this.expr(0); break; - case HiveSqlParser.T_LOCATION: + case HiveSql.T_LOCATION: this.enterOuterAlt(localctx, 2); this.state = 1397; - this.match(HiveSqlParser.T_LOCATION); + this.match(HiveSql.T_LOCATION); this.state = 1398; this.expr(0); break; @@ -13574,7 +13574,7 @@ function Create_function_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_function_stmt; + this.ruleIndex = HiveSql.RULE_create_function_stmt; return this; } @@ -13582,7 +13582,7 @@ Create_function_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.p Create_function_stmtContext.prototype.constructor = Create_function_stmtContext; Create_function_stmtContext.prototype.T_FUNCTION = function() { - return this.getToken(HiveSqlParser.T_FUNCTION, 0); + return this.getToken(HiveSql.T_FUNCTION, 0); }; Create_function_stmtContext.prototype.ident = function() { @@ -13598,15 +13598,15 @@ Create_function_stmtContext.prototype.single_block_stmt = function() { }; Create_function_stmtContext.prototype.T_ALTER = function() { - return this.getToken(HiveSqlParser.T_ALTER, 0); + return this.getToken(HiveSql.T_ALTER, 0); }; Create_function_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_function_stmtContext.prototype.T_REPLACE = function() { - return this.getToken(HiveSqlParser.T_REPLACE, 0); + return this.getToken(HiveSql.T_REPLACE, 0); }; Create_function_stmtContext.prototype.create_routine_params = function() { @@ -13618,31 +13618,31 @@ Create_function_stmtContext.prototype.declare_block_inplace = function() { }; Create_function_stmtContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Create_function_stmtContext.prototype.T_IS = function() { - return this.getToken(HiveSqlParser.T_IS, 0); + return this.getToken(HiveSql.T_IS, 0); }; Create_function_stmtContext.prototype.T_OR = function() { - return this.getToken(HiveSqlParser.T_OR, 0); + return this.getToken(HiveSql.T_OR, 0); }; Create_function_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_function_stmt(this); } }; Create_function_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_function_stmt(this); } }; Create_function_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_function_stmt(this); } else { return visitor.visitChildren(this); @@ -13652,47 +13652,47 @@ Create_function_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_function_stmtContext = Create_function_stmtContext; +HiveSql.Create_function_stmtContext = Create_function_stmtContext; -HiveSqlParser.prototype.create_function_stmt = function() { +HiveSql.prototype.create_function_stmt = function() { var localctx = new Create_function_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 130, HiveSqlParser.RULE_create_function_stmt); + this.enterRule(localctx, 130, HiveSql.RULE_create_function_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1408; this._errHandler.sync(this); switch (this._input.LA(1)) { - case HiveSqlParser.T_ALTER: + case HiveSql.T_ALTER: this.state = 1401; - this.match(HiveSqlParser.T_ALTER); + this.match(HiveSql.T_ALTER); break; - case HiveSqlParser.T_CREATE: + case HiveSql.T_CREATE: this.state = 1402; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 1405; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OR) { + if(_la===HiveSql.T_OR) { this.state = 1403; - this.match(HiveSqlParser.T_OR); + this.match(HiveSql.T_OR); this.state = 1404; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); } break; - case HiveSqlParser.T_REPLACE: + case HiveSql.T_REPLACE: this.state = 1407; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); break; - case HiveSqlParser.T_FUNCTION: + case HiveSql.T_FUNCTION: break; default: break; } this.state = 1410; - this.match(HiveSqlParser.T_FUNCTION); + this.match(HiveSql.T_FUNCTION); this.state = 1411; this.ident(); this.state = 1413; @@ -13711,7 +13711,7 @@ HiveSqlParser.prototype.create_function_stmt = function() { if(la_===1) { this.state = 1416; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_AS || _la===HiveSqlParser.T_IS)) { + if(!(_la===HiveSql.T_AS || _la===HiveSql.T_IS)) { this._errHandler.recoverInline(this); } else { @@ -13754,7 +13754,7 @@ function Create_function_returnContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_function_return; + this.ruleIndex = HiveSql.RULE_create_function_return; return this; } @@ -13766,11 +13766,11 @@ Create_function_returnContext.prototype.dtype = function() { }; Create_function_returnContext.prototype.T_RETURN = function() { - return this.getToken(HiveSqlParser.T_RETURN, 0); + return this.getToken(HiveSql.T_RETURN, 0); }; Create_function_returnContext.prototype.T_RETURNS = function() { - return this.getToken(HiveSqlParser.T_RETURNS, 0); + return this.getToken(HiveSql.T_RETURNS, 0); }; Create_function_returnContext.prototype.dtype_len = function() { @@ -13778,19 +13778,19 @@ Create_function_returnContext.prototype.dtype_len = function() { }; Create_function_returnContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_function_return(this); } }; Create_function_returnContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_function_return(this); } }; Create_function_returnContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_function_return(this); } else { return visitor.visitChildren(this); @@ -13800,18 +13800,18 @@ Create_function_returnContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_function_returnContext = Create_function_returnContext; +HiveSql.Create_function_returnContext = Create_function_returnContext; -HiveSqlParser.prototype.create_function_return = function() { +HiveSql.prototype.create_function_return = function() { var localctx = new Create_function_returnContext(this, this._ctx, this.state); - this.enterRule(localctx, 132, HiveSqlParser.RULE_create_function_return); + this.enterRule(localctx, 132, HiveSql.RULE_create_function_return); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1424; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_RETURN || _la===HiveSqlParser.T_RETURNS)) { + if(!(_la===HiveSql.T_RETURN || _la===HiveSql.T_RETURNS)) { this._errHandler.recoverInline(this); } else { @@ -13852,7 +13852,7 @@ function Create_package_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_package_stmt; + this.ruleIndex = HiveSql.RULE_create_package_stmt; return this; } @@ -13860,7 +13860,7 @@ Create_package_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.pr Create_package_stmtContext.prototype.constructor = Create_package_stmtContext; Create_package_stmtContext.prototype.T_PACKAGE = function() { - return this.getToken(HiveSqlParser.T_PACKAGE, 0); + return this.getToken(HiveSql.T_PACKAGE, 0); }; Create_package_stmtContext.prototype.ident = function(i) { @@ -13879,51 +13879,51 @@ Create_package_stmtContext.prototype.package_spec = function() { }; Create_package_stmtContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; Create_package_stmtContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Create_package_stmtContext.prototype.T_IS = function() { - return this.getToken(HiveSqlParser.T_IS, 0); + return this.getToken(HiveSql.T_IS, 0); }; Create_package_stmtContext.prototype.T_ALTER = function() { - return this.getToken(HiveSqlParser.T_ALTER, 0); + return this.getToken(HiveSql.T_ALTER, 0); }; Create_package_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_package_stmtContext.prototype.T_REPLACE = function() { - return this.getToken(HiveSqlParser.T_REPLACE, 0); + return this.getToken(HiveSql.T_REPLACE, 0); }; Create_package_stmtContext.prototype.T_SEMICOLON = function() { - return this.getToken(HiveSqlParser.T_SEMICOLON, 0); + return this.getToken(HiveSql.T_SEMICOLON, 0); }; Create_package_stmtContext.prototype.T_OR = function() { - return this.getToken(HiveSqlParser.T_OR, 0); + return this.getToken(HiveSql.T_OR, 0); }; Create_package_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_package_stmt(this); } }; Create_package_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_package_stmt(this); } }; Create_package_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_package_stmt(this); } else { return visitor.visitChildren(this); @@ -13933,52 +13933,52 @@ Create_package_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_package_stmtContext = Create_package_stmtContext; +HiveSql.Create_package_stmtContext = Create_package_stmtContext; -HiveSqlParser.prototype.create_package_stmt = function() { +HiveSql.prototype.create_package_stmt = function() { var localctx = new Create_package_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 134, HiveSqlParser.RULE_create_package_stmt); + this.enterRule(localctx, 134, HiveSql.RULE_create_package_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1436; this._errHandler.sync(this); switch (this._input.LA(1)) { - case HiveSqlParser.T_ALTER: + case HiveSql.T_ALTER: this.state = 1429; - this.match(HiveSqlParser.T_ALTER); + this.match(HiveSql.T_ALTER); break; - case HiveSqlParser.T_CREATE: + case HiveSql.T_CREATE: this.state = 1430; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 1433; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OR) { + if(_la===HiveSql.T_OR) { this.state = 1431; - this.match(HiveSqlParser.T_OR); + this.match(HiveSql.T_OR); this.state = 1432; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); } break; - case HiveSqlParser.T_REPLACE: + case HiveSql.T_REPLACE: this.state = 1435; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); break; - case HiveSqlParser.T_PACKAGE: + case HiveSql.T_PACKAGE: break; default: break; } this.state = 1438; - this.match(HiveSqlParser.T_PACKAGE); + this.match(HiveSql.T_PACKAGE); this.state = 1439; this.ident(); this.state = 1440; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_AS || _la===HiveSqlParser.T_IS)) { + if(!(_la===HiveSql.T_AS || _la===HiveSql.T_IS)) { this._errHandler.recoverInline(this); } else { @@ -13988,7 +13988,7 @@ HiveSqlParser.prototype.create_package_stmt = function() { this.state = 1441; this.package_spec(); this.state = 1442; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); this.state = 1446; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,142,this._ctx); @@ -13996,7 +13996,7 @@ HiveSqlParser.prototype.create_package_stmt = function() { this.state = 1443; this.ident(); this.state = 1444; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); } } catch (re) { @@ -14023,7 +14023,7 @@ function Package_specContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_package_spec; + this.ruleIndex = HiveSql.RULE_package_spec; return this; } @@ -14046,27 +14046,27 @@ Package_specContext.prototype.T_SEMICOLON = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_SEMICOLON); + return this.getTokens(HiveSql.T_SEMICOLON); } else { - return this.getToken(HiveSqlParser.T_SEMICOLON, i); + return this.getToken(HiveSql.T_SEMICOLON, i); } }; Package_specContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterPackage_spec(this); } }; Package_specContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitPackage_spec(this); } }; Package_specContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitPackage_spec(this); } else { return visitor.visitChildren(this); @@ -14076,27 +14076,27 @@ Package_specContext.prototype.accept = function(visitor) { -HiveSqlParser.Package_specContext = Package_specContext; +HiveSql.Package_specContext = Package_specContext; -HiveSqlParser.prototype.package_spec = function() { +HiveSql.prototype.package_spec = function() { var localctx = new Package_specContext(this, this._ctx, this.state); - this.enterRule(localctx, 136, HiveSqlParser.RULE_package_spec); + this.enterRule(localctx, 136, HiveSql.RULE_package_spec); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1448; this.package_spec_item(); this.state = 1449; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); this.state = 1455; this._errHandler.sync(this); _la = this._input.LA(1); - while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSqlParser.T_ACTION) | (1 << HiveSqlParser.T_ADD2) | (1 << HiveSqlParser.T_ALL) | (1 << HiveSqlParser.T_ALLOCATE) | (1 << HiveSqlParser.T_ALTER) | (1 << HiveSqlParser.T_AND) | (1 << HiveSqlParser.T_ANSI_NULLS) | (1 << HiveSqlParser.T_ANSI_PADDING) | (1 << HiveSqlParser.T_AS) | (1 << HiveSqlParser.T_ASC) | (1 << HiveSqlParser.T_ASSOCIATE) | (1 << HiveSqlParser.T_AT) | (1 << HiveSqlParser.T_AUTO_INCREMENT) | (1 << HiveSqlParser.T_AVG) | (1 << HiveSqlParser.T_BATCHSIZE) | (1 << HiveSqlParser.T_BEGIN) | (1 << HiveSqlParser.T_BETWEEN) | (1 << HiveSqlParser.T_BIGINT) | (1 << HiveSqlParser.T_BINARY_DOUBLE) | (1 << HiveSqlParser.T_BINARY_FLOAT) | (1 << HiveSqlParser.T_BIT) | (1 << HiveSqlParser.T_BODY) | (1 << HiveSqlParser.T_BREAK) | (1 << HiveSqlParser.T_BY) | (1 << HiveSqlParser.T_BYTE) | (1 << HiveSqlParser.T_CALL) | (1 << HiveSqlParser.T_CALLER) | (1 << HiveSqlParser.T_CASCADE) | (1 << HiveSqlParser.T_CASE) | (1 << HiveSqlParser.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSqlParser.T_CAST - 32)) | (1 << (HiveSqlParser.T_CHAR - 32)) | (1 << (HiveSqlParser.T_CHARACTER - 32)) | (1 << (HiveSqlParser.T_CHARSET - 32)) | (1 << (HiveSqlParser.T_CLIENT - 32)) | (1 << (HiveSqlParser.T_CLOSE - 32)) | (1 << (HiveSqlParser.T_CLUSTERED - 32)) | (1 << (HiveSqlParser.T_CMP - 32)) | (1 << (HiveSqlParser.T_COLLECT - 32)) | (1 << (HiveSqlParser.T_COLLECTION - 32)) | (1 << (HiveSqlParser.T_COLUMN - 32)) | (1 << (HiveSqlParser.T_COMMENT - 32)) | (1 << (HiveSqlParser.T_CONSTANT - 32)) | (1 << (HiveSqlParser.T_COMMIT - 32)) | (1 << (HiveSqlParser.T_COMPRESS - 32)) | (1 << (HiveSqlParser.T_CONCAT - 32)) | (1 << (HiveSqlParser.T_CONDITION - 32)) | (1 << (HiveSqlParser.T_CONSTRAINT - 32)) | (1 << (HiveSqlParser.T_CONTINUE - 32)) | (1 << (HiveSqlParser.T_COPY - 32)) | (1 << (HiveSqlParser.T_COUNT - 32)) | (1 << (HiveSqlParser.T_COUNT_BIG - 32)) | (1 << (HiveSqlParser.T_CREATE - 32)) | (1 << (HiveSqlParser.T_CREATION - 32)) | (1 << (HiveSqlParser.T_CREATOR - 32)) | (1 << (HiveSqlParser.T_CS - 32)) | (1 << (HiveSqlParser.T_CURRENT - 32)) | (1 << (HiveSqlParser.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSqlParser.T_CURSOR - 32)) | (1 << (HiveSqlParser.T_DATABASE - 32)) | (1 << (HiveSqlParser.T_DATA - 32)) | (1 << (HiveSqlParser.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSqlParser.T_DATETIME - 64)) | (1 << (HiveSqlParser.T_DAY - 64)) | (1 << (HiveSqlParser.T_DAYS - 64)) | (1 << (HiveSqlParser.T_DEC - 64)) | (1 << (HiveSqlParser.T_DECIMAL - 64)) | (1 << (HiveSqlParser.T_DECLARE - 64)) | (1 << (HiveSqlParser.T_DEFAULT - 64)) | (1 << (HiveSqlParser.T_DEFERRED - 64)) | (1 << (HiveSqlParser.T_DEFINED - 64)) | (1 << (HiveSqlParser.T_DEFINER - 64)) | (1 << (HiveSqlParser.T_DEFINITION - 64)) | (1 << (HiveSqlParser.T_DELETE - 64)) | (1 << (HiveSqlParser.T_DELIMITED - 64)) | (1 << (HiveSqlParser.T_DELIMITER - 64)) | (1 << (HiveSqlParser.T_DESC - 64)) | (1 << (HiveSqlParser.T_DESCRIBE - 64)) | (1 << (HiveSqlParser.T_DIAGNOSTICS - 64)) | (1 << (HiveSqlParser.T_DIR - 64)) | (1 << (HiveSqlParser.T_DIRECTORY - 64)) | (1 << (HiveSqlParser.T_DISTINCT - 64)) | (1 << (HiveSqlParser.T_DISTRIBUTE - 64)) | (1 << (HiveSqlParser.T_DO - 64)) | (1 << (HiveSqlParser.T_DOUBLE - 64)) | (1 << (HiveSqlParser.T_DROP - 64)) | (1 << (HiveSqlParser.T_DYNAMIC - 64)) | (1 << (HiveSqlParser.T_ENABLE - 64)) | (1 << (HiveSqlParser.T_ENGINE - 64)) | (1 << (HiveSqlParser.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSqlParser.T_EXCEPT - 96)) | (1 << (HiveSqlParser.T_EXEC - 96)) | (1 << (HiveSqlParser.T_EXECUTE - 96)) | (1 << (HiveSqlParser.T_EXCEPTION - 96)) | (1 << (HiveSqlParser.T_EXCLUSIVE - 96)) | (1 << (HiveSqlParser.T_EXISTS - 96)) | (1 << (HiveSqlParser.T_EXIT - 96)) | (1 << (HiveSqlParser.T_FALLBACK - 96)) | (1 << (HiveSqlParser.T_FALSE - 96)) | (1 << (HiveSqlParser.T_FETCH - 96)) | (1 << (HiveSqlParser.T_FIELDS - 96)) | (1 << (HiveSqlParser.T_FILE - 96)) | (1 << (HiveSqlParser.T_FILES - 96)) | (1 << (HiveSqlParser.T_FLOAT - 96)) | (1 << (HiveSqlParser.T_FOR - 96)) | (1 << (HiveSqlParser.T_FOREIGN - 96)) | (1 << (HiveSqlParser.T_FORMAT - 96)) | (1 << (HiveSqlParser.T_FOUND - 96)) | (1 << (HiveSqlParser.T_FROM - 96)) | (1 << (HiveSqlParser.T_FULL - 96)) | (1 << (HiveSqlParser.T_FUNCTION - 96)) | (1 << (HiveSqlParser.T_GET - 96)) | (1 << (HiveSqlParser.T_GLOBAL - 96)) | (1 << (HiveSqlParser.T_GO - 96)) | (1 << (HiveSqlParser.T_GRANT - 96)) | (1 << (HiveSqlParser.T_GROUP - 96)) | (1 << (HiveSqlParser.T_HANDLER - 96)) | (1 << (HiveSqlParser.T_HASH - 96)) | (1 << (HiveSqlParser.T_HAVING - 96)) | (1 << (HiveSqlParser.T_HDFS - 96)) | (1 << (HiveSqlParser.T_HIVE - 96)) | (1 << (HiveSqlParser.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSqlParser.T_IDENTITY - 128)) | (1 << (HiveSqlParser.T_IF - 128)) | (1 << (HiveSqlParser.T_IGNORE - 128)) | (1 << (HiveSqlParser.T_IMMEDIATE - 128)) | (1 << (HiveSqlParser.T_IN - 128)) | (1 << (HiveSqlParser.T_INCLUDE - 128)) | (1 << (HiveSqlParser.T_INDEX - 128)) | (1 << (HiveSqlParser.T_INITRANS - 128)) | (1 << (HiveSqlParser.T_INNER - 128)) | (1 << (HiveSqlParser.T_INOUT - 128)) | (1 << (HiveSqlParser.T_INSERT - 128)) | (1 << (HiveSqlParser.T_INT - 128)) | (1 << (HiveSqlParser.T_INT2 - 128)) | (1 << (HiveSqlParser.T_INT4 - 128)) | (1 << (HiveSqlParser.T_INT8 - 128)) | (1 << (HiveSqlParser.T_INTEGER - 128)) | (1 << (HiveSqlParser.T_INTERSECT - 128)) | (1 << (HiveSqlParser.T_INTERVAL - 128)) | (1 << (HiveSqlParser.T_INTO - 128)) | (1 << (HiveSqlParser.T_INVOKER - 128)) | (1 << (HiveSqlParser.T_IS - 128)) | (1 << (HiveSqlParser.T_ISOPEN - 128)) | (1 << (HiveSqlParser.T_ITEMS - 128)) | (1 << (HiveSqlParser.T_JOIN - 128)) | (1 << (HiveSqlParser.T_KEEP - 128)) | (1 << (HiveSqlParser.T_KEY - 128)) | (1 << (HiveSqlParser.T_KEYS - 128)) | (1 << (HiveSqlParser.T_LANGUAGE - 128)) | (1 << (HiveSqlParser.T_LEAVE - 128)) | (1 << (HiveSqlParser.T_LEFT - 128)) | (1 << (HiveSqlParser.T_LIKE - 128)) | (1 << (HiveSqlParser.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSqlParser.T_LINES - 160)) | (1 << (HiveSqlParser.T_LOCAL - 160)) | (1 << (HiveSqlParser.T_LOCATION - 160)) | (1 << (HiveSqlParser.T_LOCATOR - 160)) | (1 << (HiveSqlParser.T_LOCATORS - 160)) | (1 << (HiveSqlParser.T_LOCKS - 160)) | (1 << (HiveSqlParser.T_LOG - 160)) | (1 << (HiveSqlParser.T_LOGGED - 160)) | (1 << (HiveSqlParser.T_LOGGING - 160)) | (1 << (HiveSqlParser.T_LOOP - 160)) | (1 << (HiveSqlParser.T_MAP - 160)) | (1 << (HiveSqlParser.T_MATCHED - 160)) | (1 << (HiveSqlParser.T_MAX - 160)) | (1 << (HiveSqlParser.T_MAXTRANS - 160)) | (1 << (HiveSqlParser.T_MERGE - 160)) | (1 << (HiveSqlParser.T_MESSAGE_TEXT - 160)) | (1 << (HiveSqlParser.T_MICROSECOND - 160)) | (1 << (HiveSqlParser.T_MICROSECONDS - 160)) | (1 << (HiveSqlParser.T_MIN - 160)) | (1 << (HiveSqlParser.T_MULTISET - 160)) | (1 << (HiveSqlParser.T_NCHAR - 160)) | (1 << (HiveSqlParser.T_NEW - 160)) | (1 << (HiveSqlParser.T_NVARCHAR - 160)) | (1 << (HiveSqlParser.T_NO - 160)) | (1 << (HiveSqlParser.T_NOCOUNT - 160)) | (1 << (HiveSqlParser.T_NOCOMPRESS - 160)) | (1 << (HiveSqlParser.T_NOLOGGING - 160)) | (1 << (HiveSqlParser.T_NONE - 160)) | (1 << (HiveSqlParser.T_NOT - 160)) | (1 << (HiveSqlParser.T_NOTFOUND - 160)) | (1 << (HiveSqlParser.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSqlParser.T_NUMBER - 192)) | (1 << (HiveSqlParser.T_OBJECT - 192)) | (1 << (HiveSqlParser.T_OFF - 192)) | (1 << (HiveSqlParser.T_ON - 192)) | (1 << (HiveSqlParser.T_ONLY - 192)) | (1 << (HiveSqlParser.T_OPEN - 192)) | (1 << (HiveSqlParser.T_OR - 192)) | (1 << (HiveSqlParser.T_ORDER - 192)) | (1 << (HiveSqlParser.T_OUT - 192)) | (1 << (HiveSqlParser.T_OUTER - 192)) | (1 << (HiveSqlParser.T_OVER - 192)) | (1 << (HiveSqlParser.T_OVERWRITE - 192)) | (1 << (HiveSqlParser.T_OWNER - 192)) | (1 << (HiveSqlParser.T_PACKAGE - 192)) | (1 << (HiveSqlParser.T_PARTITION - 192)) | (1 << (HiveSqlParser.T_PCTFREE - 192)) | (1 << (HiveSqlParser.T_PCTUSED - 192)) | (1 << (HiveSqlParser.T_PRECISION - 192)) | (1 << (HiveSqlParser.T_PRESERVE - 192)) | (1 << (HiveSqlParser.T_PRIMARY - 192)) | (1 << (HiveSqlParser.T_PRINT - 192)) | (1 << (HiveSqlParser.T_PROC - 192)) | (1 << (HiveSqlParser.T_PROCEDURE - 192)) | (1 << (HiveSqlParser.T_QUALIFY - 192)) | (1 << (HiveSqlParser.T_QUERY_BAND - 192)) | (1 << (HiveSqlParser.T_QUIT - 192)) | (1 << (HiveSqlParser.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSqlParser.T_RAISE - 192)) | (1 << (HiveSqlParser.T_REAL - 192)) | (1 << (HiveSqlParser.T_REFERENCES - 192)) | (1 << (HiveSqlParser.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSqlParser.T_REPLACE - 224)) | (1 << (HiveSqlParser.T_RESIGNAL - 224)) | (1 << (HiveSqlParser.T_RESTRICT - 224)) | (1 << (HiveSqlParser.T_RESULT - 224)) | (1 << (HiveSqlParser.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSqlParser.T_RETURN - 224)) | (1 << (HiveSqlParser.T_RETURNS - 224)) | (1 << (HiveSqlParser.T_REVERSE - 224)) | (1 << (HiveSqlParser.T_RIGHT - 224)) | (1 << (HiveSqlParser.T_RLIKE - 224)) | (1 << (HiveSqlParser.T_ROLE - 224)) | (1 << (HiveSqlParser.T_ROLLBACK - 224)) | (1 << (HiveSqlParser.T_ROW - 224)) | (1 << (HiveSqlParser.T_ROWS - 224)) | (1 << (HiveSqlParser.T_ROW_COUNT - 224)) | (1 << (HiveSqlParser.T_RR - 224)) | (1 << (HiveSqlParser.T_RS - 224)) | (1 << (HiveSqlParser.T_PWD - 224)) | (1 << (HiveSqlParser.T_TRIM - 224)) | (1 << (HiveSqlParser.T_SCHEMA - 224)) | (1 << (HiveSqlParser.T_SECOND - 224)) | (1 << (HiveSqlParser.T_SECONDS - 224)) | (1 << (HiveSqlParser.T_SECURITY - 224)) | (1 << (HiveSqlParser.T_SEGMENT - 224)) | (1 << (HiveSqlParser.T_SEL - 224)) | (1 << (HiveSqlParser.T_SELECT - 224)) | (1 << (HiveSqlParser.T_SET - 224)) | (1 << (HiveSqlParser.T_SESSION - 224)) | (1 << (HiveSqlParser.T_SESSIONS - 224)) | (1 << (HiveSqlParser.T_SETS - 224)) | (1 << (HiveSqlParser.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSqlParser.T_SIGNAL - 256)) | (1 << (HiveSqlParser.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSqlParser.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSqlParser.T_SMALLDATETIME - 256)) | (1 << (HiveSqlParser.T_SMALLINT - 256)) | (1 << (HiveSqlParser.T_SQL - 256)) | (1 << (HiveSqlParser.T_SQLEXCEPTION - 256)) | (1 << (HiveSqlParser.T_SQLINSERT - 256)) | (1 << (HiveSqlParser.T_SQLSTATE - 256)) | (1 << (HiveSqlParser.T_SQLWARNING - 256)) | (1 << (HiveSqlParser.T_STATS - 256)) | (1 << (HiveSqlParser.T_STATISTICS - 256)) | (1 << (HiveSqlParser.T_STEP - 256)) | (1 << (HiveSqlParser.T_STORAGE - 256)) | (1 << (HiveSqlParser.T_STORED - 256)) | (1 << (HiveSqlParser.T_STRING - 256)) | (1 << (HiveSqlParser.T_SUBDIR - 256)) | (1 << (HiveSqlParser.T_SUBSTRING - 256)) | (1 << (HiveSqlParser.T_SUM - 256)) | (1 << (HiveSqlParser.T_SUMMARY - 256)) | (1 << (HiveSqlParser.T_SYS_REFCURSOR - 256)) | (1 << (HiveSqlParser.T_TABLE - 256)) | (1 << (HiveSqlParser.T_TABLESPACE - 256)) | (1 << (HiveSqlParser.T_TEMPORARY - 256)) | (1 << (HiveSqlParser.T_TERMINATED - 256)) | (1 << (HiveSqlParser.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSqlParser.T_THEN - 256)) | (1 << (HiveSqlParser.T_TIMESTAMP - 256)) | (1 << (HiveSqlParser.T_TITLE - 256)) | (1 << (HiveSqlParser.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSqlParser.T_TOP - 288)) | (1 << (HiveSqlParser.T_TRANSACTION - 288)) | (1 << (HiveSqlParser.T_TRUE - 288)) | (1 << (HiveSqlParser.T_TRUNCATE - 288)) | (1 << (HiveSqlParser.T_UNIQUE - 288)) | (1 << (HiveSqlParser.T_UPDATE - 288)) | (1 << (HiveSqlParser.T_UR - 288)) | (1 << (HiveSqlParser.T_USE - 288)) | (1 << (HiveSqlParser.T_USING - 288)) | (1 << (HiveSqlParser.T_VALUE - 288)) | (1 << (HiveSqlParser.T_VALUES - 288)) | (1 << (HiveSqlParser.T_VAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR2 - 288)) | (1 << (HiveSqlParser.T_VARYING - 288)) | (1 << (HiveSqlParser.T_VOLATILE - 288)) | (1 << (HiveSqlParser.T_WHILE - 288)) | (1 << (HiveSqlParser.T_WITH - 288)) | (1 << (HiveSqlParser.T_WITHOUT - 288)) | (1 << (HiveSqlParser.T_WORK - 288)) | (1 << (HiveSqlParser.T_XACT_ABORT - 288)) | (1 << (HiveSqlParser.T_XML - 288)) | (1 << (HiveSqlParser.T_YES - 288)) | (1 << (HiveSqlParser.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSqlParser.T_CUME_DIST - 288)) | (1 << (HiveSqlParser.T_CURRENT_DATE - 288)) | (1 << (HiveSqlParser.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSqlParser.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSqlParser.T_DENSE_RANK - 320)) | (1 << (HiveSqlParser.T_FIRST_VALUE - 320)) | (1 << (HiveSqlParser.T_LAG - 320)) | (1 << (HiveSqlParser.T_LAST_VALUE - 320)) | (1 << (HiveSqlParser.T_LEAD - 320)) | (1 << (HiveSqlParser.T_PART_COUNT - 320)) | (1 << (HiveSqlParser.T_PART_LOC - 320)) | (1 << (HiveSqlParser.T_RANK - 320)) | (1 << (HiveSqlParser.T_ROW_NUMBER - 320)) | (1 << (HiveSqlParser.T_STDEV - 320)) | (1 << (HiveSqlParser.T_SYSDATE - 320)) | (1 << (HiveSqlParser.T_VARIANCE - 320)) | (1 << (HiveSqlParser.T_USER - 320)))) !== 0) || _la===HiveSqlParser.L_ID) { + while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSql.T_ACTION) | (1 << HiveSql.T_ADD2) | (1 << HiveSql.T_ALL) | (1 << HiveSql.T_ALLOCATE) | (1 << HiveSql.T_ALTER) | (1 << HiveSql.T_AND) | (1 << HiveSql.T_ANSI_NULLS) | (1 << HiveSql.T_ANSI_PADDING) | (1 << HiveSql.T_AS) | (1 << HiveSql.T_ASC) | (1 << HiveSql.T_ASSOCIATE) | (1 << HiveSql.T_AT) | (1 << HiveSql.T_AUTO_INCREMENT) | (1 << HiveSql.T_AVG) | (1 << HiveSql.T_BATCHSIZE) | (1 << HiveSql.T_BEGIN) | (1 << HiveSql.T_BETWEEN) | (1 << HiveSql.T_BIGINT) | (1 << HiveSql.T_BINARY_DOUBLE) | (1 << HiveSql.T_BINARY_FLOAT) | (1 << HiveSql.T_BIT) | (1 << HiveSql.T_BODY) | (1 << HiveSql.T_BREAK) | (1 << HiveSql.T_BY) | (1 << HiveSql.T_BYTE) | (1 << HiveSql.T_CALL) | (1 << HiveSql.T_CALLER) | (1 << HiveSql.T_CASCADE) | (1 << HiveSql.T_CASE) | (1 << HiveSql.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSql.T_CAST - 32)) | (1 << (HiveSql.T_CHAR - 32)) | (1 << (HiveSql.T_CHARACTER - 32)) | (1 << (HiveSql.T_CHARSET - 32)) | (1 << (HiveSql.T_CLIENT - 32)) | (1 << (HiveSql.T_CLOSE - 32)) | (1 << (HiveSql.T_CLUSTERED - 32)) | (1 << (HiveSql.T_CMP - 32)) | (1 << (HiveSql.T_COLLECT - 32)) | (1 << (HiveSql.T_COLLECTION - 32)) | (1 << (HiveSql.T_COLUMN - 32)) | (1 << (HiveSql.T_COMMENT - 32)) | (1 << (HiveSql.T_CONSTANT - 32)) | (1 << (HiveSql.T_COMMIT - 32)) | (1 << (HiveSql.T_COMPRESS - 32)) | (1 << (HiveSql.T_CONCAT - 32)) | (1 << (HiveSql.T_CONDITION - 32)) | (1 << (HiveSql.T_CONSTRAINT - 32)) | (1 << (HiveSql.T_CONTINUE - 32)) | (1 << (HiveSql.T_COPY - 32)) | (1 << (HiveSql.T_COUNT - 32)) | (1 << (HiveSql.T_COUNT_BIG - 32)) | (1 << (HiveSql.T_CREATE - 32)) | (1 << (HiveSql.T_CREATION - 32)) | (1 << (HiveSql.T_CREATOR - 32)) | (1 << (HiveSql.T_CS - 32)) | (1 << (HiveSql.T_CURRENT - 32)) | (1 << (HiveSql.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSql.T_CURSOR - 32)) | (1 << (HiveSql.T_DATABASE - 32)) | (1 << (HiveSql.T_DATA - 32)) | (1 << (HiveSql.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSql.T_DATETIME - 64)) | (1 << (HiveSql.T_DAY - 64)) | (1 << (HiveSql.T_DAYS - 64)) | (1 << (HiveSql.T_DEC - 64)) | (1 << (HiveSql.T_DECIMAL - 64)) | (1 << (HiveSql.T_DECLARE - 64)) | (1 << (HiveSql.T_DEFAULT - 64)) | (1 << (HiveSql.T_DEFERRED - 64)) | (1 << (HiveSql.T_DEFINED - 64)) | (1 << (HiveSql.T_DEFINER - 64)) | (1 << (HiveSql.T_DEFINITION - 64)) | (1 << (HiveSql.T_DELETE - 64)) | (1 << (HiveSql.T_DELIMITED - 64)) | (1 << (HiveSql.T_DELIMITER - 64)) | (1 << (HiveSql.T_DESC - 64)) | (1 << (HiveSql.T_DESCRIBE - 64)) | (1 << (HiveSql.T_DIAGNOSTICS - 64)) | (1 << (HiveSql.T_DIR - 64)) | (1 << (HiveSql.T_DIRECTORY - 64)) | (1 << (HiveSql.T_DISTINCT - 64)) | (1 << (HiveSql.T_DISTRIBUTE - 64)) | (1 << (HiveSql.T_DO - 64)) | (1 << (HiveSql.T_DOUBLE - 64)) | (1 << (HiveSql.T_DROP - 64)) | (1 << (HiveSql.T_DYNAMIC - 64)) | (1 << (HiveSql.T_ENABLE - 64)) | (1 << (HiveSql.T_ENGINE - 64)) | (1 << (HiveSql.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSql.T_EXCEPT - 96)) | (1 << (HiveSql.T_EXEC - 96)) | (1 << (HiveSql.T_EXECUTE - 96)) | (1 << (HiveSql.T_EXCEPTION - 96)) | (1 << (HiveSql.T_EXCLUSIVE - 96)) | (1 << (HiveSql.T_EXISTS - 96)) | (1 << (HiveSql.T_EXIT - 96)) | (1 << (HiveSql.T_FALLBACK - 96)) | (1 << (HiveSql.T_FALSE - 96)) | (1 << (HiveSql.T_FETCH - 96)) | (1 << (HiveSql.T_FIELDS - 96)) | (1 << (HiveSql.T_FILE - 96)) | (1 << (HiveSql.T_FILES - 96)) | (1 << (HiveSql.T_FLOAT - 96)) | (1 << (HiveSql.T_FOR - 96)) | (1 << (HiveSql.T_FOREIGN - 96)) | (1 << (HiveSql.T_FORMAT - 96)) | (1 << (HiveSql.T_FOUND - 96)) | (1 << (HiveSql.T_FROM - 96)) | (1 << (HiveSql.T_FULL - 96)) | (1 << (HiveSql.T_FUNCTION - 96)) | (1 << (HiveSql.T_GET - 96)) | (1 << (HiveSql.T_GLOBAL - 96)) | (1 << (HiveSql.T_GO - 96)) | (1 << (HiveSql.T_GRANT - 96)) | (1 << (HiveSql.T_GROUP - 96)) | (1 << (HiveSql.T_HANDLER - 96)) | (1 << (HiveSql.T_HASH - 96)) | (1 << (HiveSql.T_HAVING - 96)) | (1 << (HiveSql.T_HDFS - 96)) | (1 << (HiveSql.T_HIVE - 96)) | (1 << (HiveSql.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSql.T_IDENTITY - 128)) | (1 << (HiveSql.T_IF - 128)) | (1 << (HiveSql.T_IGNORE - 128)) | (1 << (HiveSql.T_IMMEDIATE - 128)) | (1 << (HiveSql.T_IN - 128)) | (1 << (HiveSql.T_INCLUDE - 128)) | (1 << (HiveSql.T_INDEX - 128)) | (1 << (HiveSql.T_INITRANS - 128)) | (1 << (HiveSql.T_INNER - 128)) | (1 << (HiveSql.T_INOUT - 128)) | (1 << (HiveSql.T_INSERT - 128)) | (1 << (HiveSql.T_INT - 128)) | (1 << (HiveSql.T_INT2 - 128)) | (1 << (HiveSql.T_INT4 - 128)) | (1 << (HiveSql.T_INT8 - 128)) | (1 << (HiveSql.T_INTEGER - 128)) | (1 << (HiveSql.T_INTERSECT - 128)) | (1 << (HiveSql.T_INTERVAL - 128)) | (1 << (HiveSql.T_INTO - 128)) | (1 << (HiveSql.T_INVOKER - 128)) | (1 << (HiveSql.T_IS - 128)) | (1 << (HiveSql.T_ISOPEN - 128)) | (1 << (HiveSql.T_ITEMS - 128)) | (1 << (HiveSql.T_JOIN - 128)) | (1 << (HiveSql.T_KEEP - 128)) | (1 << (HiveSql.T_KEY - 128)) | (1 << (HiveSql.T_KEYS - 128)) | (1 << (HiveSql.T_LANGUAGE - 128)) | (1 << (HiveSql.T_LEAVE - 128)) | (1 << (HiveSql.T_LEFT - 128)) | (1 << (HiveSql.T_LIKE - 128)) | (1 << (HiveSql.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSql.T_LINES - 160)) | (1 << (HiveSql.T_LOCAL - 160)) | (1 << (HiveSql.T_LOCATION - 160)) | (1 << (HiveSql.T_LOCATOR - 160)) | (1 << (HiveSql.T_LOCATORS - 160)) | (1 << (HiveSql.T_LOCKS - 160)) | (1 << (HiveSql.T_LOG - 160)) | (1 << (HiveSql.T_LOGGED - 160)) | (1 << (HiveSql.T_LOGGING - 160)) | (1 << (HiveSql.T_LOOP - 160)) | (1 << (HiveSql.T_MAP - 160)) | (1 << (HiveSql.T_MATCHED - 160)) | (1 << (HiveSql.T_MAX - 160)) | (1 << (HiveSql.T_MAXTRANS - 160)) | (1 << (HiveSql.T_MERGE - 160)) | (1 << (HiveSql.T_MESSAGE_TEXT - 160)) | (1 << (HiveSql.T_MICROSECOND - 160)) | (1 << (HiveSql.T_MICROSECONDS - 160)) | (1 << (HiveSql.T_MIN - 160)) | (1 << (HiveSql.T_MULTISET - 160)) | (1 << (HiveSql.T_NCHAR - 160)) | (1 << (HiveSql.T_NEW - 160)) | (1 << (HiveSql.T_NVARCHAR - 160)) | (1 << (HiveSql.T_NO - 160)) | (1 << (HiveSql.T_NOCOUNT - 160)) | (1 << (HiveSql.T_NOCOMPRESS - 160)) | (1 << (HiveSql.T_NOLOGGING - 160)) | (1 << (HiveSql.T_NONE - 160)) | (1 << (HiveSql.T_NOT - 160)) | (1 << (HiveSql.T_NOTFOUND - 160)) | (1 << (HiveSql.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSql.T_NUMBER - 192)) | (1 << (HiveSql.T_OBJECT - 192)) | (1 << (HiveSql.T_OFF - 192)) | (1 << (HiveSql.T_ON - 192)) | (1 << (HiveSql.T_ONLY - 192)) | (1 << (HiveSql.T_OPEN - 192)) | (1 << (HiveSql.T_OR - 192)) | (1 << (HiveSql.T_ORDER - 192)) | (1 << (HiveSql.T_OUT - 192)) | (1 << (HiveSql.T_OUTER - 192)) | (1 << (HiveSql.T_OVER - 192)) | (1 << (HiveSql.T_OVERWRITE - 192)) | (1 << (HiveSql.T_OWNER - 192)) | (1 << (HiveSql.T_PACKAGE - 192)) | (1 << (HiveSql.T_PARTITION - 192)) | (1 << (HiveSql.T_PCTFREE - 192)) | (1 << (HiveSql.T_PCTUSED - 192)) | (1 << (HiveSql.T_PRECISION - 192)) | (1 << (HiveSql.T_PRESERVE - 192)) | (1 << (HiveSql.T_PRIMARY - 192)) | (1 << (HiveSql.T_PRINT - 192)) | (1 << (HiveSql.T_PROC - 192)) | (1 << (HiveSql.T_PROCEDURE - 192)) | (1 << (HiveSql.T_QUALIFY - 192)) | (1 << (HiveSql.T_QUERY_BAND - 192)) | (1 << (HiveSql.T_QUIT - 192)) | (1 << (HiveSql.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSql.T_RAISE - 192)) | (1 << (HiveSql.T_REAL - 192)) | (1 << (HiveSql.T_REFERENCES - 192)) | (1 << (HiveSql.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSql.T_REPLACE - 224)) | (1 << (HiveSql.T_RESIGNAL - 224)) | (1 << (HiveSql.T_RESTRICT - 224)) | (1 << (HiveSql.T_RESULT - 224)) | (1 << (HiveSql.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSql.T_RETURN - 224)) | (1 << (HiveSql.T_RETURNS - 224)) | (1 << (HiveSql.T_REVERSE - 224)) | (1 << (HiveSql.T_RIGHT - 224)) | (1 << (HiveSql.T_RLIKE - 224)) | (1 << (HiveSql.T_ROLE - 224)) | (1 << (HiveSql.T_ROLLBACK - 224)) | (1 << (HiveSql.T_ROW - 224)) | (1 << (HiveSql.T_ROWS - 224)) | (1 << (HiveSql.T_ROW_COUNT - 224)) | (1 << (HiveSql.T_RR - 224)) | (1 << (HiveSql.T_RS - 224)) | (1 << (HiveSql.T_PWD - 224)) | (1 << (HiveSql.T_TRIM - 224)) | (1 << (HiveSql.T_SCHEMA - 224)) | (1 << (HiveSql.T_SECOND - 224)) | (1 << (HiveSql.T_SECONDS - 224)) | (1 << (HiveSql.T_SECURITY - 224)) | (1 << (HiveSql.T_SEGMENT - 224)) | (1 << (HiveSql.T_SEL - 224)) | (1 << (HiveSql.T_SELECT - 224)) | (1 << (HiveSql.T_SET - 224)) | (1 << (HiveSql.T_SESSION - 224)) | (1 << (HiveSql.T_SESSIONS - 224)) | (1 << (HiveSql.T_SETS - 224)) | (1 << (HiveSql.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSql.T_SIGNAL - 256)) | (1 << (HiveSql.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSql.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSql.T_SMALLDATETIME - 256)) | (1 << (HiveSql.T_SMALLINT - 256)) | (1 << (HiveSql.T_SQL - 256)) | (1 << (HiveSql.T_SQLEXCEPTION - 256)) | (1 << (HiveSql.T_SQLINSERT - 256)) | (1 << (HiveSql.T_SQLSTATE - 256)) | (1 << (HiveSql.T_SQLWARNING - 256)) | (1 << (HiveSql.T_STATS - 256)) | (1 << (HiveSql.T_STATISTICS - 256)) | (1 << (HiveSql.T_STEP - 256)) | (1 << (HiveSql.T_STORAGE - 256)) | (1 << (HiveSql.T_STORED - 256)) | (1 << (HiveSql.T_STRING - 256)) | (1 << (HiveSql.T_SUBDIR - 256)) | (1 << (HiveSql.T_SUBSTRING - 256)) | (1 << (HiveSql.T_SUM - 256)) | (1 << (HiveSql.T_SUMMARY - 256)) | (1 << (HiveSql.T_SYS_REFCURSOR - 256)) | (1 << (HiveSql.T_TABLE - 256)) | (1 << (HiveSql.T_TABLESPACE - 256)) | (1 << (HiveSql.T_TEMPORARY - 256)) | (1 << (HiveSql.T_TERMINATED - 256)) | (1 << (HiveSql.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSql.T_THEN - 256)) | (1 << (HiveSql.T_TIMESTAMP - 256)) | (1 << (HiveSql.T_TITLE - 256)) | (1 << (HiveSql.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSql.T_TOP - 288)) | (1 << (HiveSql.T_TRANSACTION - 288)) | (1 << (HiveSql.T_TRUE - 288)) | (1 << (HiveSql.T_TRUNCATE - 288)) | (1 << (HiveSql.T_UNIQUE - 288)) | (1 << (HiveSql.T_UPDATE - 288)) | (1 << (HiveSql.T_UR - 288)) | (1 << (HiveSql.T_USE - 288)) | (1 << (HiveSql.T_USING - 288)) | (1 << (HiveSql.T_VALUE - 288)) | (1 << (HiveSql.T_VALUES - 288)) | (1 << (HiveSql.T_VAR - 288)) | (1 << (HiveSql.T_VARCHAR - 288)) | (1 << (HiveSql.T_VARCHAR2 - 288)) | (1 << (HiveSql.T_VARYING - 288)) | (1 << (HiveSql.T_VOLATILE - 288)) | (1 << (HiveSql.T_WHILE - 288)) | (1 << (HiveSql.T_WITH - 288)) | (1 << (HiveSql.T_WITHOUT - 288)) | (1 << (HiveSql.T_WORK - 288)) | (1 << (HiveSql.T_XACT_ABORT - 288)) | (1 << (HiveSql.T_XML - 288)) | (1 << (HiveSql.T_YES - 288)) | (1 << (HiveSql.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSql.T_CUME_DIST - 288)) | (1 << (HiveSql.T_CURRENT_DATE - 288)) | (1 << (HiveSql.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSql.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSql.T_DENSE_RANK - 320)) | (1 << (HiveSql.T_FIRST_VALUE - 320)) | (1 << (HiveSql.T_LAG - 320)) | (1 << (HiveSql.T_LAST_VALUE - 320)) | (1 << (HiveSql.T_LEAD - 320)) | (1 << (HiveSql.T_PART_COUNT - 320)) | (1 << (HiveSql.T_PART_LOC - 320)) | (1 << (HiveSql.T_RANK - 320)) | (1 << (HiveSql.T_ROW_NUMBER - 320)) | (1 << (HiveSql.T_STDEV - 320)) | (1 << (HiveSql.T_SYSDATE - 320)) | (1 << (HiveSql.T_VARIANCE - 320)) | (1 << (HiveSql.T_USER - 320)))) !== 0) || _la===HiveSql.L_ID) { this.state = 1450; this.package_spec_item(); this.state = 1451; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); this.state = 1457; this._errHandler.sync(this); _la = this._input.LA(1); @@ -14125,7 +14125,7 @@ function Package_spec_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_package_spec_item; + this.ruleIndex = HiveSql.RULE_package_spec_item; return this; } @@ -14137,7 +14137,7 @@ Package_spec_itemContext.prototype.declare_stmt_item = function() { }; Package_spec_itemContext.prototype.T_FUNCTION = function() { - return this.getToken(HiveSqlParser.T_FUNCTION, 0); + return this.getToken(HiveSql.T_FUNCTION, 0); }; Package_spec_itemContext.prototype.ident = function() { @@ -14153,27 +14153,27 @@ Package_spec_itemContext.prototype.create_routine_params = function() { }; Package_spec_itemContext.prototype.T_PROCEDURE = function() { - return this.getToken(HiveSqlParser.T_PROCEDURE, 0); + return this.getToken(HiveSql.T_PROCEDURE, 0); }; Package_spec_itemContext.prototype.T_PROC = function() { - return this.getToken(HiveSqlParser.T_PROC, 0); + return this.getToken(HiveSql.T_PROC, 0); }; Package_spec_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterPackage_spec_item(this); } }; Package_spec_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitPackage_spec_item(this); } }; Package_spec_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitPackage_spec_item(this); } else { return visitor.visitChildren(this); @@ -14183,12 +14183,12 @@ Package_spec_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Package_spec_itemContext = Package_spec_itemContext; +HiveSql.Package_spec_itemContext = Package_spec_itemContext; -HiveSqlParser.prototype.package_spec_item = function() { +HiveSql.prototype.package_spec_item = function() { var localctx = new Package_spec_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 138, HiveSqlParser.RULE_package_spec_item); + this.enterRule(localctx, 138, HiveSql.RULE_package_spec_item); var _la = 0; // Token type try { this.state = 1471; @@ -14204,7 +14204,7 @@ HiveSqlParser.prototype.package_spec_item = function() { case 2: this.enterOuterAlt(localctx, 2); this.state = 1459; - this.match(HiveSqlParser.T_FUNCTION); + this.match(HiveSql.T_FUNCTION); this.state = 1460; this.ident(); this.state = 1462; @@ -14223,7 +14223,7 @@ HiveSqlParser.prototype.package_spec_item = function() { this.enterOuterAlt(localctx, 3); this.state = 1466; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_PROC || _la===HiveSqlParser.T_PROCEDURE)) { + if(!(_la===HiveSql.T_PROC || _la===HiveSql.T_PROCEDURE)) { this._errHandler.recoverInline(this); } else { @@ -14267,7 +14267,7 @@ function Create_package_body_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_package_body_stmt; + this.ruleIndex = HiveSql.RULE_create_package_body_stmt; return this; } @@ -14275,11 +14275,11 @@ Create_package_body_stmtContext.prototype = Object.create(antlr4.ParserRuleConte Create_package_body_stmtContext.prototype.constructor = Create_package_body_stmtContext; Create_package_body_stmtContext.prototype.T_PACKAGE = function() { - return this.getToken(HiveSqlParser.T_PACKAGE, 0); + return this.getToken(HiveSql.T_PACKAGE, 0); }; Create_package_body_stmtContext.prototype.T_BODY = function() { - return this.getToken(HiveSqlParser.T_BODY, 0); + return this.getToken(HiveSql.T_BODY, 0); }; Create_package_body_stmtContext.prototype.ident = function(i) { @@ -14298,51 +14298,51 @@ Create_package_body_stmtContext.prototype.package_body = function() { }; Create_package_body_stmtContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; Create_package_body_stmtContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Create_package_body_stmtContext.prototype.T_IS = function() { - return this.getToken(HiveSqlParser.T_IS, 0); + return this.getToken(HiveSql.T_IS, 0); }; Create_package_body_stmtContext.prototype.T_ALTER = function() { - return this.getToken(HiveSqlParser.T_ALTER, 0); + return this.getToken(HiveSql.T_ALTER, 0); }; Create_package_body_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_package_body_stmtContext.prototype.T_REPLACE = function() { - return this.getToken(HiveSqlParser.T_REPLACE, 0); + return this.getToken(HiveSql.T_REPLACE, 0); }; Create_package_body_stmtContext.prototype.T_SEMICOLON = function() { - return this.getToken(HiveSqlParser.T_SEMICOLON, 0); + return this.getToken(HiveSql.T_SEMICOLON, 0); }; Create_package_body_stmtContext.prototype.T_OR = function() { - return this.getToken(HiveSqlParser.T_OR, 0); + return this.getToken(HiveSql.T_OR, 0); }; Create_package_body_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_package_body_stmt(this); } }; Create_package_body_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_package_body_stmt(this); } }; Create_package_body_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_package_body_stmt(this); } else { return visitor.visitChildren(this); @@ -14352,54 +14352,54 @@ Create_package_body_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_package_body_stmtContext = Create_package_body_stmtContext; +HiveSql.Create_package_body_stmtContext = Create_package_body_stmtContext; -HiveSqlParser.prototype.create_package_body_stmt = function() { +HiveSql.prototype.create_package_body_stmt = function() { var localctx = new Create_package_body_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 140, HiveSqlParser.RULE_create_package_body_stmt); + this.enterRule(localctx, 140, HiveSql.RULE_create_package_body_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1480; this._errHandler.sync(this); switch (this._input.LA(1)) { - case HiveSqlParser.T_ALTER: + case HiveSql.T_ALTER: this.state = 1473; - this.match(HiveSqlParser.T_ALTER); + this.match(HiveSql.T_ALTER); break; - case HiveSqlParser.T_CREATE: + case HiveSql.T_CREATE: this.state = 1474; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 1477; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OR) { + if(_la===HiveSql.T_OR) { this.state = 1475; - this.match(HiveSqlParser.T_OR); + this.match(HiveSql.T_OR); this.state = 1476; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); } break; - case HiveSqlParser.T_REPLACE: + case HiveSql.T_REPLACE: this.state = 1479; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); break; - case HiveSqlParser.T_PACKAGE: + case HiveSql.T_PACKAGE: break; default: break; } this.state = 1482; - this.match(HiveSqlParser.T_PACKAGE); + this.match(HiveSql.T_PACKAGE); this.state = 1483; - this.match(HiveSqlParser.T_BODY); + this.match(HiveSql.T_BODY); this.state = 1484; this.ident(); this.state = 1485; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_AS || _la===HiveSqlParser.T_IS)) { + if(!(_la===HiveSql.T_AS || _la===HiveSql.T_IS)) { this._errHandler.recoverInline(this); } else { @@ -14409,7 +14409,7 @@ HiveSqlParser.prototype.create_package_body_stmt = function() { this.state = 1486; this.package_body(); this.state = 1487; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); this.state = 1491; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,149,this._ctx); @@ -14417,7 +14417,7 @@ HiveSqlParser.prototype.create_package_body_stmt = function() { this.state = 1488; this.ident(); this.state = 1489; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); } } catch (re) { @@ -14444,7 +14444,7 @@ function Package_bodyContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_package_body; + this.ruleIndex = HiveSql.RULE_package_body; return this; } @@ -14467,27 +14467,27 @@ Package_bodyContext.prototype.T_SEMICOLON = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_SEMICOLON); + return this.getTokens(HiveSql.T_SEMICOLON); } else { - return this.getToken(HiveSqlParser.T_SEMICOLON, i); + return this.getToken(HiveSql.T_SEMICOLON, i); } }; Package_bodyContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterPackage_body(this); } }; Package_bodyContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitPackage_body(this); } }; Package_bodyContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitPackage_body(this); } else { return visitor.visitChildren(this); @@ -14497,27 +14497,27 @@ Package_bodyContext.prototype.accept = function(visitor) { -HiveSqlParser.Package_bodyContext = Package_bodyContext; +HiveSql.Package_bodyContext = Package_bodyContext; -HiveSqlParser.prototype.package_body = function() { +HiveSql.prototype.package_body = function() { var localctx = new Package_bodyContext(this, this._ctx, this.state); - this.enterRule(localctx, 142, HiveSqlParser.RULE_package_body); + this.enterRule(localctx, 142, HiveSql.RULE_package_body); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1493; this.package_body_item(); this.state = 1494; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); this.state = 1500; this._errHandler.sync(this); _la = this._input.LA(1); - while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSqlParser.T_ACTION) | (1 << HiveSqlParser.T_ADD2) | (1 << HiveSqlParser.T_ALL) | (1 << HiveSqlParser.T_ALLOCATE) | (1 << HiveSqlParser.T_ALTER) | (1 << HiveSqlParser.T_AND) | (1 << HiveSqlParser.T_ANSI_NULLS) | (1 << HiveSqlParser.T_ANSI_PADDING) | (1 << HiveSqlParser.T_AS) | (1 << HiveSqlParser.T_ASC) | (1 << HiveSqlParser.T_ASSOCIATE) | (1 << HiveSqlParser.T_AT) | (1 << HiveSqlParser.T_AUTO_INCREMENT) | (1 << HiveSqlParser.T_AVG) | (1 << HiveSqlParser.T_BATCHSIZE) | (1 << HiveSqlParser.T_BEGIN) | (1 << HiveSqlParser.T_BETWEEN) | (1 << HiveSqlParser.T_BIGINT) | (1 << HiveSqlParser.T_BINARY_DOUBLE) | (1 << HiveSqlParser.T_BINARY_FLOAT) | (1 << HiveSqlParser.T_BIT) | (1 << HiveSqlParser.T_BODY) | (1 << HiveSqlParser.T_BREAK) | (1 << HiveSqlParser.T_BY) | (1 << HiveSqlParser.T_BYTE) | (1 << HiveSqlParser.T_CALL) | (1 << HiveSqlParser.T_CALLER) | (1 << HiveSqlParser.T_CASCADE) | (1 << HiveSqlParser.T_CASE) | (1 << HiveSqlParser.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSqlParser.T_CAST - 32)) | (1 << (HiveSqlParser.T_CHAR - 32)) | (1 << (HiveSqlParser.T_CHARACTER - 32)) | (1 << (HiveSqlParser.T_CHARSET - 32)) | (1 << (HiveSqlParser.T_CLIENT - 32)) | (1 << (HiveSqlParser.T_CLOSE - 32)) | (1 << (HiveSqlParser.T_CLUSTERED - 32)) | (1 << (HiveSqlParser.T_CMP - 32)) | (1 << (HiveSqlParser.T_COLLECT - 32)) | (1 << (HiveSqlParser.T_COLLECTION - 32)) | (1 << (HiveSqlParser.T_COLUMN - 32)) | (1 << (HiveSqlParser.T_COMMENT - 32)) | (1 << (HiveSqlParser.T_CONSTANT - 32)) | (1 << (HiveSqlParser.T_COMMIT - 32)) | (1 << (HiveSqlParser.T_COMPRESS - 32)) | (1 << (HiveSqlParser.T_CONCAT - 32)) | (1 << (HiveSqlParser.T_CONDITION - 32)) | (1 << (HiveSqlParser.T_CONSTRAINT - 32)) | (1 << (HiveSqlParser.T_CONTINUE - 32)) | (1 << (HiveSqlParser.T_COPY - 32)) | (1 << (HiveSqlParser.T_COUNT - 32)) | (1 << (HiveSqlParser.T_COUNT_BIG - 32)) | (1 << (HiveSqlParser.T_CREATE - 32)) | (1 << (HiveSqlParser.T_CREATION - 32)) | (1 << (HiveSqlParser.T_CREATOR - 32)) | (1 << (HiveSqlParser.T_CS - 32)) | (1 << (HiveSqlParser.T_CURRENT - 32)) | (1 << (HiveSqlParser.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSqlParser.T_CURSOR - 32)) | (1 << (HiveSqlParser.T_DATABASE - 32)) | (1 << (HiveSqlParser.T_DATA - 32)) | (1 << (HiveSqlParser.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSqlParser.T_DATETIME - 64)) | (1 << (HiveSqlParser.T_DAY - 64)) | (1 << (HiveSqlParser.T_DAYS - 64)) | (1 << (HiveSqlParser.T_DEC - 64)) | (1 << (HiveSqlParser.T_DECIMAL - 64)) | (1 << (HiveSqlParser.T_DECLARE - 64)) | (1 << (HiveSqlParser.T_DEFAULT - 64)) | (1 << (HiveSqlParser.T_DEFERRED - 64)) | (1 << (HiveSqlParser.T_DEFINED - 64)) | (1 << (HiveSqlParser.T_DEFINER - 64)) | (1 << (HiveSqlParser.T_DEFINITION - 64)) | (1 << (HiveSqlParser.T_DELETE - 64)) | (1 << (HiveSqlParser.T_DELIMITED - 64)) | (1 << (HiveSqlParser.T_DELIMITER - 64)) | (1 << (HiveSqlParser.T_DESC - 64)) | (1 << (HiveSqlParser.T_DESCRIBE - 64)) | (1 << (HiveSqlParser.T_DIAGNOSTICS - 64)) | (1 << (HiveSqlParser.T_DIR - 64)) | (1 << (HiveSqlParser.T_DIRECTORY - 64)) | (1 << (HiveSqlParser.T_DISTINCT - 64)) | (1 << (HiveSqlParser.T_DISTRIBUTE - 64)) | (1 << (HiveSqlParser.T_DO - 64)) | (1 << (HiveSqlParser.T_DOUBLE - 64)) | (1 << (HiveSqlParser.T_DROP - 64)) | (1 << (HiveSqlParser.T_DYNAMIC - 64)) | (1 << (HiveSqlParser.T_ENABLE - 64)) | (1 << (HiveSqlParser.T_ENGINE - 64)) | (1 << (HiveSqlParser.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSqlParser.T_EXCEPT - 96)) | (1 << (HiveSqlParser.T_EXEC - 96)) | (1 << (HiveSqlParser.T_EXECUTE - 96)) | (1 << (HiveSqlParser.T_EXCEPTION - 96)) | (1 << (HiveSqlParser.T_EXCLUSIVE - 96)) | (1 << (HiveSqlParser.T_EXISTS - 96)) | (1 << (HiveSqlParser.T_EXIT - 96)) | (1 << (HiveSqlParser.T_FALLBACK - 96)) | (1 << (HiveSqlParser.T_FALSE - 96)) | (1 << (HiveSqlParser.T_FETCH - 96)) | (1 << (HiveSqlParser.T_FIELDS - 96)) | (1 << (HiveSqlParser.T_FILE - 96)) | (1 << (HiveSqlParser.T_FILES - 96)) | (1 << (HiveSqlParser.T_FLOAT - 96)) | (1 << (HiveSqlParser.T_FOR - 96)) | (1 << (HiveSqlParser.T_FOREIGN - 96)) | (1 << (HiveSqlParser.T_FORMAT - 96)) | (1 << (HiveSqlParser.T_FOUND - 96)) | (1 << (HiveSqlParser.T_FROM - 96)) | (1 << (HiveSqlParser.T_FULL - 96)) | (1 << (HiveSqlParser.T_FUNCTION - 96)) | (1 << (HiveSqlParser.T_GET - 96)) | (1 << (HiveSqlParser.T_GLOBAL - 96)) | (1 << (HiveSqlParser.T_GO - 96)) | (1 << (HiveSqlParser.T_GRANT - 96)) | (1 << (HiveSqlParser.T_GROUP - 96)) | (1 << (HiveSqlParser.T_HANDLER - 96)) | (1 << (HiveSqlParser.T_HASH - 96)) | (1 << (HiveSqlParser.T_HAVING - 96)) | (1 << (HiveSqlParser.T_HDFS - 96)) | (1 << (HiveSqlParser.T_HIVE - 96)) | (1 << (HiveSqlParser.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSqlParser.T_IDENTITY - 128)) | (1 << (HiveSqlParser.T_IF - 128)) | (1 << (HiveSqlParser.T_IGNORE - 128)) | (1 << (HiveSqlParser.T_IMMEDIATE - 128)) | (1 << (HiveSqlParser.T_IN - 128)) | (1 << (HiveSqlParser.T_INCLUDE - 128)) | (1 << (HiveSqlParser.T_INDEX - 128)) | (1 << (HiveSqlParser.T_INITRANS - 128)) | (1 << (HiveSqlParser.T_INNER - 128)) | (1 << (HiveSqlParser.T_INOUT - 128)) | (1 << (HiveSqlParser.T_INSERT - 128)) | (1 << (HiveSqlParser.T_INT - 128)) | (1 << (HiveSqlParser.T_INT2 - 128)) | (1 << (HiveSqlParser.T_INT4 - 128)) | (1 << (HiveSqlParser.T_INT8 - 128)) | (1 << (HiveSqlParser.T_INTEGER - 128)) | (1 << (HiveSqlParser.T_INTERSECT - 128)) | (1 << (HiveSqlParser.T_INTERVAL - 128)) | (1 << (HiveSqlParser.T_INTO - 128)) | (1 << (HiveSqlParser.T_INVOKER - 128)) | (1 << (HiveSqlParser.T_IS - 128)) | (1 << (HiveSqlParser.T_ISOPEN - 128)) | (1 << (HiveSqlParser.T_ITEMS - 128)) | (1 << (HiveSqlParser.T_JOIN - 128)) | (1 << (HiveSqlParser.T_KEEP - 128)) | (1 << (HiveSqlParser.T_KEY - 128)) | (1 << (HiveSqlParser.T_KEYS - 128)) | (1 << (HiveSqlParser.T_LANGUAGE - 128)) | (1 << (HiveSqlParser.T_LEAVE - 128)) | (1 << (HiveSqlParser.T_LEFT - 128)) | (1 << (HiveSqlParser.T_LIKE - 128)) | (1 << (HiveSqlParser.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSqlParser.T_LINES - 160)) | (1 << (HiveSqlParser.T_LOCAL - 160)) | (1 << (HiveSqlParser.T_LOCATION - 160)) | (1 << (HiveSqlParser.T_LOCATOR - 160)) | (1 << (HiveSqlParser.T_LOCATORS - 160)) | (1 << (HiveSqlParser.T_LOCKS - 160)) | (1 << (HiveSqlParser.T_LOG - 160)) | (1 << (HiveSqlParser.T_LOGGED - 160)) | (1 << (HiveSqlParser.T_LOGGING - 160)) | (1 << (HiveSqlParser.T_LOOP - 160)) | (1 << (HiveSqlParser.T_MAP - 160)) | (1 << (HiveSqlParser.T_MATCHED - 160)) | (1 << (HiveSqlParser.T_MAX - 160)) | (1 << (HiveSqlParser.T_MAXTRANS - 160)) | (1 << (HiveSqlParser.T_MERGE - 160)) | (1 << (HiveSqlParser.T_MESSAGE_TEXT - 160)) | (1 << (HiveSqlParser.T_MICROSECOND - 160)) | (1 << (HiveSqlParser.T_MICROSECONDS - 160)) | (1 << (HiveSqlParser.T_MIN - 160)) | (1 << (HiveSqlParser.T_MULTISET - 160)) | (1 << (HiveSqlParser.T_NCHAR - 160)) | (1 << (HiveSqlParser.T_NEW - 160)) | (1 << (HiveSqlParser.T_NVARCHAR - 160)) | (1 << (HiveSqlParser.T_NO - 160)) | (1 << (HiveSqlParser.T_NOCOUNT - 160)) | (1 << (HiveSqlParser.T_NOCOMPRESS - 160)) | (1 << (HiveSqlParser.T_NOLOGGING - 160)) | (1 << (HiveSqlParser.T_NONE - 160)) | (1 << (HiveSqlParser.T_NOT - 160)) | (1 << (HiveSqlParser.T_NOTFOUND - 160)) | (1 << (HiveSqlParser.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSqlParser.T_NUMBER - 192)) | (1 << (HiveSqlParser.T_OBJECT - 192)) | (1 << (HiveSqlParser.T_OFF - 192)) | (1 << (HiveSqlParser.T_ON - 192)) | (1 << (HiveSqlParser.T_ONLY - 192)) | (1 << (HiveSqlParser.T_OPEN - 192)) | (1 << (HiveSqlParser.T_OR - 192)) | (1 << (HiveSqlParser.T_ORDER - 192)) | (1 << (HiveSqlParser.T_OUT - 192)) | (1 << (HiveSqlParser.T_OUTER - 192)) | (1 << (HiveSqlParser.T_OVER - 192)) | (1 << (HiveSqlParser.T_OVERWRITE - 192)) | (1 << (HiveSqlParser.T_OWNER - 192)) | (1 << (HiveSqlParser.T_PACKAGE - 192)) | (1 << (HiveSqlParser.T_PARTITION - 192)) | (1 << (HiveSqlParser.T_PCTFREE - 192)) | (1 << (HiveSqlParser.T_PCTUSED - 192)) | (1 << (HiveSqlParser.T_PRECISION - 192)) | (1 << (HiveSqlParser.T_PRESERVE - 192)) | (1 << (HiveSqlParser.T_PRIMARY - 192)) | (1 << (HiveSqlParser.T_PRINT - 192)) | (1 << (HiveSqlParser.T_PROC - 192)) | (1 << (HiveSqlParser.T_PROCEDURE - 192)) | (1 << (HiveSqlParser.T_QUALIFY - 192)) | (1 << (HiveSqlParser.T_QUERY_BAND - 192)) | (1 << (HiveSqlParser.T_QUIT - 192)) | (1 << (HiveSqlParser.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSqlParser.T_RAISE - 192)) | (1 << (HiveSqlParser.T_REAL - 192)) | (1 << (HiveSqlParser.T_REFERENCES - 192)) | (1 << (HiveSqlParser.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSqlParser.T_REPLACE - 224)) | (1 << (HiveSqlParser.T_RESIGNAL - 224)) | (1 << (HiveSqlParser.T_RESTRICT - 224)) | (1 << (HiveSqlParser.T_RESULT - 224)) | (1 << (HiveSqlParser.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSqlParser.T_RETURN - 224)) | (1 << (HiveSqlParser.T_RETURNS - 224)) | (1 << (HiveSqlParser.T_REVERSE - 224)) | (1 << (HiveSqlParser.T_RIGHT - 224)) | (1 << (HiveSqlParser.T_RLIKE - 224)) | (1 << (HiveSqlParser.T_ROLE - 224)) | (1 << (HiveSqlParser.T_ROLLBACK - 224)) | (1 << (HiveSqlParser.T_ROW - 224)) | (1 << (HiveSqlParser.T_ROWS - 224)) | (1 << (HiveSqlParser.T_ROW_COUNT - 224)) | (1 << (HiveSqlParser.T_RR - 224)) | (1 << (HiveSqlParser.T_RS - 224)) | (1 << (HiveSqlParser.T_PWD - 224)) | (1 << (HiveSqlParser.T_TRIM - 224)) | (1 << (HiveSqlParser.T_SCHEMA - 224)) | (1 << (HiveSqlParser.T_SECOND - 224)) | (1 << (HiveSqlParser.T_SECONDS - 224)) | (1 << (HiveSqlParser.T_SECURITY - 224)) | (1 << (HiveSqlParser.T_SEGMENT - 224)) | (1 << (HiveSqlParser.T_SEL - 224)) | (1 << (HiveSqlParser.T_SELECT - 224)) | (1 << (HiveSqlParser.T_SET - 224)) | (1 << (HiveSqlParser.T_SESSION - 224)) | (1 << (HiveSqlParser.T_SESSIONS - 224)) | (1 << (HiveSqlParser.T_SETS - 224)) | (1 << (HiveSqlParser.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSqlParser.T_SIGNAL - 256)) | (1 << (HiveSqlParser.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSqlParser.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSqlParser.T_SMALLDATETIME - 256)) | (1 << (HiveSqlParser.T_SMALLINT - 256)) | (1 << (HiveSqlParser.T_SQL - 256)) | (1 << (HiveSqlParser.T_SQLEXCEPTION - 256)) | (1 << (HiveSqlParser.T_SQLINSERT - 256)) | (1 << (HiveSqlParser.T_SQLSTATE - 256)) | (1 << (HiveSqlParser.T_SQLWARNING - 256)) | (1 << (HiveSqlParser.T_STATS - 256)) | (1 << (HiveSqlParser.T_STATISTICS - 256)) | (1 << (HiveSqlParser.T_STEP - 256)) | (1 << (HiveSqlParser.T_STORAGE - 256)) | (1 << (HiveSqlParser.T_STORED - 256)) | (1 << (HiveSqlParser.T_STRING - 256)) | (1 << (HiveSqlParser.T_SUBDIR - 256)) | (1 << (HiveSqlParser.T_SUBSTRING - 256)) | (1 << (HiveSqlParser.T_SUM - 256)) | (1 << (HiveSqlParser.T_SUMMARY - 256)) | (1 << (HiveSqlParser.T_SYS_REFCURSOR - 256)) | (1 << (HiveSqlParser.T_TABLE - 256)) | (1 << (HiveSqlParser.T_TABLESPACE - 256)) | (1 << (HiveSqlParser.T_TEMPORARY - 256)) | (1 << (HiveSqlParser.T_TERMINATED - 256)) | (1 << (HiveSqlParser.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSqlParser.T_THEN - 256)) | (1 << (HiveSqlParser.T_TIMESTAMP - 256)) | (1 << (HiveSqlParser.T_TITLE - 256)) | (1 << (HiveSqlParser.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSqlParser.T_TOP - 288)) | (1 << (HiveSqlParser.T_TRANSACTION - 288)) | (1 << (HiveSqlParser.T_TRUE - 288)) | (1 << (HiveSqlParser.T_TRUNCATE - 288)) | (1 << (HiveSqlParser.T_UNIQUE - 288)) | (1 << (HiveSqlParser.T_UPDATE - 288)) | (1 << (HiveSqlParser.T_UR - 288)) | (1 << (HiveSqlParser.T_USE - 288)) | (1 << (HiveSqlParser.T_USING - 288)) | (1 << (HiveSqlParser.T_VALUE - 288)) | (1 << (HiveSqlParser.T_VALUES - 288)) | (1 << (HiveSqlParser.T_VAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR2 - 288)) | (1 << (HiveSqlParser.T_VARYING - 288)) | (1 << (HiveSqlParser.T_VOLATILE - 288)) | (1 << (HiveSqlParser.T_WHILE - 288)) | (1 << (HiveSqlParser.T_WITH - 288)) | (1 << (HiveSqlParser.T_WITHOUT - 288)) | (1 << (HiveSqlParser.T_WORK - 288)) | (1 << (HiveSqlParser.T_XACT_ABORT - 288)) | (1 << (HiveSqlParser.T_XML - 288)) | (1 << (HiveSqlParser.T_YES - 288)) | (1 << (HiveSqlParser.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSqlParser.T_CUME_DIST - 288)) | (1 << (HiveSqlParser.T_CURRENT_DATE - 288)) | (1 << (HiveSqlParser.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSqlParser.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSqlParser.T_DENSE_RANK - 320)) | (1 << (HiveSqlParser.T_FIRST_VALUE - 320)) | (1 << (HiveSqlParser.T_LAG - 320)) | (1 << (HiveSqlParser.T_LAST_VALUE - 320)) | (1 << (HiveSqlParser.T_LEAD - 320)) | (1 << (HiveSqlParser.T_PART_COUNT - 320)) | (1 << (HiveSqlParser.T_PART_LOC - 320)) | (1 << (HiveSqlParser.T_RANK - 320)) | (1 << (HiveSqlParser.T_ROW_NUMBER - 320)) | (1 << (HiveSqlParser.T_STDEV - 320)) | (1 << (HiveSqlParser.T_SYSDATE - 320)) | (1 << (HiveSqlParser.T_VARIANCE - 320)) | (1 << (HiveSqlParser.T_USER - 320)))) !== 0) || _la===HiveSqlParser.L_ID) { + while((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSql.T_ACTION) | (1 << HiveSql.T_ADD2) | (1 << HiveSql.T_ALL) | (1 << HiveSql.T_ALLOCATE) | (1 << HiveSql.T_ALTER) | (1 << HiveSql.T_AND) | (1 << HiveSql.T_ANSI_NULLS) | (1 << HiveSql.T_ANSI_PADDING) | (1 << HiveSql.T_AS) | (1 << HiveSql.T_ASC) | (1 << HiveSql.T_ASSOCIATE) | (1 << HiveSql.T_AT) | (1 << HiveSql.T_AUTO_INCREMENT) | (1 << HiveSql.T_AVG) | (1 << HiveSql.T_BATCHSIZE) | (1 << HiveSql.T_BEGIN) | (1 << HiveSql.T_BETWEEN) | (1 << HiveSql.T_BIGINT) | (1 << HiveSql.T_BINARY_DOUBLE) | (1 << HiveSql.T_BINARY_FLOAT) | (1 << HiveSql.T_BIT) | (1 << HiveSql.T_BODY) | (1 << HiveSql.T_BREAK) | (1 << HiveSql.T_BY) | (1 << HiveSql.T_BYTE) | (1 << HiveSql.T_CALL) | (1 << HiveSql.T_CALLER) | (1 << HiveSql.T_CASCADE) | (1 << HiveSql.T_CASE) | (1 << HiveSql.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSql.T_CAST - 32)) | (1 << (HiveSql.T_CHAR - 32)) | (1 << (HiveSql.T_CHARACTER - 32)) | (1 << (HiveSql.T_CHARSET - 32)) | (1 << (HiveSql.T_CLIENT - 32)) | (1 << (HiveSql.T_CLOSE - 32)) | (1 << (HiveSql.T_CLUSTERED - 32)) | (1 << (HiveSql.T_CMP - 32)) | (1 << (HiveSql.T_COLLECT - 32)) | (1 << (HiveSql.T_COLLECTION - 32)) | (1 << (HiveSql.T_COLUMN - 32)) | (1 << (HiveSql.T_COMMENT - 32)) | (1 << (HiveSql.T_CONSTANT - 32)) | (1 << (HiveSql.T_COMMIT - 32)) | (1 << (HiveSql.T_COMPRESS - 32)) | (1 << (HiveSql.T_CONCAT - 32)) | (1 << (HiveSql.T_CONDITION - 32)) | (1 << (HiveSql.T_CONSTRAINT - 32)) | (1 << (HiveSql.T_CONTINUE - 32)) | (1 << (HiveSql.T_COPY - 32)) | (1 << (HiveSql.T_COUNT - 32)) | (1 << (HiveSql.T_COUNT_BIG - 32)) | (1 << (HiveSql.T_CREATE - 32)) | (1 << (HiveSql.T_CREATION - 32)) | (1 << (HiveSql.T_CREATOR - 32)) | (1 << (HiveSql.T_CS - 32)) | (1 << (HiveSql.T_CURRENT - 32)) | (1 << (HiveSql.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSql.T_CURSOR - 32)) | (1 << (HiveSql.T_DATABASE - 32)) | (1 << (HiveSql.T_DATA - 32)) | (1 << (HiveSql.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSql.T_DATETIME - 64)) | (1 << (HiveSql.T_DAY - 64)) | (1 << (HiveSql.T_DAYS - 64)) | (1 << (HiveSql.T_DEC - 64)) | (1 << (HiveSql.T_DECIMAL - 64)) | (1 << (HiveSql.T_DECLARE - 64)) | (1 << (HiveSql.T_DEFAULT - 64)) | (1 << (HiveSql.T_DEFERRED - 64)) | (1 << (HiveSql.T_DEFINED - 64)) | (1 << (HiveSql.T_DEFINER - 64)) | (1 << (HiveSql.T_DEFINITION - 64)) | (1 << (HiveSql.T_DELETE - 64)) | (1 << (HiveSql.T_DELIMITED - 64)) | (1 << (HiveSql.T_DELIMITER - 64)) | (1 << (HiveSql.T_DESC - 64)) | (1 << (HiveSql.T_DESCRIBE - 64)) | (1 << (HiveSql.T_DIAGNOSTICS - 64)) | (1 << (HiveSql.T_DIR - 64)) | (1 << (HiveSql.T_DIRECTORY - 64)) | (1 << (HiveSql.T_DISTINCT - 64)) | (1 << (HiveSql.T_DISTRIBUTE - 64)) | (1 << (HiveSql.T_DO - 64)) | (1 << (HiveSql.T_DOUBLE - 64)) | (1 << (HiveSql.T_DROP - 64)) | (1 << (HiveSql.T_DYNAMIC - 64)) | (1 << (HiveSql.T_ENABLE - 64)) | (1 << (HiveSql.T_ENGINE - 64)) | (1 << (HiveSql.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSql.T_EXCEPT - 96)) | (1 << (HiveSql.T_EXEC - 96)) | (1 << (HiveSql.T_EXECUTE - 96)) | (1 << (HiveSql.T_EXCEPTION - 96)) | (1 << (HiveSql.T_EXCLUSIVE - 96)) | (1 << (HiveSql.T_EXISTS - 96)) | (1 << (HiveSql.T_EXIT - 96)) | (1 << (HiveSql.T_FALLBACK - 96)) | (1 << (HiveSql.T_FALSE - 96)) | (1 << (HiveSql.T_FETCH - 96)) | (1 << (HiveSql.T_FIELDS - 96)) | (1 << (HiveSql.T_FILE - 96)) | (1 << (HiveSql.T_FILES - 96)) | (1 << (HiveSql.T_FLOAT - 96)) | (1 << (HiveSql.T_FOR - 96)) | (1 << (HiveSql.T_FOREIGN - 96)) | (1 << (HiveSql.T_FORMAT - 96)) | (1 << (HiveSql.T_FOUND - 96)) | (1 << (HiveSql.T_FROM - 96)) | (1 << (HiveSql.T_FULL - 96)) | (1 << (HiveSql.T_FUNCTION - 96)) | (1 << (HiveSql.T_GET - 96)) | (1 << (HiveSql.T_GLOBAL - 96)) | (1 << (HiveSql.T_GO - 96)) | (1 << (HiveSql.T_GRANT - 96)) | (1 << (HiveSql.T_GROUP - 96)) | (1 << (HiveSql.T_HANDLER - 96)) | (1 << (HiveSql.T_HASH - 96)) | (1 << (HiveSql.T_HAVING - 96)) | (1 << (HiveSql.T_HDFS - 96)) | (1 << (HiveSql.T_HIVE - 96)) | (1 << (HiveSql.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSql.T_IDENTITY - 128)) | (1 << (HiveSql.T_IF - 128)) | (1 << (HiveSql.T_IGNORE - 128)) | (1 << (HiveSql.T_IMMEDIATE - 128)) | (1 << (HiveSql.T_IN - 128)) | (1 << (HiveSql.T_INCLUDE - 128)) | (1 << (HiveSql.T_INDEX - 128)) | (1 << (HiveSql.T_INITRANS - 128)) | (1 << (HiveSql.T_INNER - 128)) | (1 << (HiveSql.T_INOUT - 128)) | (1 << (HiveSql.T_INSERT - 128)) | (1 << (HiveSql.T_INT - 128)) | (1 << (HiveSql.T_INT2 - 128)) | (1 << (HiveSql.T_INT4 - 128)) | (1 << (HiveSql.T_INT8 - 128)) | (1 << (HiveSql.T_INTEGER - 128)) | (1 << (HiveSql.T_INTERSECT - 128)) | (1 << (HiveSql.T_INTERVAL - 128)) | (1 << (HiveSql.T_INTO - 128)) | (1 << (HiveSql.T_INVOKER - 128)) | (1 << (HiveSql.T_IS - 128)) | (1 << (HiveSql.T_ISOPEN - 128)) | (1 << (HiveSql.T_ITEMS - 128)) | (1 << (HiveSql.T_JOIN - 128)) | (1 << (HiveSql.T_KEEP - 128)) | (1 << (HiveSql.T_KEY - 128)) | (1 << (HiveSql.T_KEYS - 128)) | (1 << (HiveSql.T_LANGUAGE - 128)) | (1 << (HiveSql.T_LEAVE - 128)) | (1 << (HiveSql.T_LEFT - 128)) | (1 << (HiveSql.T_LIKE - 128)) | (1 << (HiveSql.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSql.T_LINES - 160)) | (1 << (HiveSql.T_LOCAL - 160)) | (1 << (HiveSql.T_LOCATION - 160)) | (1 << (HiveSql.T_LOCATOR - 160)) | (1 << (HiveSql.T_LOCATORS - 160)) | (1 << (HiveSql.T_LOCKS - 160)) | (1 << (HiveSql.T_LOG - 160)) | (1 << (HiveSql.T_LOGGED - 160)) | (1 << (HiveSql.T_LOGGING - 160)) | (1 << (HiveSql.T_LOOP - 160)) | (1 << (HiveSql.T_MAP - 160)) | (1 << (HiveSql.T_MATCHED - 160)) | (1 << (HiveSql.T_MAX - 160)) | (1 << (HiveSql.T_MAXTRANS - 160)) | (1 << (HiveSql.T_MERGE - 160)) | (1 << (HiveSql.T_MESSAGE_TEXT - 160)) | (1 << (HiveSql.T_MICROSECOND - 160)) | (1 << (HiveSql.T_MICROSECONDS - 160)) | (1 << (HiveSql.T_MIN - 160)) | (1 << (HiveSql.T_MULTISET - 160)) | (1 << (HiveSql.T_NCHAR - 160)) | (1 << (HiveSql.T_NEW - 160)) | (1 << (HiveSql.T_NVARCHAR - 160)) | (1 << (HiveSql.T_NO - 160)) | (1 << (HiveSql.T_NOCOUNT - 160)) | (1 << (HiveSql.T_NOCOMPRESS - 160)) | (1 << (HiveSql.T_NOLOGGING - 160)) | (1 << (HiveSql.T_NONE - 160)) | (1 << (HiveSql.T_NOT - 160)) | (1 << (HiveSql.T_NOTFOUND - 160)) | (1 << (HiveSql.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSql.T_NUMBER - 192)) | (1 << (HiveSql.T_OBJECT - 192)) | (1 << (HiveSql.T_OFF - 192)) | (1 << (HiveSql.T_ON - 192)) | (1 << (HiveSql.T_ONLY - 192)) | (1 << (HiveSql.T_OPEN - 192)) | (1 << (HiveSql.T_OR - 192)) | (1 << (HiveSql.T_ORDER - 192)) | (1 << (HiveSql.T_OUT - 192)) | (1 << (HiveSql.T_OUTER - 192)) | (1 << (HiveSql.T_OVER - 192)) | (1 << (HiveSql.T_OVERWRITE - 192)) | (1 << (HiveSql.T_OWNER - 192)) | (1 << (HiveSql.T_PACKAGE - 192)) | (1 << (HiveSql.T_PARTITION - 192)) | (1 << (HiveSql.T_PCTFREE - 192)) | (1 << (HiveSql.T_PCTUSED - 192)) | (1 << (HiveSql.T_PRECISION - 192)) | (1 << (HiveSql.T_PRESERVE - 192)) | (1 << (HiveSql.T_PRIMARY - 192)) | (1 << (HiveSql.T_PRINT - 192)) | (1 << (HiveSql.T_PROC - 192)) | (1 << (HiveSql.T_PROCEDURE - 192)) | (1 << (HiveSql.T_QUALIFY - 192)) | (1 << (HiveSql.T_QUERY_BAND - 192)) | (1 << (HiveSql.T_QUIT - 192)) | (1 << (HiveSql.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSql.T_RAISE - 192)) | (1 << (HiveSql.T_REAL - 192)) | (1 << (HiveSql.T_REFERENCES - 192)) | (1 << (HiveSql.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSql.T_REPLACE - 224)) | (1 << (HiveSql.T_RESIGNAL - 224)) | (1 << (HiveSql.T_RESTRICT - 224)) | (1 << (HiveSql.T_RESULT - 224)) | (1 << (HiveSql.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSql.T_RETURN - 224)) | (1 << (HiveSql.T_RETURNS - 224)) | (1 << (HiveSql.T_REVERSE - 224)) | (1 << (HiveSql.T_RIGHT - 224)) | (1 << (HiveSql.T_RLIKE - 224)) | (1 << (HiveSql.T_ROLE - 224)) | (1 << (HiveSql.T_ROLLBACK - 224)) | (1 << (HiveSql.T_ROW - 224)) | (1 << (HiveSql.T_ROWS - 224)) | (1 << (HiveSql.T_ROW_COUNT - 224)) | (1 << (HiveSql.T_RR - 224)) | (1 << (HiveSql.T_RS - 224)) | (1 << (HiveSql.T_PWD - 224)) | (1 << (HiveSql.T_TRIM - 224)) | (1 << (HiveSql.T_SCHEMA - 224)) | (1 << (HiveSql.T_SECOND - 224)) | (1 << (HiveSql.T_SECONDS - 224)) | (1 << (HiveSql.T_SECURITY - 224)) | (1 << (HiveSql.T_SEGMENT - 224)) | (1 << (HiveSql.T_SEL - 224)) | (1 << (HiveSql.T_SELECT - 224)) | (1 << (HiveSql.T_SET - 224)) | (1 << (HiveSql.T_SESSION - 224)) | (1 << (HiveSql.T_SESSIONS - 224)) | (1 << (HiveSql.T_SETS - 224)) | (1 << (HiveSql.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSql.T_SIGNAL - 256)) | (1 << (HiveSql.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSql.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSql.T_SMALLDATETIME - 256)) | (1 << (HiveSql.T_SMALLINT - 256)) | (1 << (HiveSql.T_SQL - 256)) | (1 << (HiveSql.T_SQLEXCEPTION - 256)) | (1 << (HiveSql.T_SQLINSERT - 256)) | (1 << (HiveSql.T_SQLSTATE - 256)) | (1 << (HiveSql.T_SQLWARNING - 256)) | (1 << (HiveSql.T_STATS - 256)) | (1 << (HiveSql.T_STATISTICS - 256)) | (1 << (HiveSql.T_STEP - 256)) | (1 << (HiveSql.T_STORAGE - 256)) | (1 << (HiveSql.T_STORED - 256)) | (1 << (HiveSql.T_STRING - 256)) | (1 << (HiveSql.T_SUBDIR - 256)) | (1 << (HiveSql.T_SUBSTRING - 256)) | (1 << (HiveSql.T_SUM - 256)) | (1 << (HiveSql.T_SUMMARY - 256)) | (1 << (HiveSql.T_SYS_REFCURSOR - 256)) | (1 << (HiveSql.T_TABLE - 256)) | (1 << (HiveSql.T_TABLESPACE - 256)) | (1 << (HiveSql.T_TEMPORARY - 256)) | (1 << (HiveSql.T_TERMINATED - 256)) | (1 << (HiveSql.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSql.T_THEN - 256)) | (1 << (HiveSql.T_TIMESTAMP - 256)) | (1 << (HiveSql.T_TITLE - 256)) | (1 << (HiveSql.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSql.T_TOP - 288)) | (1 << (HiveSql.T_TRANSACTION - 288)) | (1 << (HiveSql.T_TRUE - 288)) | (1 << (HiveSql.T_TRUNCATE - 288)) | (1 << (HiveSql.T_UNIQUE - 288)) | (1 << (HiveSql.T_UPDATE - 288)) | (1 << (HiveSql.T_UR - 288)) | (1 << (HiveSql.T_USE - 288)) | (1 << (HiveSql.T_USING - 288)) | (1 << (HiveSql.T_VALUE - 288)) | (1 << (HiveSql.T_VALUES - 288)) | (1 << (HiveSql.T_VAR - 288)) | (1 << (HiveSql.T_VARCHAR - 288)) | (1 << (HiveSql.T_VARCHAR2 - 288)) | (1 << (HiveSql.T_VARYING - 288)) | (1 << (HiveSql.T_VOLATILE - 288)) | (1 << (HiveSql.T_WHILE - 288)) | (1 << (HiveSql.T_WITH - 288)) | (1 << (HiveSql.T_WITHOUT - 288)) | (1 << (HiveSql.T_WORK - 288)) | (1 << (HiveSql.T_XACT_ABORT - 288)) | (1 << (HiveSql.T_XML - 288)) | (1 << (HiveSql.T_YES - 288)) | (1 << (HiveSql.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSql.T_CUME_DIST - 288)) | (1 << (HiveSql.T_CURRENT_DATE - 288)) | (1 << (HiveSql.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSql.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSql.T_DENSE_RANK - 320)) | (1 << (HiveSql.T_FIRST_VALUE - 320)) | (1 << (HiveSql.T_LAG - 320)) | (1 << (HiveSql.T_LAST_VALUE - 320)) | (1 << (HiveSql.T_LEAD - 320)) | (1 << (HiveSql.T_PART_COUNT - 320)) | (1 << (HiveSql.T_PART_LOC - 320)) | (1 << (HiveSql.T_RANK - 320)) | (1 << (HiveSql.T_ROW_NUMBER - 320)) | (1 << (HiveSql.T_STDEV - 320)) | (1 << (HiveSql.T_SYSDATE - 320)) | (1 << (HiveSql.T_VARIANCE - 320)) | (1 << (HiveSql.T_USER - 320)))) !== 0) || _la===HiveSql.L_ID) { this.state = 1495; this.package_body_item(); this.state = 1496; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); this.state = 1502; this._errHandler.sync(this); _la = this._input.LA(1); @@ -14546,7 +14546,7 @@ function Package_body_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_package_body_item; + this.ruleIndex = HiveSql.RULE_package_body_item; return this; } @@ -14566,19 +14566,19 @@ Package_body_itemContext.prototype.create_procedure_stmt = function() { }; Package_body_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterPackage_body_item(this); } }; Package_body_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitPackage_body_item(this); } }; Package_body_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitPackage_body_item(this); } else { return visitor.visitChildren(this); @@ -14588,12 +14588,12 @@ Package_body_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Package_body_itemContext = Package_body_itemContext; +HiveSql.Package_body_itemContext = Package_body_itemContext; -HiveSqlParser.prototype.package_body_item = function() { +HiveSql.prototype.package_body_item = function() { var localctx = new Package_body_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 144, HiveSqlParser.RULE_package_body_item); + this.enterRule(localctx, 144, HiveSql.RULE_package_body_item); try { this.state = 1506; this._errHandler.sync(this); @@ -14642,7 +14642,7 @@ function Create_procedure_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_procedure_stmt; + this.ruleIndex = HiveSql.RULE_create_procedure_stmt; return this; } @@ -14665,23 +14665,23 @@ Create_procedure_stmtContext.prototype.proc_block = function() { }; Create_procedure_stmtContext.prototype.T_PROCEDURE = function() { - return this.getToken(HiveSqlParser.T_PROCEDURE, 0); + return this.getToken(HiveSql.T_PROCEDURE, 0); }; Create_procedure_stmtContext.prototype.T_PROC = function() { - return this.getToken(HiveSqlParser.T_PROC, 0); + return this.getToken(HiveSql.T_PROC, 0); }; Create_procedure_stmtContext.prototype.T_ALTER = function() { - return this.getToken(HiveSqlParser.T_ALTER, 0); + return this.getToken(HiveSql.T_ALTER, 0); }; Create_procedure_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_procedure_stmtContext.prototype.T_REPLACE = function() { - return this.getToken(HiveSqlParser.T_REPLACE, 0); + return this.getToken(HiveSql.T_REPLACE, 0); }; Create_procedure_stmtContext.prototype.create_routine_params = function() { @@ -14701,35 +14701,35 @@ Create_procedure_stmtContext.prototype.label = function() { }; Create_procedure_stmtContext.prototype.T_SEMICOLON = function() { - return this.getToken(HiveSqlParser.T_SEMICOLON, 0); + return this.getToken(HiveSql.T_SEMICOLON, 0); }; Create_procedure_stmtContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Create_procedure_stmtContext.prototype.T_IS = function() { - return this.getToken(HiveSqlParser.T_IS, 0); + return this.getToken(HiveSql.T_IS, 0); }; Create_procedure_stmtContext.prototype.T_OR = function() { - return this.getToken(HiveSqlParser.T_OR, 0); + return this.getToken(HiveSql.T_OR, 0); }; Create_procedure_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_procedure_stmt(this); } }; Create_procedure_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_procedure_stmt(this); } }; Create_procedure_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_procedure_stmt(this); } else { return visitor.visitChildren(this); @@ -14739,49 +14739,49 @@ Create_procedure_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_procedure_stmtContext = Create_procedure_stmtContext; +HiveSql.Create_procedure_stmtContext = Create_procedure_stmtContext; -HiveSqlParser.prototype.create_procedure_stmt = function() { +HiveSql.prototype.create_procedure_stmt = function() { var localctx = new Create_procedure_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 146, HiveSqlParser.RULE_create_procedure_stmt); + this.enterRule(localctx, 146, HiveSql.RULE_create_procedure_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1515; this._errHandler.sync(this); switch (this._input.LA(1)) { - case HiveSqlParser.T_ALTER: + case HiveSql.T_ALTER: this.state = 1508; - this.match(HiveSqlParser.T_ALTER); + this.match(HiveSql.T_ALTER); break; - case HiveSqlParser.T_CREATE: + case HiveSql.T_CREATE: this.state = 1509; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 1512; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OR) { + if(_la===HiveSql.T_OR) { this.state = 1510; - this.match(HiveSqlParser.T_OR); + this.match(HiveSql.T_OR); this.state = 1511; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); } break; - case HiveSqlParser.T_REPLACE: + case HiveSql.T_REPLACE: this.state = 1514; - this.match(HiveSqlParser.T_REPLACE); + this.match(HiveSql.T_REPLACE); break; - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: break; default: break; } this.state = 1517; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_PROC || _la===HiveSqlParser.T_PROCEDURE)) { + if(!(_la===HiveSql.T_PROC || _la===HiveSql.T_PROCEDURE)) { this._errHandler.recoverInline(this); } else { @@ -14812,7 +14812,7 @@ HiveSqlParser.prototype.create_procedure_stmt = function() { if(la_===1) { this.state = 1525; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_AS || _la===HiveSqlParser.T_IS)) { + if(!(_la===HiveSql.T_AS || _la===HiveSql.T_IS)) { this._errHandler.recoverInline(this); } else { @@ -14846,7 +14846,7 @@ HiveSqlParser.prototype.create_procedure_stmt = function() { this.state = 1535; this.ident(); this.state = 1536; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); } } catch (re) { @@ -14873,7 +14873,7 @@ function Create_routine_paramsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_routine_params; + this.ruleIndex = HiveSql.RULE_create_routine_params; return this; } @@ -14881,11 +14881,11 @@ Create_routine_paramsContext.prototype = Object.create(antlr4.ParserRuleContext. Create_routine_paramsContext.prototype.constructor = Create_routine_paramsContext; Create_routine_paramsContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Create_routine_paramsContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Create_routine_paramsContext.prototype.create_routine_param_item = function(i) { @@ -14904,27 +14904,27 @@ Create_routine_paramsContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Create_routine_paramsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_routine_params(this); } }; Create_routine_paramsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_routine_params(this); } }; Create_routine_paramsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_routine_params(this); } else { return visitor.visitChildren(this); @@ -14934,12 +14934,12 @@ Create_routine_paramsContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_routine_paramsContext = Create_routine_paramsContext; +HiveSql.Create_routine_paramsContext = Create_routine_paramsContext; -HiveSqlParser.prototype.create_routine_params = function() { +HiveSql.prototype.create_routine_params = function() { var localctx = new Create_routine_paramsContext(this, this._ctx, this.state); - this.enterRule(localctx, 148, HiveSqlParser.RULE_create_routine_params); + this.enterRule(localctx, 148, HiveSql.RULE_create_routine_params); var _la = 0; // Token type try { this.state = 1562; @@ -14949,23 +14949,23 @@ HiveSqlParser.prototype.create_routine_params = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 1540; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1541; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 1542; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1543; this.create_routine_param_item(); this.state = 1548; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1544; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1545; this.create_routine_param_item(); this.state = 1550; @@ -14973,7 +14973,7 @@ HiveSqlParser.prototype.create_routine_params = function() { _la = this._input.LA(1); } this.state = 1551; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 3: @@ -14993,7 +14993,7 @@ HiveSqlParser.prototype.create_routine_params = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 1555; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1556; this.create_routine_param_item(); } @@ -15029,7 +15029,7 @@ function Create_routine_param_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_routine_param_item; + this.ruleIndex = HiveSql.RULE_create_routine_param_item; return this; } @@ -15045,15 +15045,15 @@ Create_routine_param_itemContext.prototype.dtype = function() { }; Create_routine_param_itemContext.prototype.T_IN = function() { - return this.getToken(HiveSqlParser.T_IN, 0); + return this.getToken(HiveSql.T_IN, 0); }; Create_routine_param_itemContext.prototype.T_OUT = function() { - return this.getToken(HiveSqlParser.T_OUT, 0); + return this.getToken(HiveSql.T_OUT, 0); }; Create_routine_param_itemContext.prototype.T_INOUT = function() { - return this.getToken(HiveSqlParser.T_INOUT, 0); + return this.getToken(HiveSql.T_INOUT, 0); }; Create_routine_param_itemContext.prototype.dtype_len = function() { @@ -15076,19 +15076,19 @@ Create_routine_param_itemContext.prototype.dtype_default = function() { }; Create_routine_param_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_routine_param_item(this); } }; Create_routine_param_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_routine_param_item(this); } }; Create_routine_param_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_routine_param_item(this); } else { return visitor.visitChildren(this); @@ -15098,12 +15098,12 @@ Create_routine_param_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_routine_param_itemContext = Create_routine_param_itemContext; +HiveSql.Create_routine_param_itemContext = Create_routine_param_itemContext; -HiveSqlParser.prototype.create_routine_param_item = function() { +HiveSql.prototype.create_routine_param_item = function() { var localctx = new Create_routine_param_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 150, HiveSqlParser.RULE_create_routine_param_item); + this.enterRule(localctx, 150, HiveSql.RULE_create_routine_param_item); try { this.state = 1606; this._errHandler.sync(this); @@ -15116,21 +15116,21 @@ HiveSqlParser.prototype.create_routine_param_item = function() { var la_ = this._interp.adaptivePredict(this._input,163,this._ctx); if(la_===1) { this.state = 1564; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); } else if(la_===2) { this.state = 1565; - this.match(HiveSqlParser.T_OUT); + this.match(HiveSql.T_OUT); } else if(la_===3) { this.state = 1566; - this.match(HiveSqlParser.T_INOUT); + this.match(HiveSql.T_INOUT); } else if(la_===4) { this.state = 1567; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); this.state = 1568; - this.match(HiveSqlParser.T_OUT); + this.match(HiveSql.T_OUT); } this.state = 1571; @@ -15177,21 +15177,21 @@ HiveSqlParser.prototype.create_routine_param_item = function() { var la_ = this._interp.adaptivePredict(this._input,167,this._ctx); if(la_===1) { this.state = 1586; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); } else if(la_===2) { this.state = 1587; - this.match(HiveSqlParser.T_OUT); + this.match(HiveSql.T_OUT); } else if(la_===3) { this.state = 1588; - this.match(HiveSqlParser.T_INOUT); + this.match(HiveSql.T_INOUT); } else if(la_===4) { this.state = 1589; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); this.state = 1590; - this.match(HiveSqlParser.T_OUT); + this.match(HiveSql.T_OUT); } this.state = 1593; @@ -15252,7 +15252,7 @@ function Create_routine_optionsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_routine_options; + this.ruleIndex = HiveSql.RULE_create_routine_options; return this; } @@ -15271,19 +15271,19 @@ Create_routine_optionsContext.prototype.create_routine_option = function(i) { }; Create_routine_optionsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_routine_options(this); } }; Create_routine_optionsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_routine_options(this); } }; Create_routine_optionsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_routine_options(this); } else { return visitor.visitChildren(this); @@ -15293,12 +15293,12 @@ Create_routine_optionsContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_routine_optionsContext = Create_routine_optionsContext; +HiveSql.Create_routine_optionsContext = Create_routine_optionsContext; -HiveSqlParser.prototype.create_routine_options = function() { +HiveSql.prototype.create_routine_options = function() { var localctx = new Create_routine_optionsContext(this, this._ctx, this.state); - this.enterRule(localctx, 152, HiveSqlParser.RULE_create_routine_options); + this.enterRule(localctx, 152, HiveSql.RULE_create_routine_options); try { this.enterOuterAlt(localctx, 1); this.state = 1609; @@ -15341,7 +15341,7 @@ function Create_routine_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_routine_option; + this.ruleIndex = HiveSql.RULE_create_routine_option; return this; } @@ -15349,63 +15349,63 @@ Create_routine_optionContext.prototype = Object.create(antlr4.ParserRuleContext. Create_routine_optionContext.prototype.constructor = Create_routine_optionContext; Create_routine_optionContext.prototype.T_LANGUAGE = function() { - return this.getToken(HiveSqlParser.T_LANGUAGE, 0); + return this.getToken(HiveSql.T_LANGUAGE, 0); }; Create_routine_optionContext.prototype.T_SQL = function() { - return this.getToken(HiveSqlParser.T_SQL, 0); + return this.getToken(HiveSql.T_SQL, 0); }; Create_routine_optionContext.prototype.T_SECURITY = function() { - return this.getToken(HiveSqlParser.T_SECURITY, 0); + return this.getToken(HiveSql.T_SECURITY, 0); }; Create_routine_optionContext.prototype.T_CREATOR = function() { - return this.getToken(HiveSqlParser.T_CREATOR, 0); + return this.getToken(HiveSql.T_CREATOR, 0); }; Create_routine_optionContext.prototype.T_DEFINER = function() { - return this.getToken(HiveSqlParser.T_DEFINER, 0); + return this.getToken(HiveSql.T_DEFINER, 0); }; Create_routine_optionContext.prototype.T_INVOKER = function() { - return this.getToken(HiveSqlParser.T_INVOKER, 0); + return this.getToken(HiveSql.T_INVOKER, 0); }; Create_routine_optionContext.prototype.T_OWNER = function() { - return this.getToken(HiveSqlParser.T_OWNER, 0); + return this.getToken(HiveSql.T_OWNER, 0); }; Create_routine_optionContext.prototype.T_RESULT = function() { - return this.getToken(HiveSqlParser.T_RESULT, 0); + return this.getToken(HiveSql.T_RESULT, 0); }; Create_routine_optionContext.prototype.T_SETS = function() { - return this.getToken(HiveSqlParser.T_SETS, 0); + return this.getToken(HiveSql.T_SETS, 0); }; Create_routine_optionContext.prototype.L_INT = function() { - return this.getToken(HiveSqlParser.L_INT, 0); + return this.getToken(HiveSql.L_INT, 0); }; Create_routine_optionContext.prototype.T_DYNAMIC = function() { - return this.getToken(HiveSqlParser.T_DYNAMIC, 0); + return this.getToken(HiveSql.T_DYNAMIC, 0); }; Create_routine_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_routine_option(this); } }; Create_routine_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_routine_option(this); } }; Create_routine_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_routine_option(this); } else { return visitor.visitChildren(this); @@ -15415,33 +15415,33 @@ Create_routine_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_routine_optionContext = Create_routine_optionContext; +HiveSql.Create_routine_optionContext = Create_routine_optionContext; -HiveSqlParser.prototype.create_routine_option = function() { +HiveSql.prototype.create_routine_option = function() { var localctx = new Create_routine_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 154, HiveSqlParser.RULE_create_routine_option); + this.enterRule(localctx, 154, HiveSql.RULE_create_routine_option); var _la = 0; // Token type try { this.state = 1624; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_LANGUAGE: + case HiveSql.T_LANGUAGE: this.enterOuterAlt(localctx, 1); this.state = 1613; - this.match(HiveSqlParser.T_LANGUAGE); + this.match(HiveSql.T_LANGUAGE); this.state = 1614; - this.match(HiveSqlParser.T_SQL); + this.match(HiveSql.T_SQL); break; - case HiveSqlParser.T_SQL: + case HiveSql.T_SQL: this.enterOuterAlt(localctx, 2); this.state = 1615; - this.match(HiveSqlParser.T_SQL); + this.match(HiveSql.T_SQL); this.state = 1616; - this.match(HiveSqlParser.T_SECURITY); + this.match(HiveSql.T_SECURITY); this.state = 1617; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_CREATOR || _la===HiveSqlParser.T_DEFINER || _la===HiveSqlParser.T_INVOKER || _la===HiveSqlParser.T_OWNER)) { + if(!(_la===HiveSql.T_CREATOR || _la===HiveSql.T_DEFINER || _la===HiveSql.T_INVOKER || _la===HiveSql.T_OWNER)) { this._errHandler.recoverInline(this); } else { @@ -15449,23 +15449,23 @@ HiveSqlParser.prototype.create_routine_option = function() { this.consume(); } break; - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_RESULT: + case HiveSql.T_DYNAMIC: + case HiveSql.T_RESULT: this.enterOuterAlt(localctx, 3); this.state = 1619; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_DYNAMIC) { + if(_la===HiveSql.T_DYNAMIC) { this.state = 1618; - this.match(HiveSqlParser.T_DYNAMIC); + this.match(HiveSql.T_DYNAMIC); } this.state = 1621; - this.match(HiveSqlParser.T_RESULT); + this.match(HiveSql.T_RESULT); this.state = 1622; - this.match(HiveSqlParser.T_SETS); + this.match(HiveSql.T_SETS); this.state = 1623; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); break; default: throw new antlr4.error.NoViableAltException(this); @@ -15494,7 +15494,7 @@ function Drop_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_drop_stmt; + this.ruleIndex = HiveSql.RULE_drop_stmt; return this; } @@ -15502,11 +15502,11 @@ Drop_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Drop_stmtContext.prototype.constructor = Drop_stmtContext; Drop_stmtContext.prototype.T_DROP = function() { - return this.getToken(HiveSqlParser.T_DROP, 0); + return this.getToken(HiveSql.T_DROP, 0); }; Drop_stmtContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Drop_stmtContext.prototype.table_name = function() { @@ -15514,11 +15514,11 @@ Drop_stmtContext.prototype.table_name = function() { }; Drop_stmtContext.prototype.T_IF = function() { - return this.getToken(HiveSqlParser.T_IF, 0); + return this.getToken(HiveSql.T_IF, 0); }; Drop_stmtContext.prototype.T_EXISTS = function() { - return this.getToken(HiveSqlParser.T_EXISTS, 0); + return this.getToken(HiveSql.T_EXISTS, 0); }; Drop_stmtContext.prototype.expr = function() { @@ -15526,27 +15526,27 @@ Drop_stmtContext.prototype.expr = function() { }; Drop_stmtContext.prototype.T_DATABASE = function() { - return this.getToken(HiveSqlParser.T_DATABASE, 0); + return this.getToken(HiveSql.T_DATABASE, 0); }; Drop_stmtContext.prototype.T_SCHEMA = function() { - return this.getToken(HiveSqlParser.T_SCHEMA, 0); + return this.getToken(HiveSql.T_SCHEMA, 0); }; Drop_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDrop_stmt(this); } }; Drop_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDrop_stmt(this); } }; Drop_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDrop_stmt(this); } else { return visitor.visitChildren(this); @@ -15556,12 +15556,12 @@ Drop_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Drop_stmtContext = Drop_stmtContext; +HiveSql.Drop_stmtContext = Drop_stmtContext; -HiveSqlParser.prototype.drop_stmt = function() { +HiveSql.prototype.drop_stmt = function() { var localctx = new Drop_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 156, HiveSqlParser.RULE_drop_stmt); + this.enterRule(localctx, 156, HiveSql.RULE_drop_stmt); var _la = 0; // Token type try { this.state = 1640; @@ -15571,17 +15571,17 @@ HiveSqlParser.prototype.drop_stmt = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 1626; - this.match(HiveSqlParser.T_DROP); + this.match(HiveSql.T_DROP); this.state = 1627; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); this.state = 1630; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,175,this._ctx); if(la_===1) { this.state = 1628; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); this.state = 1629; - this.match(HiveSqlParser.T_EXISTS); + this.match(HiveSql.T_EXISTS); } this.state = 1632; @@ -15591,10 +15591,10 @@ HiveSqlParser.prototype.drop_stmt = function() { case 2: this.enterOuterAlt(localctx, 2); this.state = 1633; - this.match(HiveSqlParser.T_DROP); + this.match(HiveSql.T_DROP); this.state = 1634; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DATABASE || _la===HiveSqlParser.T_SCHEMA)) { + if(!(_la===HiveSql.T_DATABASE || _la===HiveSql.T_SCHEMA)) { this._errHandler.recoverInline(this); } else { @@ -15606,9 +15606,9 @@ HiveSqlParser.prototype.drop_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,176,this._ctx); if(la_===1) { this.state = 1635; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); this.state = 1636; - this.match(HiveSqlParser.T_EXISTS); + this.match(HiveSql.T_EXISTS); } this.state = 1639; @@ -15640,7 +15640,7 @@ function End_transaction_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_end_transaction_stmt; + this.ruleIndex = HiveSql.RULE_end_transaction_stmt; return this; } @@ -15648,27 +15648,27 @@ End_transaction_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.p End_transaction_stmtContext.prototype.constructor = End_transaction_stmtContext; End_transaction_stmtContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; End_transaction_stmtContext.prototype.T_TRANSACTION = function() { - return this.getToken(HiveSqlParser.T_TRANSACTION, 0); + return this.getToken(HiveSql.T_TRANSACTION, 0); }; End_transaction_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterEnd_transaction_stmt(this); } }; End_transaction_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitEnd_transaction_stmt(this); } }; End_transaction_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitEnd_transaction_stmt(this); } else { return visitor.visitChildren(this); @@ -15678,18 +15678,18 @@ End_transaction_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.End_transaction_stmtContext = End_transaction_stmtContext; +HiveSql.End_transaction_stmtContext = End_transaction_stmtContext; -HiveSqlParser.prototype.end_transaction_stmt = function() { +HiveSql.prototype.end_transaction_stmt = function() { var localctx = new End_transaction_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 158, HiveSqlParser.RULE_end_transaction_stmt); + this.enterRule(localctx, 158, HiveSql.RULE_end_transaction_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1642; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); this.state = 1643; - this.match(HiveSqlParser.T_TRANSACTION); + this.match(HiveSql.T_TRANSACTION); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -15714,7 +15714,7 @@ function Exec_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_exec_stmt; + this.ruleIndex = HiveSql.RULE_exec_stmt; return this; } @@ -15726,19 +15726,19 @@ Exec_stmtContext.prototype.expr = function() { }; Exec_stmtContext.prototype.T_EXEC = function() { - return this.getToken(HiveSqlParser.T_EXEC, 0); + return this.getToken(HiveSql.T_EXEC, 0); }; Exec_stmtContext.prototype.T_EXECUTE = function() { - return this.getToken(HiveSqlParser.T_EXECUTE, 0); + return this.getToken(HiveSql.T_EXECUTE, 0); }; Exec_stmtContext.prototype.T_IMMEDIATE = function() { - return this.getToken(HiveSqlParser.T_IMMEDIATE, 0); + return this.getToken(HiveSql.T_IMMEDIATE, 0); }; Exec_stmtContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Exec_stmtContext.prototype.expr_func_params = function() { @@ -15746,11 +15746,11 @@ Exec_stmtContext.prototype.expr_func_params = function() { }; Exec_stmtContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Exec_stmtContext.prototype.T_INTO = function() { - return this.getToken(HiveSqlParser.T_INTO, 0); + return this.getToken(HiveSql.T_INTO, 0); }; Exec_stmtContext.prototype.L_ID = function(i) { @@ -15758,9 +15758,9 @@ Exec_stmtContext.prototype.L_ID = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.L_ID); + return this.getTokens(HiveSql.L_ID); } else { - return this.getToken(HiveSqlParser.L_ID, i); + return this.getToken(HiveSql.L_ID, i); } }; @@ -15774,27 +15774,27 @@ Exec_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Exec_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExec_stmt(this); } }; Exec_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExec_stmt(this); } }; Exec_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExec_stmt(this); } else { return visitor.visitChildren(this); @@ -15804,18 +15804,18 @@ Exec_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Exec_stmtContext = Exec_stmtContext; +HiveSql.Exec_stmtContext = Exec_stmtContext; -HiveSqlParser.prototype.exec_stmt = function() { +HiveSql.prototype.exec_stmt = function() { var localctx = new Exec_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 160, HiveSqlParser.RULE_exec_stmt); + this.enterRule(localctx, 160, HiveSql.RULE_exec_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1645; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_EXEC || _la===HiveSqlParser.T_EXECUTE)) { + if(!(_la===HiveSql.T_EXEC || _la===HiveSql.T_EXECUTE)) { this._errHandler.recoverInline(this); } else { @@ -15827,7 +15827,7 @@ HiveSqlParser.prototype.exec_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,178,this._ctx); if(la_===1) { this.state = 1646; - this.match(HiveSqlParser.T_IMMEDIATE); + this.match(HiveSql.T_IMMEDIATE); } this.state = 1649; @@ -15837,11 +15837,11 @@ HiveSqlParser.prototype.exec_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,179,this._ctx); if(la_===1) { this.state = 1650; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1651; this.expr_func_params(); this.state = 1652; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } else if(la_===2) { this.state = 1654; @@ -15853,18 +15853,18 @@ HiveSqlParser.prototype.exec_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,181,this._ctx); if(la_===1) { this.state = 1657; - this.match(HiveSqlParser.T_INTO); + this.match(HiveSql.T_INTO); this.state = 1658; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 1663; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,180,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 1659; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1660; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); } this.state = 1665; this._errHandler.sync(this); @@ -15905,7 +15905,7 @@ function If_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_if_stmt; + this.ruleIndex = HiveSql.RULE_if_stmt; return this; } @@ -15925,19 +15925,19 @@ If_stmtContext.prototype.if_bteq_stmt = function() { }; If_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterIf_stmt(this); } }; If_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitIf_stmt(this); } }; If_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitIf_stmt(this); } else { return visitor.visitChildren(this); @@ -15947,12 +15947,12 @@ If_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.If_stmtContext = If_stmtContext; +HiveSql.If_stmtContext = If_stmtContext; -HiveSqlParser.prototype.if_stmt = function() { +HiveSql.prototype.if_stmt = function() { var localctx = new If_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 162, HiveSqlParser.RULE_if_stmt); + this.enterRule(localctx, 162, HiveSql.RULE_if_stmt); try { this.state = 1674; this._errHandler.sync(this); @@ -16001,7 +16001,7 @@ function If_plsql_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_if_plsql_stmt; + this.ruleIndex = HiveSql.RULE_if_plsql_stmt; return this; } @@ -16013,9 +16013,9 @@ If_plsql_stmtContext.prototype.T_IF = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_IF); + return this.getTokens(HiveSql.T_IF); } else { - return this.getToken(HiveSqlParser.T_IF, i); + return this.getToken(HiveSql.T_IF, i); } }; @@ -16025,7 +16025,7 @@ If_plsql_stmtContext.prototype.bool_expr = function() { }; If_plsql_stmtContext.prototype.T_THEN = function() { - return this.getToken(HiveSqlParser.T_THEN, 0); + return this.getToken(HiveSql.T_THEN, 0); }; If_plsql_stmtContext.prototype.block = function() { @@ -16033,7 +16033,7 @@ If_plsql_stmtContext.prototype.block = function() { }; If_plsql_stmtContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; If_plsql_stmtContext.prototype.elseif_block = function(i) { @@ -16052,19 +16052,19 @@ If_plsql_stmtContext.prototype.else_block = function() { }; If_plsql_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterIf_plsql_stmt(this); } }; If_plsql_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitIf_plsql_stmt(this); } }; If_plsql_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitIf_plsql_stmt(this); } else { return visitor.visitChildren(this); @@ -16074,27 +16074,27 @@ If_plsql_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.If_plsql_stmtContext = If_plsql_stmtContext; +HiveSql.If_plsql_stmtContext = If_plsql_stmtContext; -HiveSqlParser.prototype.if_plsql_stmt = function() { +HiveSql.prototype.if_plsql_stmt = function() { var localctx = new If_plsql_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 164, HiveSqlParser.RULE_if_plsql_stmt); + this.enterRule(localctx, 164, HiveSql.RULE_if_plsql_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1676; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); this.state = 1677; this.bool_expr(0); this.state = 1678; - this.match(HiveSqlParser.T_THEN); + this.match(HiveSql.T_THEN); this.state = 1679; this.block(); this.state = 1683; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_ELSEIF || _la===HiveSqlParser.T_ELSIF) { + while(_la===HiveSql.T_ELSEIF || _la===HiveSql.T_ELSIF) { this.state = 1680; this.elseif_block(); this.state = 1685; @@ -16104,15 +16104,15 @@ HiveSqlParser.prototype.if_plsql_stmt = function() { this.state = 1687; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ELSE) { + if(_la===HiveSql.T_ELSE) { this.state = 1686; this.else_block(); } this.state = 1689; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); this.state = 1690; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -16137,7 +16137,7 @@ function If_tsql_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_if_tsql_stmt; + this.ruleIndex = HiveSql.RULE_if_tsql_stmt; return this; } @@ -16145,7 +16145,7 @@ If_tsql_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype If_tsql_stmtContext.prototype.constructor = If_tsql_stmtContext; If_tsql_stmtContext.prototype.T_IF = function() { - return this.getToken(HiveSqlParser.T_IF, 0); + return this.getToken(HiveSql.T_IF, 0); }; If_tsql_stmtContext.prototype.bool_expr = function() { @@ -16164,23 +16164,23 @@ If_tsql_stmtContext.prototype.single_block_stmt = function(i) { }; If_tsql_stmtContext.prototype.T_ELSE = function() { - return this.getToken(HiveSqlParser.T_ELSE, 0); + return this.getToken(HiveSql.T_ELSE, 0); }; If_tsql_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterIf_tsql_stmt(this); } }; If_tsql_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitIf_tsql_stmt(this); } }; If_tsql_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitIf_tsql_stmt(this); } else { return visitor.visitChildren(this); @@ -16190,16 +16190,16 @@ If_tsql_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.If_tsql_stmtContext = If_tsql_stmtContext; +HiveSql.If_tsql_stmtContext = If_tsql_stmtContext; -HiveSqlParser.prototype.if_tsql_stmt = function() { +HiveSql.prototype.if_tsql_stmt = function() { var localctx = new If_tsql_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 166, HiveSqlParser.RULE_if_tsql_stmt); + this.enterRule(localctx, 166, HiveSql.RULE_if_tsql_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1692; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); this.state = 1693; this.bool_expr(0); this.state = 1694; @@ -16209,7 +16209,7 @@ HiveSqlParser.prototype.if_tsql_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,186,this._ctx); if(la_===1) { this.state = 1695; - this.match(HiveSqlParser.T_ELSE); + this.match(HiveSql.T_ELSE); this.state = 1696; this.single_block_stmt(); @@ -16238,7 +16238,7 @@ function If_bteq_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_if_bteq_stmt; + this.ruleIndex = HiveSql.RULE_if_bteq_stmt; return this; } @@ -16246,11 +16246,11 @@ If_bteq_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype If_bteq_stmtContext.prototype.constructor = If_bteq_stmtContext; If_bteq_stmtContext.prototype.T_DOT = function() { - return this.getToken(HiveSqlParser.T_DOT, 0); + return this.getToken(HiveSql.T_DOT, 0); }; If_bteq_stmtContext.prototype.T_IF = function() { - return this.getToken(HiveSqlParser.T_IF, 0); + return this.getToken(HiveSql.T_IF, 0); }; If_bteq_stmtContext.prototype.bool_expr = function() { @@ -16258,7 +16258,7 @@ If_bteq_stmtContext.prototype.bool_expr = function() { }; If_bteq_stmtContext.prototype.T_THEN = function() { - return this.getToken(HiveSqlParser.T_THEN, 0); + return this.getToken(HiveSql.T_THEN, 0); }; If_bteq_stmtContext.prototype.single_block_stmt = function() { @@ -16266,19 +16266,19 @@ If_bteq_stmtContext.prototype.single_block_stmt = function() { }; If_bteq_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterIf_bteq_stmt(this); } }; If_bteq_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitIf_bteq_stmt(this); } }; If_bteq_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitIf_bteq_stmt(this); } else { return visitor.visitChildren(this); @@ -16288,22 +16288,22 @@ If_bteq_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.If_bteq_stmtContext = If_bteq_stmtContext; +HiveSql.If_bteq_stmtContext = If_bteq_stmtContext; -HiveSqlParser.prototype.if_bteq_stmt = function() { +HiveSql.prototype.if_bteq_stmt = function() { var localctx = new If_bteq_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 168, HiveSqlParser.RULE_if_bteq_stmt); + this.enterRule(localctx, 168, HiveSql.RULE_if_bteq_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1699; - this.match(HiveSqlParser.T_DOT); + this.match(HiveSql.T_DOT); this.state = 1700; - this.match(HiveSqlParser.T_IF); + this.match(HiveSql.T_IF); this.state = 1701; this.bool_expr(0); this.state = 1702; - this.match(HiveSqlParser.T_THEN); + this.match(HiveSql.T_THEN); this.state = 1703; this.single_block_stmt(); } catch (re) { @@ -16330,7 +16330,7 @@ function Elseif_blockContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_elseif_block; + this.ruleIndex = HiveSql.RULE_elseif_block; return this; } @@ -16342,7 +16342,7 @@ Elseif_blockContext.prototype.bool_expr = function() { }; Elseif_blockContext.prototype.T_THEN = function() { - return this.getToken(HiveSqlParser.T_THEN, 0); + return this.getToken(HiveSql.T_THEN, 0); }; Elseif_blockContext.prototype.block = function() { @@ -16350,27 +16350,27 @@ Elseif_blockContext.prototype.block = function() { }; Elseif_blockContext.prototype.T_ELSIF = function() { - return this.getToken(HiveSqlParser.T_ELSIF, 0); + return this.getToken(HiveSql.T_ELSIF, 0); }; Elseif_blockContext.prototype.T_ELSEIF = function() { - return this.getToken(HiveSqlParser.T_ELSEIF, 0); + return this.getToken(HiveSql.T_ELSEIF, 0); }; Elseif_blockContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterElseif_block(this); } }; Elseif_blockContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitElseif_block(this); } }; Elseif_blockContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitElseif_block(this); } else { return visitor.visitChildren(this); @@ -16380,18 +16380,18 @@ Elseif_blockContext.prototype.accept = function(visitor) { -HiveSqlParser.Elseif_blockContext = Elseif_blockContext; +HiveSql.Elseif_blockContext = Elseif_blockContext; -HiveSqlParser.prototype.elseif_block = function() { +HiveSql.prototype.elseif_block = function() { var localctx = new Elseif_blockContext(this, this._ctx, this.state); - this.enterRule(localctx, 170, HiveSqlParser.RULE_elseif_block); + this.enterRule(localctx, 170, HiveSql.RULE_elseif_block); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1705; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ELSEIF || _la===HiveSqlParser.T_ELSIF)) { + if(!(_la===HiveSql.T_ELSEIF || _la===HiveSql.T_ELSIF)) { this._errHandler.recoverInline(this); } else { @@ -16401,7 +16401,7 @@ HiveSqlParser.prototype.elseif_block = function() { this.state = 1706; this.bool_expr(0); this.state = 1707; - this.match(HiveSqlParser.T_THEN); + this.match(HiveSql.T_THEN); this.state = 1708; this.block(); } catch (re) { @@ -16428,7 +16428,7 @@ function Else_blockContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_else_block; + this.ruleIndex = HiveSql.RULE_else_block; return this; } @@ -16436,7 +16436,7 @@ Else_blockContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Else_blockContext.prototype.constructor = Else_blockContext; Else_blockContext.prototype.T_ELSE = function() { - return this.getToken(HiveSqlParser.T_ELSE, 0); + return this.getToken(HiveSql.T_ELSE, 0); }; Else_blockContext.prototype.block = function() { @@ -16444,19 +16444,19 @@ Else_blockContext.prototype.block = function() { }; Else_blockContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterElse_block(this); } }; Else_blockContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitElse_block(this); } }; Else_blockContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitElse_block(this); } else { return visitor.visitChildren(this); @@ -16466,16 +16466,16 @@ Else_blockContext.prototype.accept = function(visitor) { -HiveSqlParser.Else_blockContext = Else_blockContext; +HiveSql.Else_blockContext = Else_blockContext; -HiveSqlParser.prototype.else_block = function() { +HiveSql.prototype.else_block = function() { var localctx = new Else_blockContext(this, this._ctx, this.state); - this.enterRule(localctx, 172, HiveSqlParser.RULE_else_block); + this.enterRule(localctx, 172, HiveSql.RULE_else_block); try { this.enterOuterAlt(localctx, 1); this.state = 1710; - this.match(HiveSqlParser.T_ELSE); + this.match(HiveSql.T_ELSE); this.state = 1711; this.block(); } catch (re) { @@ -16502,7 +16502,7 @@ function Include_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_include_stmt; + this.ruleIndex = HiveSql.RULE_include_stmt; return this; } @@ -16510,7 +16510,7 @@ Include_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Include_stmtContext.prototype.constructor = Include_stmtContext; Include_stmtContext.prototype.T_INCLUDE = function() { - return this.getToken(HiveSqlParser.T_INCLUDE, 0); + return this.getToken(HiveSql.T_INCLUDE, 0); }; Include_stmtContext.prototype.file_name = function() { @@ -16522,19 +16522,19 @@ Include_stmtContext.prototype.expr = function() { }; Include_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInclude_stmt(this); } }; Include_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInclude_stmt(this); } }; Include_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInclude_stmt(this); } else { return visitor.visitChildren(this); @@ -16544,16 +16544,16 @@ Include_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Include_stmtContext = Include_stmtContext; +HiveSql.Include_stmtContext = Include_stmtContext; -HiveSqlParser.prototype.include_stmt = function() { +HiveSql.prototype.include_stmt = function() { var localctx = new Include_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 174, HiveSqlParser.RULE_include_stmt); + this.enterRule(localctx, 174, HiveSql.RULE_include_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1713; - this.match(HiveSqlParser.T_INCLUDE); + this.match(HiveSql.T_INCLUDE); this.state = 1716; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,187,this._ctx); @@ -16593,7 +16593,7 @@ function Insert_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_insert_stmt; + this.ruleIndex = HiveSql.RULE_insert_stmt; return this; } @@ -16601,7 +16601,7 @@ Insert_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Insert_stmtContext.prototype.constructor = Insert_stmtContext; Insert_stmtContext.prototype.T_INSERT = function() { - return this.getToken(HiveSqlParser.T_INSERT, 0); + return this.getToken(HiveSql.T_INSERT, 0); }; Insert_stmtContext.prototype.table_name = function() { @@ -16609,15 +16609,15 @@ Insert_stmtContext.prototype.table_name = function() { }; Insert_stmtContext.prototype.T_OVERWRITE = function() { - return this.getToken(HiveSqlParser.T_OVERWRITE, 0); + return this.getToken(HiveSql.T_OVERWRITE, 0); }; Insert_stmtContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Insert_stmtContext.prototype.T_INTO = function() { - return this.getToken(HiveSqlParser.T_INTO, 0); + return this.getToken(HiveSql.T_INTO, 0); }; Insert_stmtContext.prototype.select_stmt = function() { @@ -16633,19 +16633,19 @@ Insert_stmtContext.prototype.insert_stmt_cols = function() { }; Insert_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInsert_stmt(this); } }; Insert_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInsert_stmt(this); } }; Insert_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInsert_stmt(this); } else { return visitor.visitChildren(this); @@ -16655,34 +16655,34 @@ Insert_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Insert_stmtContext = Insert_stmtContext; +HiveSql.Insert_stmtContext = Insert_stmtContext; -HiveSqlParser.prototype.insert_stmt = function() { +HiveSql.prototype.insert_stmt = function() { var localctx = new Insert_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 176, HiveSqlParser.RULE_insert_stmt); + this.enterRule(localctx, 176, HiveSql.RULE_insert_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1718; - this.match(HiveSqlParser.T_INSERT); + this.match(HiveSql.T_INSERT); this.state = 1725; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_OVERWRITE: + case HiveSql.T_OVERWRITE: this.state = 1719; - this.match(HiveSqlParser.T_OVERWRITE); + this.match(HiveSql.T_OVERWRITE); this.state = 1720; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); break; - case HiveSqlParser.T_INTO: + case HiveSql.T_INTO: this.state = 1721; - this.match(HiveSqlParser.T_INTO); + this.match(HiveSql.T_INTO); this.state = 1723; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,188,this._ctx); if(la_===1) { this.state = 1722; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); } break; @@ -16702,14 +16702,14 @@ HiveSqlParser.prototype.insert_stmt = function() { this.state = 1733; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_WITH: + case HiveSql.T_OPEN_P: this.state = 1731; this.select_stmt(); break; - case HiveSqlParser.T_VALUES: + case HiveSql.T_VALUES: this.state = 1732; this.insert_stmt_rows(); break; @@ -16740,7 +16740,7 @@ function Insert_stmt_colsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_insert_stmt_cols; + this.ruleIndex = HiveSql.RULE_insert_stmt_cols; return this; } @@ -16748,7 +16748,7 @@ Insert_stmt_colsContext.prototype = Object.create(antlr4.ParserRuleContext.proto Insert_stmt_colsContext.prototype.constructor = Insert_stmt_colsContext; Insert_stmt_colsContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Insert_stmt_colsContext.prototype.ident = function(i) { @@ -16763,7 +16763,7 @@ Insert_stmt_colsContext.prototype.ident = function(i) { }; Insert_stmt_colsContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Insert_stmt_colsContext.prototype.T_COMMA = function(i) { @@ -16771,27 +16771,27 @@ Insert_stmt_colsContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Insert_stmt_colsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInsert_stmt_cols(this); } }; Insert_stmt_colsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInsert_stmt_cols(this); } }; Insert_stmt_colsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInsert_stmt_cols(this); } else { return visitor.visitChildren(this); @@ -16801,25 +16801,25 @@ Insert_stmt_colsContext.prototype.accept = function(visitor) { -HiveSqlParser.Insert_stmt_colsContext = Insert_stmt_colsContext; +HiveSql.Insert_stmt_colsContext = Insert_stmt_colsContext; -HiveSqlParser.prototype.insert_stmt_cols = function() { +HiveSql.prototype.insert_stmt_cols = function() { var localctx = new Insert_stmt_colsContext(this, this._ctx, this.state); - this.enterRule(localctx, 178, HiveSqlParser.RULE_insert_stmt_cols); + this.enterRule(localctx, 178, HiveSql.RULE_insert_stmt_cols); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1735; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1736; this.ident(); this.state = 1741; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1737; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1738; this.ident(); this.state = 1743; @@ -16827,7 +16827,7 @@ HiveSqlParser.prototype.insert_stmt_cols = function() { _la = this._input.LA(1); } this.state = 1744; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -16852,7 +16852,7 @@ function Insert_stmt_rowsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_insert_stmt_rows; + this.ruleIndex = HiveSql.RULE_insert_stmt_rows; return this; } @@ -16860,7 +16860,7 @@ Insert_stmt_rowsContext.prototype = Object.create(antlr4.ParserRuleContext.proto Insert_stmt_rowsContext.prototype.constructor = Insert_stmt_rowsContext; Insert_stmt_rowsContext.prototype.T_VALUES = function() { - return this.getToken(HiveSqlParser.T_VALUES, 0); + return this.getToken(HiveSql.T_VALUES, 0); }; Insert_stmt_rowsContext.prototype.insert_stmt_row = function(i) { @@ -16879,27 +16879,27 @@ Insert_stmt_rowsContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Insert_stmt_rowsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInsert_stmt_rows(this); } }; Insert_stmt_rowsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInsert_stmt_rows(this); } }; Insert_stmt_rowsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInsert_stmt_rows(this); } else { return visitor.visitChildren(this); @@ -16909,16 +16909,16 @@ Insert_stmt_rowsContext.prototype.accept = function(visitor) { -HiveSqlParser.Insert_stmt_rowsContext = Insert_stmt_rowsContext; +HiveSql.Insert_stmt_rowsContext = Insert_stmt_rowsContext; -HiveSqlParser.prototype.insert_stmt_rows = function() { +HiveSql.prototype.insert_stmt_rows = function() { var localctx = new Insert_stmt_rowsContext(this, this._ctx, this.state); - this.enterRule(localctx, 180, HiveSqlParser.RULE_insert_stmt_rows); + this.enterRule(localctx, 180, HiveSql.RULE_insert_stmt_rows); try { this.enterOuterAlt(localctx, 1); this.state = 1746; - this.match(HiveSqlParser.T_VALUES); + this.match(HiveSql.T_VALUES); this.state = 1747; this.insert_stmt_row(); this.state = 1752; @@ -16927,7 +16927,7 @@ HiveSqlParser.prototype.insert_stmt_rows = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 1748; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1749; this.insert_stmt_row(); } @@ -16960,7 +16960,7 @@ function Insert_stmt_rowContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_insert_stmt_row; + this.ruleIndex = HiveSql.RULE_insert_stmt_row; return this; } @@ -16968,7 +16968,7 @@ Insert_stmt_rowContext.prototype = Object.create(antlr4.ParserRuleContext.protot Insert_stmt_rowContext.prototype.constructor = Insert_stmt_rowContext; Insert_stmt_rowContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Insert_stmt_rowContext.prototype.expr = function(i) { @@ -16983,7 +16983,7 @@ Insert_stmt_rowContext.prototype.expr = function(i) { }; Insert_stmt_rowContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Insert_stmt_rowContext.prototype.T_COMMA = function(i) { @@ -16991,27 +16991,27 @@ Insert_stmt_rowContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Insert_stmt_rowContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInsert_stmt_row(this); } }; Insert_stmt_rowContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInsert_stmt_row(this); } }; Insert_stmt_rowContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInsert_stmt_row(this); } else { return visitor.visitChildren(this); @@ -17021,25 +17021,25 @@ Insert_stmt_rowContext.prototype.accept = function(visitor) { -HiveSqlParser.Insert_stmt_rowContext = Insert_stmt_rowContext; +HiveSql.Insert_stmt_rowContext = Insert_stmt_rowContext; -HiveSqlParser.prototype.insert_stmt_row = function() { +HiveSql.prototype.insert_stmt_row = function() { var localctx = new Insert_stmt_rowContext(this, this._ctx, this.state); - this.enterRule(localctx, 182, HiveSqlParser.RULE_insert_stmt_row); + this.enterRule(localctx, 182, HiveSql.RULE_insert_stmt_row); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1755; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1756; this.expr(0); this.state = 1761; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1757; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1758; this.expr(0); this.state = 1763; @@ -17047,7 +17047,7 @@ HiveSqlParser.prototype.insert_stmt_row = function() { _la = this._input.LA(1); } this.state = 1764; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -17072,7 +17072,7 @@ function Insert_directory_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_insert_directory_stmt; + this.ruleIndex = HiveSql.RULE_insert_directory_stmt; return this; } @@ -17080,15 +17080,15 @@ Insert_directory_stmtContext.prototype = Object.create(antlr4.ParserRuleContext. Insert_directory_stmtContext.prototype.constructor = Insert_directory_stmtContext; Insert_directory_stmtContext.prototype.T_INSERT = function() { - return this.getToken(HiveSqlParser.T_INSERT, 0); + return this.getToken(HiveSql.T_INSERT, 0); }; Insert_directory_stmtContext.prototype.T_OVERWRITE = function() { - return this.getToken(HiveSqlParser.T_OVERWRITE, 0); + return this.getToken(HiveSql.T_OVERWRITE, 0); }; Insert_directory_stmtContext.prototype.T_DIRECTORY = function() { - return this.getToken(HiveSqlParser.T_DIRECTORY, 0); + return this.getToken(HiveSql.T_DIRECTORY, 0); }; Insert_directory_stmtContext.prototype.expr_file = function() { @@ -17100,23 +17100,23 @@ Insert_directory_stmtContext.prototype.expr_select = function() { }; Insert_directory_stmtContext.prototype.T_LOCAL = function() { - return this.getToken(HiveSqlParser.T_LOCAL, 0); + return this.getToken(HiveSql.T_LOCAL, 0); }; Insert_directory_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInsert_directory_stmt(this); } }; Insert_directory_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInsert_directory_stmt(this); } }; Insert_directory_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInsert_directory_stmt(this); } else { return visitor.visitChildren(this); @@ -17126,29 +17126,29 @@ Insert_directory_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Insert_directory_stmtContext = Insert_directory_stmtContext; +HiveSql.Insert_directory_stmtContext = Insert_directory_stmtContext; -HiveSqlParser.prototype.insert_directory_stmt = function() { +HiveSql.prototype.insert_directory_stmt = function() { var localctx = new Insert_directory_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 184, HiveSqlParser.RULE_insert_directory_stmt); + this.enterRule(localctx, 184, HiveSql.RULE_insert_directory_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1766; - this.match(HiveSqlParser.T_INSERT); + this.match(HiveSql.T_INSERT); this.state = 1767; - this.match(HiveSqlParser.T_OVERWRITE); + this.match(HiveSql.T_OVERWRITE); this.state = 1769; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_LOCAL) { + if(_la===HiveSql.T_LOCAL) { this.state = 1768; - this.match(HiveSqlParser.T_LOCAL); + this.match(HiveSql.T_LOCAL); } this.state = 1771; - this.match(HiveSqlParser.T_DIRECTORY); + this.match(HiveSql.T_DIRECTORY); this.state = 1772; this.expr_file(); this.state = 1773; @@ -17177,7 +17177,7 @@ function Exit_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_exit_stmt; + this.ruleIndex = HiveSql.RULE_exit_stmt; return this; } @@ -17185,15 +17185,15 @@ Exit_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Exit_stmtContext.prototype.constructor = Exit_stmtContext; Exit_stmtContext.prototype.T_EXIT = function() { - return this.getToken(HiveSqlParser.T_EXIT, 0); + return this.getToken(HiveSql.T_EXIT, 0); }; Exit_stmtContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; Exit_stmtContext.prototype.T_WHEN = function() { - return this.getToken(HiveSqlParser.T_WHEN, 0); + return this.getToken(HiveSql.T_WHEN, 0); }; Exit_stmtContext.prototype.bool_expr = function() { @@ -17201,19 +17201,19 @@ Exit_stmtContext.prototype.bool_expr = function() { }; Exit_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExit_stmt(this); } }; Exit_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExit_stmt(this); } }; Exit_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExit_stmt(this); } else { return visitor.visitChildren(this); @@ -17223,22 +17223,22 @@ Exit_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Exit_stmtContext = Exit_stmtContext; +HiveSql.Exit_stmtContext = Exit_stmtContext; -HiveSqlParser.prototype.exit_stmt = function() { +HiveSql.prototype.exit_stmt = function() { var localctx = new Exit_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 186, HiveSqlParser.RULE_exit_stmt); + this.enterRule(localctx, 186, HiveSql.RULE_exit_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1775; - this.match(HiveSqlParser.T_EXIT); + this.match(HiveSql.T_EXIT); this.state = 1777; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,196,this._ctx); if(la_===1) { this.state = 1776; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); } this.state = 1781; @@ -17246,7 +17246,7 @@ HiveSqlParser.prototype.exit_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,197,this._ctx); if(la_===1) { this.state = 1779; - this.match(HiveSqlParser.T_WHEN); + this.match(HiveSql.T_WHEN); this.state = 1780; this.bool_expr(0); @@ -17275,7 +17275,7 @@ function Get_diag_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_get_diag_stmt; + this.ruleIndex = HiveSql.RULE_get_diag_stmt; return this; } @@ -17283,11 +17283,11 @@ Get_diag_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Get_diag_stmtContext.prototype.constructor = Get_diag_stmtContext; Get_diag_stmtContext.prototype.T_GET = function() { - return this.getToken(HiveSqlParser.T_GET, 0); + return this.getToken(HiveSql.T_GET, 0); }; Get_diag_stmtContext.prototype.T_DIAGNOSTICS = function() { - return this.getToken(HiveSqlParser.T_DIAGNOSTICS, 0); + return this.getToken(HiveSql.T_DIAGNOSTICS, 0); }; Get_diag_stmtContext.prototype.get_diag_stmt_item = function() { @@ -17295,19 +17295,19 @@ Get_diag_stmtContext.prototype.get_diag_stmt_item = function() { }; Get_diag_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterGet_diag_stmt(this); } }; Get_diag_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitGet_diag_stmt(this); } }; Get_diag_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitGet_diag_stmt(this); } else { return visitor.visitChildren(this); @@ -17317,18 +17317,18 @@ Get_diag_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Get_diag_stmtContext = Get_diag_stmtContext; +HiveSql.Get_diag_stmtContext = Get_diag_stmtContext; -HiveSqlParser.prototype.get_diag_stmt = function() { +HiveSql.prototype.get_diag_stmt = function() { var localctx = new Get_diag_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 188, HiveSqlParser.RULE_get_diag_stmt); + this.enterRule(localctx, 188, HiveSql.RULE_get_diag_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1783; - this.match(HiveSqlParser.T_GET); + this.match(HiveSql.T_GET); this.state = 1784; - this.match(HiveSqlParser.T_DIAGNOSTICS); + this.match(HiveSql.T_DIAGNOSTICS); this.state = 1785; this.get_diag_stmt_item(); } catch (re) { @@ -17355,7 +17355,7 @@ function Get_diag_stmt_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_get_diag_stmt_item; + this.ruleIndex = HiveSql.RULE_get_diag_stmt_item; return this; } @@ -17371,19 +17371,19 @@ Get_diag_stmt_itemContext.prototype.get_diag_stmt_rowcount_item = function() { }; Get_diag_stmt_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterGet_diag_stmt_item(this); } }; Get_diag_stmt_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitGet_diag_stmt_item(this); } }; Get_diag_stmt_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitGet_diag_stmt_item(this); } else { return visitor.visitChildren(this); @@ -17393,12 +17393,12 @@ Get_diag_stmt_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Get_diag_stmt_itemContext = Get_diag_stmt_itemContext; +HiveSql.Get_diag_stmt_itemContext = Get_diag_stmt_itemContext; -HiveSqlParser.prototype.get_diag_stmt_item = function() { +HiveSql.prototype.get_diag_stmt_item = function() { var localctx = new Get_diag_stmt_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 190, HiveSqlParser.RULE_get_diag_stmt_item); + this.enterRule(localctx, 190, HiveSql.RULE_get_diag_stmt_item); try { this.state = 1789; this._errHandler.sync(this); @@ -17441,7 +17441,7 @@ function Get_diag_stmt_exception_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_get_diag_stmt_exception_item; + this.ruleIndex = HiveSql.RULE_get_diag_stmt_exception_item; return this; } @@ -17449,11 +17449,11 @@ Get_diag_stmt_exception_itemContext.prototype = Object.create(antlr4.ParserRuleC Get_diag_stmt_exception_itemContext.prototype.constructor = Get_diag_stmt_exception_itemContext; Get_diag_stmt_exception_itemContext.prototype.T_EXCEPTION = function() { - return this.getToken(HiveSqlParser.T_EXCEPTION, 0); + return this.getToken(HiveSql.T_EXCEPTION, 0); }; Get_diag_stmt_exception_itemContext.prototype.L_INT = function() { - return this.getToken(HiveSqlParser.L_INT, 0); + return this.getToken(HiveSql.L_INT, 0); }; Get_diag_stmt_exception_itemContext.prototype.ident = function() { @@ -17461,27 +17461,27 @@ Get_diag_stmt_exception_itemContext.prototype.ident = function() { }; Get_diag_stmt_exception_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Get_diag_stmt_exception_itemContext.prototype.T_MESSAGE_TEXT = function() { - return this.getToken(HiveSqlParser.T_MESSAGE_TEXT, 0); + return this.getToken(HiveSql.T_MESSAGE_TEXT, 0); }; Get_diag_stmt_exception_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterGet_diag_stmt_exception_item(this); } }; Get_diag_stmt_exception_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitGet_diag_stmt_exception_item(this); } }; Get_diag_stmt_exception_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitGet_diag_stmt_exception_item(this); } else { return visitor.visitChildren(this); @@ -17491,24 +17491,24 @@ Get_diag_stmt_exception_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Get_diag_stmt_exception_itemContext = Get_diag_stmt_exception_itemContext; +HiveSql.Get_diag_stmt_exception_itemContext = Get_diag_stmt_exception_itemContext; -HiveSqlParser.prototype.get_diag_stmt_exception_item = function() { +HiveSql.prototype.get_diag_stmt_exception_item = function() { var localctx = new Get_diag_stmt_exception_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 192, HiveSqlParser.RULE_get_diag_stmt_exception_item); + this.enterRule(localctx, 192, HiveSql.RULE_get_diag_stmt_exception_item); try { this.enterOuterAlt(localctx, 1); this.state = 1791; - this.match(HiveSqlParser.T_EXCEPTION); + this.match(HiveSql.T_EXCEPTION); this.state = 1792; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); this.state = 1793; this.ident(); this.state = 1794; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 1795; - this.match(HiveSqlParser.T_MESSAGE_TEXT); + this.match(HiveSql.T_MESSAGE_TEXT); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -17533,7 +17533,7 @@ function Get_diag_stmt_rowcount_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_get_diag_stmt_rowcount_item; + this.ruleIndex = HiveSql.RULE_get_diag_stmt_rowcount_item; return this; } @@ -17545,27 +17545,27 @@ Get_diag_stmt_rowcount_itemContext.prototype.ident = function() { }; Get_diag_stmt_rowcount_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Get_diag_stmt_rowcount_itemContext.prototype.T_ROW_COUNT = function() { - return this.getToken(HiveSqlParser.T_ROW_COUNT, 0); + return this.getToken(HiveSql.T_ROW_COUNT, 0); }; Get_diag_stmt_rowcount_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterGet_diag_stmt_rowcount_item(this); } }; Get_diag_stmt_rowcount_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitGet_diag_stmt_rowcount_item(this); } }; Get_diag_stmt_rowcount_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitGet_diag_stmt_rowcount_item(this); } else { return visitor.visitChildren(this); @@ -17575,20 +17575,20 @@ Get_diag_stmt_rowcount_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Get_diag_stmt_rowcount_itemContext = Get_diag_stmt_rowcount_itemContext; +HiveSql.Get_diag_stmt_rowcount_itemContext = Get_diag_stmt_rowcount_itemContext; -HiveSqlParser.prototype.get_diag_stmt_rowcount_item = function() { +HiveSql.prototype.get_diag_stmt_rowcount_item = function() { var localctx = new Get_diag_stmt_rowcount_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 194, HiveSqlParser.RULE_get_diag_stmt_rowcount_item); + this.enterRule(localctx, 194, HiveSql.RULE_get_diag_stmt_rowcount_item); try { this.enterOuterAlt(localctx, 1); this.state = 1797; this.ident(); this.state = 1798; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 1799; - this.match(HiveSqlParser.T_ROW_COUNT); + this.match(HiveSql.T_ROW_COUNT); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -17613,7 +17613,7 @@ function Grant_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_grant_stmt; + this.ruleIndex = HiveSql.RULE_grant_stmt; return this; } @@ -17621,7 +17621,7 @@ Grant_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Grant_stmtContext.prototype.constructor = Grant_stmtContext; Grant_stmtContext.prototype.T_GRANT = function() { - return this.getToken(HiveSqlParser.T_GRANT, 0); + return this.getToken(HiveSql.T_GRANT, 0); }; Grant_stmtContext.prototype.grant_stmt_item = function(i) { @@ -17636,11 +17636,11 @@ Grant_stmtContext.prototype.grant_stmt_item = function(i) { }; Grant_stmtContext.prototype.T_TO = function() { - return this.getToken(HiveSqlParser.T_TO, 0); + return this.getToken(HiveSql.T_TO, 0); }; Grant_stmtContext.prototype.T_ROLE = function() { - return this.getToken(HiveSqlParser.T_ROLE, 0); + return this.getToken(HiveSql.T_ROLE, 0); }; Grant_stmtContext.prototype.ident = function() { @@ -17652,27 +17652,27 @@ Grant_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Grant_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterGrant_stmt(this); } }; Grant_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitGrant_stmt(this); } }; Grant_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitGrant_stmt(this); } else { return visitor.visitChildren(this); @@ -17682,25 +17682,25 @@ Grant_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Grant_stmtContext = Grant_stmtContext; +HiveSql.Grant_stmtContext = Grant_stmtContext; -HiveSqlParser.prototype.grant_stmt = function() { +HiveSql.prototype.grant_stmt = function() { var localctx = new Grant_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 196, HiveSqlParser.RULE_grant_stmt); + this.enterRule(localctx, 196, HiveSql.RULE_grant_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1801; - this.match(HiveSqlParser.T_GRANT); + this.match(HiveSql.T_GRANT); this.state = 1802; this.grant_stmt_item(); this.state = 1807; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1803; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1804; this.grant_stmt_item(); this.state = 1809; @@ -17708,9 +17708,9 @@ HiveSqlParser.prototype.grant_stmt = function() { _la = this._input.LA(1); } this.state = 1810; - this.match(HiveSqlParser.T_TO); + this.match(HiveSql.T_TO); this.state = 1811; - this.match(HiveSqlParser.T_ROLE); + this.match(HiveSql.T_ROLE); this.state = 1812; this.ident(); } catch (re) { @@ -17737,7 +17737,7 @@ function Grant_stmt_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_grant_stmt_item; + this.ruleIndex = HiveSql.RULE_grant_stmt_item; return this; } @@ -17745,15 +17745,15 @@ Grant_stmt_itemContext.prototype = Object.create(antlr4.ParserRuleContext.protot Grant_stmt_itemContext.prototype.constructor = Grant_stmt_itemContext; Grant_stmt_itemContext.prototype.T_EXECUTE = function() { - return this.getToken(HiveSqlParser.T_EXECUTE, 0); + return this.getToken(HiveSql.T_EXECUTE, 0); }; Grant_stmt_itemContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Grant_stmt_itemContext.prototype.T_PROCEDURE = function() { - return this.getToken(HiveSqlParser.T_PROCEDURE, 0); + return this.getToken(HiveSql.T_PROCEDURE, 0); }; Grant_stmt_itemContext.prototype.ident = function() { @@ -17761,19 +17761,19 @@ Grant_stmt_itemContext.prototype.ident = function() { }; Grant_stmt_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterGrant_stmt_item(this); } }; Grant_stmt_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitGrant_stmt_item(this); } }; Grant_stmt_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitGrant_stmt_item(this); } else { return visitor.visitChildren(this); @@ -17783,20 +17783,20 @@ Grant_stmt_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Grant_stmt_itemContext = Grant_stmt_itemContext; +HiveSql.Grant_stmt_itemContext = Grant_stmt_itemContext; -HiveSqlParser.prototype.grant_stmt_item = function() { +HiveSql.prototype.grant_stmt_item = function() { var localctx = new Grant_stmt_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 198, HiveSqlParser.RULE_grant_stmt_item); + this.enterRule(localctx, 198, HiveSql.RULE_grant_stmt_item); try { this.enterOuterAlt(localctx, 1); this.state = 1814; - this.match(HiveSqlParser.T_EXECUTE); + this.match(HiveSql.T_EXECUTE); this.state = 1815; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 1816; - this.match(HiveSqlParser.T_PROCEDURE); + this.match(HiveSql.T_PROCEDURE); this.state = 1817; this.ident(); } catch (re) { @@ -17823,7 +17823,7 @@ function Leave_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_leave_stmt; + this.ruleIndex = HiveSql.RULE_leave_stmt; return this; } @@ -17831,27 +17831,27 @@ Leave_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Leave_stmtContext.prototype.constructor = Leave_stmtContext; Leave_stmtContext.prototype.T_LEAVE = function() { - return this.getToken(HiveSqlParser.T_LEAVE, 0); + return this.getToken(HiveSql.T_LEAVE, 0); }; Leave_stmtContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; Leave_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterLeave_stmt(this); } }; Leave_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitLeave_stmt(this); } }; Leave_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitLeave_stmt(this); } else { return visitor.visitChildren(this); @@ -17861,22 +17861,22 @@ Leave_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Leave_stmtContext = Leave_stmtContext; +HiveSql.Leave_stmtContext = Leave_stmtContext; -HiveSqlParser.prototype.leave_stmt = function() { +HiveSql.prototype.leave_stmt = function() { var localctx = new Leave_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 200, HiveSqlParser.RULE_leave_stmt); + this.enterRule(localctx, 200, HiveSql.RULE_leave_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1819; - this.match(HiveSqlParser.T_LEAVE); + this.match(HiveSql.T_LEAVE); this.state = 1821; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,200,this._ctx); if(la_===1) { this.state = 1820; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); } } catch (re) { @@ -17903,7 +17903,7 @@ function Map_object_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_map_object_stmt; + this.ruleIndex = HiveSql.RULE_map_object_stmt; return this; } @@ -17911,11 +17911,11 @@ Map_object_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.protot Map_object_stmtContext.prototype.constructor = Map_object_stmtContext; Map_object_stmtContext.prototype.T_MAP = function() { - return this.getToken(HiveSqlParser.T_MAP, 0); + return this.getToken(HiveSql.T_MAP, 0); }; Map_object_stmtContext.prototype.T_OBJECT = function() { - return this.getToken(HiveSqlParser.T_OBJECT, 0); + return this.getToken(HiveSql.T_OBJECT, 0); }; Map_object_stmtContext.prototype.expr = function(i) { @@ -17930,27 +17930,27 @@ Map_object_stmtContext.prototype.expr = function(i) { }; Map_object_stmtContext.prototype.T_TO = function() { - return this.getToken(HiveSqlParser.T_TO, 0); + return this.getToken(HiveSql.T_TO, 0); }; Map_object_stmtContext.prototype.T_AT = function() { - return this.getToken(HiveSqlParser.T_AT, 0); + return this.getToken(HiveSql.T_AT, 0); }; Map_object_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterMap_object_stmt(this); } }; Map_object_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitMap_object_stmt(this); } }; Map_object_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitMap_object_stmt(this); } else { return visitor.visitChildren(this); @@ -17960,18 +17960,18 @@ Map_object_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Map_object_stmtContext = Map_object_stmtContext; +HiveSql.Map_object_stmtContext = Map_object_stmtContext; -HiveSqlParser.prototype.map_object_stmt = function() { +HiveSql.prototype.map_object_stmt = function() { var localctx = new Map_object_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 202, HiveSqlParser.RULE_map_object_stmt); + this.enterRule(localctx, 202, HiveSql.RULE_map_object_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1823; - this.match(HiveSqlParser.T_MAP); + this.match(HiveSql.T_MAP); this.state = 1824; - this.match(HiveSqlParser.T_OBJECT); + this.match(HiveSql.T_OBJECT); this.state = 1825; this.expr(0); this.state = 1828; @@ -17979,7 +17979,7 @@ HiveSqlParser.prototype.map_object_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,201,this._ctx); if(la_===1) { this.state = 1826; - this.match(HiveSqlParser.T_TO); + this.match(HiveSql.T_TO); this.state = 1827; this.expr(0); @@ -17989,7 +17989,7 @@ HiveSqlParser.prototype.map_object_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,202,this._ctx); if(la_===1) { this.state = 1830; - this.match(HiveSqlParser.T_AT); + this.match(HiveSql.T_AT); this.state = 1831; this.expr(0); @@ -18018,7 +18018,7 @@ function Open_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_open_stmt; + this.ruleIndex = HiveSql.RULE_open_stmt; return this; } @@ -18026,15 +18026,15 @@ Open_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Open_stmtContext.prototype.constructor = Open_stmtContext; Open_stmtContext.prototype.T_OPEN = function() { - return this.getToken(HiveSqlParser.T_OPEN, 0); + return this.getToken(HiveSql.T_OPEN, 0); }; Open_stmtContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; Open_stmtContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Open_stmtContext.prototype.select_stmt = function() { @@ -18046,19 +18046,19 @@ Open_stmtContext.prototype.expr = function() { }; Open_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterOpen_stmt(this); } }; Open_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitOpen_stmt(this); } }; Open_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitOpen_stmt(this); } else { return visitor.visitChildren(this); @@ -18068,24 +18068,24 @@ Open_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Open_stmtContext = Open_stmtContext; +HiveSql.Open_stmtContext = Open_stmtContext; -HiveSqlParser.prototype.open_stmt = function() { +HiveSql.prototype.open_stmt = function() { var localctx = new Open_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 204, HiveSqlParser.RULE_open_stmt); + this.enterRule(localctx, 204, HiveSql.RULE_open_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1834; - this.match(HiveSqlParser.T_OPEN); + this.match(HiveSql.T_OPEN); this.state = 1835; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 1841; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,204,this._ctx); if(la_===1) { this.state = 1836; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 1839; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,203,this._ctx); @@ -18127,7 +18127,7 @@ function Fetch_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_fetch_stmt; + this.ruleIndex = HiveSql.RULE_fetch_stmt; return this; } @@ -18135,7 +18135,7 @@ Fetch_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Fetch_stmtContext.prototype.constructor = Fetch_stmtContext; Fetch_stmtContext.prototype.T_FETCH = function() { - return this.getToken(HiveSqlParser.T_FETCH, 0); + return this.getToken(HiveSql.T_FETCH, 0); }; Fetch_stmtContext.prototype.L_ID = function(i) { @@ -18143,19 +18143,19 @@ Fetch_stmtContext.prototype.L_ID = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.L_ID); + return this.getTokens(HiveSql.L_ID); } else { - return this.getToken(HiveSqlParser.L_ID, i); + return this.getToken(HiveSql.L_ID, i); } }; Fetch_stmtContext.prototype.T_INTO = function() { - return this.getToken(HiveSqlParser.T_INTO, 0); + return this.getToken(HiveSql.T_INTO, 0); }; Fetch_stmtContext.prototype.T_FROM = function() { - return this.getToken(HiveSqlParser.T_FROM, 0); + return this.getToken(HiveSql.T_FROM, 0); }; Fetch_stmtContext.prototype.T_COMMA = function(i) { @@ -18163,27 +18163,27 @@ Fetch_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Fetch_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFetch_stmt(this); } }; Fetch_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFetch_stmt(this); } }; Fetch_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFetch_stmt(this); } else { return visitor.visitChildren(this); @@ -18193,40 +18193,40 @@ Fetch_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Fetch_stmtContext = Fetch_stmtContext; +HiveSql.Fetch_stmtContext = Fetch_stmtContext; -HiveSqlParser.prototype.fetch_stmt = function() { +HiveSql.prototype.fetch_stmt = function() { var localctx = new Fetch_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 206, HiveSqlParser.RULE_fetch_stmt); + this.enterRule(localctx, 206, HiveSql.RULE_fetch_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1843; - this.match(HiveSqlParser.T_FETCH); + this.match(HiveSql.T_FETCH); this.state = 1845; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_FROM) { + if(_la===HiveSql.T_FROM) { this.state = 1844; - this.match(HiveSqlParser.T_FROM); + this.match(HiveSql.T_FROM); } this.state = 1847; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 1848; - this.match(HiveSqlParser.T_INTO); + this.match(HiveSql.T_INTO); this.state = 1849; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 1854; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,206,this._ctx) while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 1850; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1851; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); } this.state = 1856; this._errHandler.sync(this); @@ -18257,7 +18257,7 @@ function Collect_stats_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_collect_stats_stmt; + this.ruleIndex = HiveSql.RULE_collect_stats_stmt; return this; } @@ -18265,11 +18265,11 @@ Collect_stats_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.pro Collect_stats_stmtContext.prototype.constructor = Collect_stats_stmtContext; Collect_stats_stmtContext.prototype.T_COLLECT = function() { - return this.getToken(HiveSqlParser.T_COLLECT, 0); + return this.getToken(HiveSql.T_COLLECT, 0); }; Collect_stats_stmtContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Collect_stats_stmtContext.prototype.table_name = function() { @@ -18277,11 +18277,11 @@ Collect_stats_stmtContext.prototype.table_name = function() { }; Collect_stats_stmtContext.prototype.T_STATISTICS = function() { - return this.getToken(HiveSqlParser.T_STATISTICS, 0); + return this.getToken(HiveSql.T_STATISTICS, 0); }; Collect_stats_stmtContext.prototype.T_STATS = function() { - return this.getToken(HiveSqlParser.T_STATS, 0); + return this.getToken(HiveSql.T_STATS, 0); }; Collect_stats_stmtContext.prototype.collect_stats_clause = function() { @@ -18289,19 +18289,19 @@ Collect_stats_stmtContext.prototype.collect_stats_clause = function() { }; Collect_stats_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCollect_stats_stmt(this); } }; Collect_stats_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCollect_stats_stmt(this); } }; Collect_stats_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCollect_stats_stmt(this); } else { return visitor.visitChildren(this); @@ -18311,20 +18311,20 @@ Collect_stats_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Collect_stats_stmtContext = Collect_stats_stmtContext; +HiveSql.Collect_stats_stmtContext = Collect_stats_stmtContext; -HiveSqlParser.prototype.collect_stats_stmt = function() { +HiveSql.prototype.collect_stats_stmt = function() { var localctx = new Collect_stats_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 208, HiveSqlParser.RULE_collect_stats_stmt); + this.enterRule(localctx, 208, HiveSql.RULE_collect_stats_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1857; - this.match(HiveSqlParser.T_COLLECT); + this.match(HiveSql.T_COLLECT); this.state = 1858; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_STATS || _la===HiveSqlParser.T_STATISTICS)) { + if(!(_la===HiveSql.T_STATS || _la===HiveSql.T_STATISTICS)) { this._errHandler.recoverInline(this); } else { @@ -18332,7 +18332,7 @@ HiveSqlParser.prototype.collect_stats_stmt = function() { this.consume(); } this.state = 1859; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 1860; this.table_name(); this.state = 1862; @@ -18367,7 +18367,7 @@ function Collect_stats_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_collect_stats_clause; + this.ruleIndex = HiveSql.RULE_collect_stats_clause; return this; } @@ -18375,11 +18375,11 @@ Collect_stats_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.p Collect_stats_clauseContext.prototype.constructor = Collect_stats_clauseContext; Collect_stats_clauseContext.prototype.T_COLUMN = function() { - return this.getToken(HiveSqlParser.T_COLUMN, 0); + return this.getToken(HiveSql.T_COLUMN, 0); }; Collect_stats_clauseContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Collect_stats_clauseContext.prototype.ident = function(i) { @@ -18394,7 +18394,7 @@ Collect_stats_clauseContext.prototype.ident = function(i) { }; Collect_stats_clauseContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Collect_stats_clauseContext.prototype.T_COMMA = function(i) { @@ -18402,27 +18402,27 @@ Collect_stats_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Collect_stats_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCollect_stats_clause(this); } }; Collect_stats_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCollect_stats_clause(this); } }; Collect_stats_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCollect_stats_clause(this); } else { return visitor.visitChildren(this); @@ -18432,27 +18432,27 @@ Collect_stats_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Collect_stats_clauseContext = Collect_stats_clauseContext; +HiveSql.Collect_stats_clauseContext = Collect_stats_clauseContext; -HiveSqlParser.prototype.collect_stats_clause = function() { +HiveSql.prototype.collect_stats_clause = function() { var localctx = new Collect_stats_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 210, HiveSqlParser.RULE_collect_stats_clause); + this.enterRule(localctx, 210, HiveSql.RULE_collect_stats_clause); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1864; - this.match(HiveSqlParser.T_COLUMN); + this.match(HiveSql.T_COLUMN); this.state = 1865; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1866; this.ident(); this.state = 1871; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1867; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1868; this.ident(); this.state = 1873; @@ -18460,7 +18460,7 @@ HiveSqlParser.prototype.collect_stats_clause = function() { _la = this._input.LA(1); } this.state = 1874; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -18485,7 +18485,7 @@ function Close_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_close_stmt; + this.ruleIndex = HiveSql.RULE_close_stmt; return this; } @@ -18493,27 +18493,27 @@ Close_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Close_stmtContext.prototype.constructor = Close_stmtContext; Close_stmtContext.prototype.T_CLOSE = function() { - return this.getToken(HiveSqlParser.T_CLOSE, 0); + return this.getToken(HiveSql.T_CLOSE, 0); }; Close_stmtContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; Close_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterClose_stmt(this); } }; Close_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitClose_stmt(this); } }; Close_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitClose_stmt(this); } else { return visitor.visitChildren(this); @@ -18523,18 +18523,18 @@ Close_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Close_stmtContext = Close_stmtContext; +HiveSql.Close_stmtContext = Close_stmtContext; -HiveSqlParser.prototype.close_stmt = function() { +HiveSql.prototype.close_stmt = function() { var localctx = new Close_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 212, HiveSqlParser.RULE_close_stmt); + this.enterRule(localctx, 212, HiveSql.RULE_close_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1876; - this.match(HiveSqlParser.T_CLOSE); + this.match(HiveSql.T_CLOSE); this.state = 1877; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -18559,7 +18559,7 @@ function Cmp_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_cmp_stmt; + this.ruleIndex = HiveSql.RULE_cmp_stmt; return this; } @@ -18567,7 +18567,7 @@ Cmp_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Cmp_stmtContext.prototype.constructor = Cmp_stmtContext; Cmp_stmtContext.prototype.T_CMP = function() { - return this.getToken(HiveSqlParser.T_CMP, 0); + return this.getToken(HiveSql.T_CMP, 0); }; Cmp_stmtContext.prototype.cmp_source = function(i) { @@ -18582,31 +18582,31 @@ Cmp_stmtContext.prototype.cmp_source = function(i) { }; Cmp_stmtContext.prototype.T_COMMA = function() { - return this.getToken(HiveSqlParser.T_COMMA, 0); + return this.getToken(HiveSql.T_COMMA, 0); }; Cmp_stmtContext.prototype.T_ROW_COUNT = function() { - return this.getToken(HiveSqlParser.T_ROW_COUNT, 0); + return this.getToken(HiveSql.T_ROW_COUNT, 0); }; Cmp_stmtContext.prototype.T_SUM = function() { - return this.getToken(HiveSqlParser.T_SUM, 0); + return this.getToken(HiveSql.T_SUM, 0); }; Cmp_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCmp_stmt(this); } }; Cmp_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCmp_stmt(this); } }; Cmp_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCmp_stmt(this); } else { return visitor.visitChildren(this); @@ -18616,20 +18616,20 @@ Cmp_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Cmp_stmtContext = Cmp_stmtContext; +HiveSql.Cmp_stmtContext = Cmp_stmtContext; -HiveSqlParser.prototype.cmp_stmt = function() { +HiveSql.prototype.cmp_stmt = function() { var localctx = new Cmp_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 214, HiveSqlParser.RULE_cmp_stmt); + this.enterRule(localctx, 214, HiveSql.RULE_cmp_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1879; - this.match(HiveSqlParser.T_CMP); + this.match(HiveSql.T_CMP); this.state = 1880; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ROW_COUNT || _la===HiveSqlParser.T_SUM)) { + if(!(_la===HiveSql.T_ROW_COUNT || _la===HiveSql.T_SUM)) { this._errHandler.recoverInline(this); } else { @@ -18639,7 +18639,7 @@ HiveSqlParser.prototype.cmp_stmt = function() { this.state = 1881; this.cmp_source(); this.state = 1882; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1883; this.cmp_source(); } catch (re) { @@ -18666,7 +18666,7 @@ function Cmp_sourceContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_cmp_source; + this.ruleIndex = HiveSql.RULE_cmp_source; return this; } @@ -18678,7 +18678,7 @@ Cmp_sourceContext.prototype.table_name = function() { }; Cmp_sourceContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Cmp_sourceContext.prototype.select_stmt = function() { @@ -18686,11 +18686,11 @@ Cmp_sourceContext.prototype.select_stmt = function() { }; Cmp_sourceContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Cmp_sourceContext.prototype.T_AT = function() { - return this.getToken(HiveSqlParser.T_AT, 0); + return this.getToken(HiveSql.T_AT, 0); }; Cmp_sourceContext.prototype.ident = function() { @@ -18702,19 +18702,19 @@ Cmp_sourceContext.prototype.where_clause = function() { }; Cmp_sourceContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCmp_source(this); } }; Cmp_sourceContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCmp_source(this); } }; Cmp_sourceContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCmp_source(this); } else { return visitor.visitChildren(this); @@ -18724,336 +18724,336 @@ Cmp_sourceContext.prototype.accept = function(visitor) { -HiveSqlParser.Cmp_sourceContext = Cmp_sourceContext; +HiveSql.Cmp_sourceContext = Cmp_sourceContext; -HiveSqlParser.prototype.cmp_source = function() { +HiveSql.prototype.cmp_source = function() { var localctx = new Cmp_sourceContext(this, this._ctx, this.state); - this.enterRule(localctx, 216, HiveSqlParser.RULE_cmp_source); + this.enterRule(localctx, 216, HiveSql.RULE_cmp_source); try { this.enterOuterAlt(localctx, 1); this.state = 1893; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: this.state = 1885; this.table_name(); this.state = 1887; @@ -19065,13 +19065,13 @@ HiveSqlParser.prototype.cmp_source = function() { } break; - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_OPEN_P: this.state = 1889; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1890; this.select_stmt(); this.state = 1891; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; default: throw new antlr4.error.NoViableAltException(this); @@ -19081,7 +19081,7 @@ HiveSqlParser.prototype.cmp_source = function() { var la_ = this._interp.adaptivePredict(this._input,211,this._ctx); if(la_===1) { this.state = 1895; - this.match(HiveSqlParser.T_AT); + this.match(HiveSql.T_AT); this.state = 1896; this.ident(); @@ -19110,7 +19110,7 @@ function Copy_from_local_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_copy_from_local_stmt; + this.ruleIndex = HiveSql.RULE_copy_from_local_stmt; return this; } @@ -19118,15 +19118,15 @@ Copy_from_local_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.p Copy_from_local_stmtContext.prototype.constructor = Copy_from_local_stmtContext; Copy_from_local_stmtContext.prototype.T_COPY = function() { - return this.getToken(HiveSqlParser.T_COPY, 0); + return this.getToken(HiveSql.T_COPY, 0); }; Copy_from_local_stmtContext.prototype.T_FROM = function() { - return this.getToken(HiveSqlParser.T_FROM, 0); + return this.getToken(HiveSql.T_FROM, 0); }; Copy_from_local_stmtContext.prototype.T_LOCAL = function() { - return this.getToken(HiveSqlParser.T_LOCAL, 0); + return this.getToken(HiveSql.T_LOCAL, 0); }; Copy_from_local_stmtContext.prototype.copy_source = function(i) { @@ -19141,7 +19141,7 @@ Copy_from_local_stmtContext.prototype.copy_source = function(i) { }; Copy_from_local_stmtContext.prototype.T_TO = function() { - return this.getToken(HiveSqlParser.T_TO, 0); + return this.getToken(HiveSql.T_TO, 0); }; Copy_from_local_stmtContext.prototype.copy_target = function() { @@ -19153,9 +19153,9 @@ Copy_from_local_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; @@ -19172,19 +19172,19 @@ Copy_from_local_stmtContext.prototype.copy_file_option = function(i) { }; Copy_from_local_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCopy_from_local_stmt(this); } }; Copy_from_local_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCopy_from_local_stmt(this); } }; Copy_from_local_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCopy_from_local_stmt(this); } else { return visitor.visitChildren(this); @@ -19194,29 +19194,29 @@ Copy_from_local_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Copy_from_local_stmtContext = Copy_from_local_stmtContext; +HiveSql.Copy_from_local_stmtContext = Copy_from_local_stmtContext; -HiveSqlParser.prototype.copy_from_local_stmt = function() { +HiveSql.prototype.copy_from_local_stmt = function() { var localctx = new Copy_from_local_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 218, HiveSqlParser.RULE_copy_from_local_stmt); + this.enterRule(localctx, 218, HiveSql.RULE_copy_from_local_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1899; - this.match(HiveSqlParser.T_COPY); + this.match(HiveSql.T_COPY); this.state = 1900; - this.match(HiveSqlParser.T_FROM); + this.match(HiveSql.T_FROM); this.state = 1901; - this.match(HiveSqlParser.T_LOCAL); + this.match(HiveSql.T_LOCAL); this.state = 1902; this.copy_source(); this.state = 1907; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1903; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1904; this.copy_source(); this.state = 1909; @@ -19224,7 +19224,7 @@ HiveSqlParser.prototype.copy_from_local_stmt = function() { _la = this._input.LA(1); } this.state = 1910; - this.match(HiveSqlParser.T_TO); + this.match(HiveSql.T_TO); this.state = 1911; this.copy_target(); this.state = 1915; @@ -19264,7 +19264,7 @@ function Copy_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_copy_stmt; + this.ruleIndex = HiveSql.RULE_copy_stmt; return this; } @@ -19272,11 +19272,11 @@ Copy_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Copy_stmtContext.prototype.constructor = Copy_stmtContext; Copy_stmtContext.prototype.T_COPY = function() { - return this.getToken(HiveSqlParser.T_COPY, 0); + return this.getToken(HiveSql.T_COPY, 0); }; Copy_stmtContext.prototype.T_TO = function() { - return this.getToken(HiveSqlParser.T_TO, 0); + return this.getToken(HiveSql.T_TO, 0); }; Copy_stmtContext.prototype.copy_target = function() { @@ -19288,7 +19288,7 @@ Copy_stmtContext.prototype.table_name = function() { }; Copy_stmtContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Copy_stmtContext.prototype.select_stmt = function() { @@ -19296,11 +19296,11 @@ Copy_stmtContext.prototype.select_stmt = function() { }; Copy_stmtContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Copy_stmtContext.prototype.T_HDFS = function() { - return this.getToken(HiveSqlParser.T_HDFS, 0); + return this.getToken(HiveSql.T_HDFS, 0); }; Copy_stmtContext.prototype.copy_option = function(i) { @@ -19315,19 +19315,19 @@ Copy_stmtContext.prototype.copy_option = function(i) { }; Copy_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCopy_stmt(this); } }; Copy_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCopy_stmt(this); } }; Copy_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCopy_stmt(this); } else { return visitor.visitChildren(this); @@ -19337,360 +19337,360 @@ Copy_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Copy_stmtContext = Copy_stmtContext; +HiveSql.Copy_stmtContext = Copy_stmtContext; -HiveSqlParser.prototype.copy_stmt = function() { +HiveSql.prototype.copy_stmt = function() { var localctx = new Copy_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 220, HiveSqlParser.RULE_copy_stmt); + this.enterRule(localctx, 220, HiveSql.RULE_copy_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1918; - this.match(HiveSqlParser.T_COPY); + this.match(HiveSql.T_COPY); this.state = 1924; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: this.state = 1919; this.table_name(); break; - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_OPEN_P: this.state = 1920; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1921; this.select_stmt(); this.state = 1922; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; default: throw new antlr4.error.NoViableAltException(this); } this.state = 1926; - this.match(HiveSqlParser.T_TO); + this.match(HiveSql.T_TO); this.state = 1928; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,215,this._ctx); if(la_===1) { this.state = 1927; - this.match(HiveSqlParser.T_HDFS); + this.match(HiveSql.T_HDFS); } this.state = 1930; @@ -19732,7 +19732,7 @@ function Copy_sourceContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_copy_source; + this.ruleIndex = HiveSql.RULE_copy_source; return this; } @@ -19748,19 +19748,19 @@ Copy_sourceContext.prototype.expr = function() { }; Copy_sourceContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCopy_source(this); } }; Copy_sourceContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCopy_source(this); } }; Copy_sourceContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCopy_source(this); } else { return visitor.visitChildren(this); @@ -19770,12 +19770,12 @@ Copy_sourceContext.prototype.accept = function(visitor) { -HiveSqlParser.Copy_sourceContext = Copy_sourceContext; +HiveSql.Copy_sourceContext = Copy_sourceContext; -HiveSqlParser.prototype.copy_source = function() { +HiveSql.prototype.copy_source = function() { var localctx = new Copy_sourceContext(this, this._ctx, this.state); - this.enterRule(localctx, 222, HiveSqlParser.RULE_copy_source); + this.enterRule(localctx, 222, HiveSql.RULE_copy_source); try { this.enterOuterAlt(localctx, 1); this.state = 1939; @@ -19817,7 +19817,7 @@ function Copy_targetContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_copy_target; + this.ruleIndex = HiveSql.RULE_copy_target; return this; } @@ -19833,19 +19833,19 @@ Copy_targetContext.prototype.expr = function() { }; Copy_targetContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCopy_target(this); } }; Copy_targetContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCopy_target(this); } }; Copy_targetContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCopy_target(this); } else { return visitor.visitChildren(this); @@ -19855,12 +19855,12 @@ Copy_targetContext.prototype.accept = function(visitor) { -HiveSqlParser.Copy_targetContext = Copy_targetContext; +HiveSql.Copy_targetContext = Copy_targetContext; -HiveSqlParser.prototype.copy_target = function() { +HiveSql.prototype.copy_target = function() { var localctx = new Copy_targetContext(this, this._ctx, this.state); - this.enterRule(localctx, 224, HiveSqlParser.RULE_copy_target); + this.enterRule(localctx, 224, HiveSql.RULE_copy_target); try { this.enterOuterAlt(localctx, 1); this.state = 1943; @@ -19902,7 +19902,7 @@ function Copy_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_copy_option; + this.ruleIndex = HiveSql.RULE_copy_option; return this; } @@ -19910,7 +19910,7 @@ Copy_optionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Copy_optionContext.prototype.constructor = Copy_optionContext; Copy_optionContext.prototype.T_AT = function() { - return this.getToken(HiveSqlParser.T_AT, 0); + return this.getToken(HiveSql.T_AT, 0); }; Copy_optionContext.prototype.ident = function() { @@ -19918,7 +19918,7 @@ Copy_optionContext.prototype.ident = function() { }; Copy_optionContext.prototype.T_BATCHSIZE = function() { - return this.getToken(HiveSqlParser.T_BATCHSIZE, 0); + return this.getToken(HiveSql.T_BATCHSIZE, 0); }; Copy_optionContext.prototype.expr = function() { @@ -19926,27 +19926,27 @@ Copy_optionContext.prototype.expr = function() { }; Copy_optionContext.prototype.T_DELIMITER = function() { - return this.getToken(HiveSqlParser.T_DELIMITER, 0); + return this.getToken(HiveSql.T_DELIMITER, 0); }; Copy_optionContext.prototype.T_SQLINSERT = function() { - return this.getToken(HiveSqlParser.T_SQLINSERT, 0); + return this.getToken(HiveSql.T_SQLINSERT, 0); }; Copy_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCopy_option(this); } }; Copy_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCopy_option(this); } }; Copy_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCopy_option(this); } else { return visitor.visitChildren(this); @@ -19956,41 +19956,41 @@ Copy_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Copy_optionContext = Copy_optionContext; +HiveSql.Copy_optionContext = Copy_optionContext; -HiveSqlParser.prototype.copy_option = function() { +HiveSql.prototype.copy_option = function() { var localctx = new Copy_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 226, HiveSqlParser.RULE_copy_option); + this.enterRule(localctx, 226, HiveSql.RULE_copy_option); try { this.state = 1953; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_AT: + case HiveSql.T_AT: this.enterOuterAlt(localctx, 1); this.state = 1945; - this.match(HiveSqlParser.T_AT); + this.match(HiveSql.T_AT); this.state = 1946; this.ident(); break; - case HiveSqlParser.T_BATCHSIZE: + case HiveSql.T_BATCHSIZE: this.enterOuterAlt(localctx, 2); this.state = 1947; - this.match(HiveSqlParser.T_BATCHSIZE); + this.match(HiveSql.T_BATCHSIZE); this.state = 1948; this.expr(0); break; - case HiveSqlParser.T_DELIMITER: + case HiveSql.T_DELIMITER: this.enterOuterAlt(localctx, 3); this.state = 1949; - this.match(HiveSqlParser.T_DELIMITER); + this.match(HiveSql.T_DELIMITER); this.state = 1950; this.expr(0); break; - case HiveSqlParser.T_SQLINSERT: + case HiveSql.T_SQLINSERT: this.enterOuterAlt(localctx, 4); this.state = 1951; - this.match(HiveSqlParser.T_SQLINSERT); + this.match(HiveSql.T_SQLINSERT); this.state = 1952; this.ident(); break; @@ -20021,7 +20021,7 @@ function Copy_file_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_copy_file_option; + this.ruleIndex = HiveSql.RULE_copy_file_option; return this; } @@ -20029,31 +20029,31 @@ Copy_file_optionContext.prototype = Object.create(antlr4.ParserRuleContext.proto Copy_file_optionContext.prototype.constructor = Copy_file_optionContext; Copy_file_optionContext.prototype.T_DELETE = function() { - return this.getToken(HiveSqlParser.T_DELETE, 0); + return this.getToken(HiveSql.T_DELETE, 0); }; Copy_file_optionContext.prototype.T_IGNORE = function() { - return this.getToken(HiveSqlParser.T_IGNORE, 0); + return this.getToken(HiveSql.T_IGNORE, 0); }; Copy_file_optionContext.prototype.T_OVERWRITE = function() { - return this.getToken(HiveSqlParser.T_OVERWRITE, 0); + return this.getToken(HiveSql.T_OVERWRITE, 0); }; Copy_file_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCopy_file_option(this); } }; Copy_file_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCopy_file_option(this); } }; Copy_file_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCopy_file_option(this); } else { return visitor.visitChildren(this); @@ -20063,18 +20063,18 @@ Copy_file_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Copy_file_optionContext = Copy_file_optionContext; +HiveSql.Copy_file_optionContext = Copy_file_optionContext; -HiveSqlParser.prototype.copy_file_option = function() { +HiveSql.prototype.copy_file_option = function() { var localctx = new Copy_file_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 228, HiveSqlParser.RULE_copy_file_option); + this.enterRule(localctx, 228, HiveSql.RULE_copy_file_option); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1955; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DELETE || _la===HiveSqlParser.T_IGNORE || _la===HiveSqlParser.T_OVERWRITE)) { + if(!(_la===HiveSql.T_DELETE || _la===HiveSql.T_IGNORE || _la===HiveSql.T_OVERWRITE)) { this._errHandler.recoverInline(this); } else { @@ -20105,7 +20105,7 @@ function Commit_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_commit_stmt; + this.ruleIndex = HiveSql.RULE_commit_stmt; return this; } @@ -20113,27 +20113,27 @@ Commit_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Commit_stmtContext.prototype.constructor = Commit_stmtContext; Commit_stmtContext.prototype.T_COMMIT = function() { - return this.getToken(HiveSqlParser.T_COMMIT, 0); + return this.getToken(HiveSql.T_COMMIT, 0); }; Commit_stmtContext.prototype.T_WORK = function() { - return this.getToken(HiveSqlParser.T_WORK, 0); + return this.getToken(HiveSql.T_WORK, 0); }; Commit_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCommit_stmt(this); } }; Commit_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCommit_stmt(this); } }; Commit_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCommit_stmt(this); } else { return visitor.visitChildren(this); @@ -20143,22 +20143,22 @@ Commit_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Commit_stmtContext = Commit_stmtContext; +HiveSql.Commit_stmtContext = Commit_stmtContext; -HiveSqlParser.prototype.commit_stmt = function() { +HiveSql.prototype.commit_stmt = function() { var localctx = new Commit_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 230, HiveSqlParser.RULE_commit_stmt); + this.enterRule(localctx, 230, HiveSql.RULE_commit_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 1957; - this.match(HiveSqlParser.T_COMMIT); + this.match(HiveSql.T_COMMIT); this.state = 1959; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,220,this._ctx); if(la_===1) { this.state = 1958; - this.match(HiveSqlParser.T_WORK); + this.match(HiveSql.T_WORK); } } catch (re) { @@ -20185,7 +20185,7 @@ function Create_index_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_index_stmt; + this.ruleIndex = HiveSql.RULE_create_index_stmt; return this; } @@ -20193,11 +20193,11 @@ Create_index_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prot Create_index_stmtContext.prototype.constructor = Create_index_stmtContext; Create_index_stmtContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Create_index_stmtContext.prototype.T_INDEX = function() { - return this.getToken(HiveSqlParser.T_INDEX, 0); + return this.getToken(HiveSql.T_INDEX, 0); }; Create_index_stmtContext.prototype.ident = function() { @@ -20205,7 +20205,7 @@ Create_index_stmtContext.prototype.ident = function() { }; Create_index_stmtContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Create_index_stmtContext.prototype.table_name = function() { @@ -20213,7 +20213,7 @@ Create_index_stmtContext.prototype.table_name = function() { }; Create_index_stmtContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Create_index_stmtContext.prototype.create_index_col = function(i) { @@ -20228,11 +20228,11 @@ Create_index_stmtContext.prototype.create_index_col = function(i) { }; Create_index_stmtContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Create_index_stmtContext.prototype.T_UNIQUE = function() { - return this.getToken(HiveSqlParser.T_UNIQUE, 0); + return this.getToken(HiveSql.T_UNIQUE, 0); }; Create_index_stmtContext.prototype.T_COMMA = function(i) { @@ -20240,27 +20240,27 @@ Create_index_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Create_index_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_index_stmt(this); } }; Create_index_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_index_stmt(this); } }; Create_index_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_index_stmt(this); } else { return visitor.visitChildren(this); @@ -20270,43 +20270,43 @@ Create_index_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_index_stmtContext = Create_index_stmtContext; +HiveSql.Create_index_stmtContext = Create_index_stmtContext; -HiveSqlParser.prototype.create_index_stmt = function() { +HiveSql.prototype.create_index_stmt = function() { var localctx = new Create_index_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 232, HiveSqlParser.RULE_create_index_stmt); + this.enterRule(localctx, 232, HiveSql.RULE_create_index_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1961; - this.match(HiveSqlParser.T_CREATE); + this.match(HiveSql.T_CREATE); this.state = 1963; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_UNIQUE) { + if(_la===HiveSql.T_UNIQUE) { this.state = 1962; - this.match(HiveSqlParser.T_UNIQUE); + this.match(HiveSql.T_UNIQUE); } this.state = 1965; - this.match(HiveSqlParser.T_INDEX); + this.match(HiveSql.T_INDEX); this.state = 1966; this.ident(); this.state = 1967; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 1968; this.table_name(); this.state = 1969; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1970; this.create_index_col(); this.state = 1975; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1971; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1972; this.create_index_col(); this.state = 1977; @@ -20314,7 +20314,7 @@ HiveSqlParser.prototype.create_index_stmt = function() { _la = this._input.LA(1); } this.state = 1978; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -20339,7 +20339,7 @@ function Create_index_colContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_create_index_col; + this.ruleIndex = HiveSql.RULE_create_index_col; return this; } @@ -20351,27 +20351,27 @@ Create_index_colContext.prototype.ident = function() { }; Create_index_colContext.prototype.T_ASC = function() { - return this.getToken(HiveSqlParser.T_ASC, 0); + return this.getToken(HiveSql.T_ASC, 0); }; Create_index_colContext.prototype.T_DESC = function() { - return this.getToken(HiveSqlParser.T_DESC, 0); + return this.getToken(HiveSql.T_DESC, 0); }; Create_index_colContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCreate_index_col(this); } }; Create_index_colContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCreate_index_col(this); } }; Create_index_colContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCreate_index_col(this); } else { return visitor.visitChildren(this); @@ -20381,12 +20381,12 @@ Create_index_colContext.prototype.accept = function(visitor) { -HiveSqlParser.Create_index_colContext = Create_index_colContext; +HiveSql.Create_index_colContext = Create_index_colContext; -HiveSqlParser.prototype.create_index_col = function() { +HiveSql.prototype.create_index_col = function() { var localctx = new Create_index_colContext(this, this._ctx, this.state); - this.enterRule(localctx, 234, HiveSqlParser.RULE_create_index_col); + this.enterRule(localctx, 234, HiveSql.RULE_create_index_col); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -20395,10 +20395,10 @@ HiveSqlParser.prototype.create_index_col = function() { this.state = 1982; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC) { + if(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC) { this.state = 1981; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC)) { + if(!(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC)) { this._errHandler.recoverInline(this); } else { @@ -20431,7 +20431,7 @@ function Index_storage_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_index_storage_clause; + this.ruleIndex = HiveSql.RULE_index_storage_clause; return this; } @@ -20443,19 +20443,19 @@ Index_storage_clauseContext.prototype.index_mssql_storage_clause = function() { }; Index_storage_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterIndex_storage_clause(this); } }; Index_storage_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitIndex_storage_clause(this); } }; Index_storage_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitIndex_storage_clause(this); } else { return visitor.visitChildren(this); @@ -20465,12 +20465,12 @@ Index_storage_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Index_storage_clauseContext = Index_storage_clauseContext; +HiveSql.Index_storage_clauseContext = Index_storage_clauseContext; -HiveSqlParser.prototype.index_storage_clause = function() { +HiveSql.prototype.index_storage_clause = function() { var localctx = new Index_storage_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 236, HiveSqlParser.RULE_index_storage_clause); + this.enterRule(localctx, 236, HiveSql.RULE_index_storage_clause); try { this.enterOuterAlt(localctx, 1); this.state = 1984; @@ -20499,7 +20499,7 @@ function Index_mssql_storage_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_index_mssql_storage_clause; + this.ruleIndex = HiveSql.RULE_index_mssql_storage_clause; return this; } @@ -20507,11 +20507,11 @@ Index_mssql_storage_clauseContext.prototype = Object.create(antlr4.ParserRuleCon Index_mssql_storage_clauseContext.prototype.constructor = Index_mssql_storage_clauseContext; Index_mssql_storage_clauseContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Index_mssql_storage_clauseContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Index_mssql_storage_clauseContext.prototype.ident = function(i) { @@ -20530,15 +20530,15 @@ Index_mssql_storage_clauseContext.prototype.T_EQUAL = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_EQUAL); + return this.getTokens(HiveSql.T_EQUAL); } else { - return this.getToken(HiveSqlParser.T_EQUAL, i); + return this.getToken(HiveSql.T_EQUAL, i); } }; Index_mssql_storage_clauseContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Index_mssql_storage_clauseContext.prototype.T_COMMA = function(i) { @@ -20546,9 +20546,9 @@ Index_mssql_storage_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; @@ -20565,19 +20565,19 @@ Index_mssql_storage_clauseContext.prototype.create_table_options_mssql_item = fu }; Index_mssql_storage_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterIndex_mssql_storage_clause(this); } }; Index_mssql_storage_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitIndex_mssql_storage_clause(this); } }; Index_mssql_storage_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitIndex_mssql_storage_clause(this); } else { return visitor.visitChildren(this); @@ -20587,35 +20587,35 @@ Index_mssql_storage_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Index_mssql_storage_clauseContext = Index_mssql_storage_clauseContext; +HiveSql.Index_mssql_storage_clauseContext = Index_mssql_storage_clauseContext; -HiveSqlParser.prototype.index_mssql_storage_clause = function() { +HiveSql.prototype.index_mssql_storage_clause = function() { var localctx = new Index_mssql_storage_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 238, HiveSqlParser.RULE_index_mssql_storage_clause); + this.enterRule(localctx, 238, HiveSql.RULE_index_mssql_storage_clause); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 1986; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 1987; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 1988; this.ident(); this.state = 1989; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 1990; this.ident(); this.state = 1998; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 1991; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 1992; this.ident(); this.state = 1993; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 1994; this.ident(); this.state = 2000; @@ -20623,7 +20623,7 @@ HiveSqlParser.prototype.index_mssql_storage_clause = function() { _la = this._input.LA(1); } this.state = 2001; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2005; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,225,this._ctx) @@ -20661,7 +20661,7 @@ function Print_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_print_stmt; + this.ruleIndex = HiveSql.RULE_print_stmt; return this; } @@ -20669,7 +20669,7 @@ Print_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Print_stmtContext.prototype.constructor = Print_stmtContext; Print_stmtContext.prototype.T_PRINT = function() { - return this.getToken(HiveSqlParser.T_PRINT, 0); + return this.getToken(HiveSql.T_PRINT, 0); }; Print_stmtContext.prototype.expr = function() { @@ -20677,27 +20677,27 @@ Print_stmtContext.prototype.expr = function() { }; Print_stmtContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Print_stmtContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Print_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterPrint_stmt(this); } }; Print_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitPrint_stmt(this); } }; Print_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitPrint_stmt(this); } else { return visitor.visitChildren(this); @@ -20707,12 +20707,12 @@ Print_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Print_stmtContext = Print_stmtContext; +HiveSql.Print_stmtContext = Print_stmtContext; -HiveSqlParser.prototype.print_stmt = function() { +HiveSql.prototype.print_stmt = function() { var localctx = new Print_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 240, HiveSqlParser.RULE_print_stmt); + this.enterRule(localctx, 240, HiveSql.RULE_print_stmt); try { this.state = 2015; this._errHandler.sync(this); @@ -20721,7 +20721,7 @@ HiveSqlParser.prototype.print_stmt = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 2008; - this.match(HiveSqlParser.T_PRINT); + this.match(HiveSql.T_PRINT); this.state = 2009; this.expr(0); break; @@ -20729,13 +20729,13 @@ HiveSqlParser.prototype.print_stmt = function() { case 2: this.enterOuterAlt(localctx, 2); this.state = 2010; - this.match(HiveSqlParser.T_PRINT); + this.match(HiveSql.T_PRINT); this.state = 2011; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2012; this.expr(0); this.state = 2013; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; } @@ -20763,7 +20763,7 @@ function Quit_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_quit_stmt; + this.ruleIndex = HiveSql.RULE_quit_stmt; return this; } @@ -20771,11 +20771,11 @@ Quit_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Quit_stmtContext.prototype.constructor = Quit_stmtContext; Quit_stmtContext.prototype.T_QUIT = function() { - return this.getToken(HiveSqlParser.T_QUIT, 0); + return this.getToken(HiveSql.T_QUIT, 0); }; Quit_stmtContext.prototype.T_DOT = function() { - return this.getToken(HiveSqlParser.T_DOT, 0); + return this.getToken(HiveSql.T_DOT, 0); }; Quit_stmtContext.prototype.expr = function() { @@ -20783,19 +20783,19 @@ Quit_stmtContext.prototype.expr = function() { }; Quit_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterQuit_stmt(this); } }; Quit_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitQuit_stmt(this); } }; Quit_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitQuit_stmt(this); } else { return visitor.visitChildren(this); @@ -20805,25 +20805,25 @@ Quit_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Quit_stmtContext = Quit_stmtContext; +HiveSql.Quit_stmtContext = Quit_stmtContext; -HiveSqlParser.prototype.quit_stmt = function() { +HiveSql.prototype.quit_stmt = function() { var localctx = new Quit_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 242, HiveSqlParser.RULE_quit_stmt); + this.enterRule(localctx, 242, HiveSql.RULE_quit_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2018; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_DOT) { + if(_la===HiveSql.T_DOT) { this.state = 2017; - this.match(HiveSqlParser.T_DOT); + this.match(HiveSql.T_DOT); } this.state = 2020; - this.match(HiveSqlParser.T_QUIT); + this.match(HiveSql.T_QUIT); this.state = 2022; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,228,this._ctx); @@ -20856,7 +20856,7 @@ function Raise_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_raise_stmt; + this.ruleIndex = HiveSql.RULE_raise_stmt; return this; } @@ -20864,23 +20864,23 @@ Raise_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Raise_stmtContext.prototype.constructor = Raise_stmtContext; Raise_stmtContext.prototype.T_RAISE = function() { - return this.getToken(HiveSqlParser.T_RAISE, 0); + return this.getToken(HiveSql.T_RAISE, 0); }; Raise_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterRaise_stmt(this); } }; Raise_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitRaise_stmt(this); } }; Raise_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitRaise_stmt(this); } else { return visitor.visitChildren(this); @@ -20890,16 +20890,16 @@ Raise_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Raise_stmtContext = Raise_stmtContext; +HiveSql.Raise_stmtContext = Raise_stmtContext; -HiveSqlParser.prototype.raise_stmt = function() { +HiveSql.prototype.raise_stmt = function() { var localctx = new Raise_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 244, HiveSqlParser.RULE_raise_stmt); + this.enterRule(localctx, 244, HiveSql.RULE_raise_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2024; - this.match(HiveSqlParser.T_RAISE); + this.match(HiveSql.T_RAISE); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -20924,7 +20924,7 @@ function Resignal_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_resignal_stmt; + this.ruleIndex = HiveSql.RULE_resignal_stmt; return this; } @@ -20932,11 +20932,11 @@ Resignal_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Resignal_stmtContext.prototype.constructor = Resignal_stmtContext; Resignal_stmtContext.prototype.T_RESIGNAL = function() { - return this.getToken(HiveSqlParser.T_RESIGNAL, 0); + return this.getToken(HiveSql.T_RESIGNAL, 0); }; Resignal_stmtContext.prototype.T_SQLSTATE = function() { - return this.getToken(HiveSqlParser.T_SQLSTATE, 0); + return this.getToken(HiveSql.T_SQLSTATE, 0); }; Resignal_stmtContext.prototype.expr = function(i) { @@ -20951,35 +20951,35 @@ Resignal_stmtContext.prototype.expr = function(i) { }; Resignal_stmtContext.prototype.T_VALUE = function() { - return this.getToken(HiveSqlParser.T_VALUE, 0); + return this.getToken(HiveSql.T_VALUE, 0); }; Resignal_stmtContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Resignal_stmtContext.prototype.T_MESSAGE_TEXT = function() { - return this.getToken(HiveSqlParser.T_MESSAGE_TEXT, 0); + return this.getToken(HiveSql.T_MESSAGE_TEXT, 0); }; Resignal_stmtContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Resignal_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterResignal_stmt(this); } }; Resignal_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitResignal_stmt(this); } }; Resignal_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitResignal_stmt(this); } else { return visitor.visitChildren(this); @@ -20989,28 +20989,28 @@ Resignal_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Resignal_stmtContext = Resignal_stmtContext; +HiveSql.Resignal_stmtContext = Resignal_stmtContext; -HiveSqlParser.prototype.resignal_stmt = function() { +HiveSql.prototype.resignal_stmt = function() { var localctx = new Resignal_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 246, HiveSqlParser.RULE_resignal_stmt); + this.enterRule(localctx, 246, HiveSql.RULE_resignal_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2026; - this.match(HiveSqlParser.T_RESIGNAL); + this.match(HiveSql.T_RESIGNAL); this.state = 2038; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,231,this._ctx); if(la_===1) { this.state = 2027; - this.match(HiveSqlParser.T_SQLSTATE); + this.match(HiveSql.T_SQLSTATE); this.state = 2029; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,229,this._ctx); if(la_===1) { this.state = 2028; - this.match(HiveSqlParser.T_VALUE); + this.match(HiveSql.T_VALUE); } this.state = 2031; @@ -21020,11 +21020,11 @@ HiveSqlParser.prototype.resignal_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,230,this._ctx); if(la_===1) { this.state = 2032; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); this.state = 2033; - this.match(HiveSqlParser.T_MESSAGE_TEXT); + this.match(HiveSql.T_MESSAGE_TEXT); this.state = 2034; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 2035; this.expr(0); @@ -21055,7 +21055,7 @@ function Return_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_return_stmt; + this.ruleIndex = HiveSql.RULE_return_stmt; return this; } @@ -21063,7 +21063,7 @@ Return_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Return_stmtContext.prototype.constructor = Return_stmtContext; Return_stmtContext.prototype.T_RETURN = function() { - return this.getToken(HiveSqlParser.T_RETURN, 0); + return this.getToken(HiveSql.T_RETURN, 0); }; Return_stmtContext.prototype.expr = function() { @@ -21071,19 +21071,19 @@ Return_stmtContext.prototype.expr = function() { }; Return_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterReturn_stmt(this); } }; Return_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitReturn_stmt(this); } }; Return_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitReturn_stmt(this); } else { return visitor.visitChildren(this); @@ -21093,16 +21093,16 @@ Return_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Return_stmtContext = Return_stmtContext; +HiveSql.Return_stmtContext = Return_stmtContext; -HiveSqlParser.prototype.return_stmt = function() { +HiveSql.prototype.return_stmt = function() { var localctx = new Return_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 248, HiveSqlParser.RULE_return_stmt); + this.enterRule(localctx, 248, HiveSql.RULE_return_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2040; - this.match(HiveSqlParser.T_RETURN); + this.match(HiveSql.T_RETURN); this.state = 2042; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,232,this._ctx); @@ -21135,7 +21135,7 @@ function Rollback_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_rollback_stmt; + this.ruleIndex = HiveSql.RULE_rollback_stmt; return this; } @@ -21143,27 +21143,27 @@ Rollback_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Rollback_stmtContext.prototype.constructor = Rollback_stmtContext; Rollback_stmtContext.prototype.T_ROLLBACK = function() { - return this.getToken(HiveSqlParser.T_ROLLBACK, 0); + return this.getToken(HiveSql.T_ROLLBACK, 0); }; Rollback_stmtContext.prototype.T_WORK = function() { - return this.getToken(HiveSqlParser.T_WORK, 0); + return this.getToken(HiveSql.T_WORK, 0); }; Rollback_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterRollback_stmt(this); } }; Rollback_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitRollback_stmt(this); } }; Rollback_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitRollback_stmt(this); } else { return visitor.visitChildren(this); @@ -21173,22 +21173,22 @@ Rollback_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Rollback_stmtContext = Rollback_stmtContext; +HiveSql.Rollback_stmtContext = Rollback_stmtContext; -HiveSqlParser.prototype.rollback_stmt = function() { +HiveSql.prototype.rollback_stmt = function() { var localctx = new Rollback_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 250, HiveSqlParser.RULE_rollback_stmt); + this.enterRule(localctx, 250, HiveSql.RULE_rollback_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2044; - this.match(HiveSqlParser.T_ROLLBACK); + this.match(HiveSql.T_ROLLBACK); this.state = 2046; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,233,this._ctx); if(la_===1) { this.state = 2045; - this.match(HiveSqlParser.T_WORK); + this.match(HiveSql.T_WORK); } } catch (re) { @@ -21215,7 +21215,7 @@ function Set_session_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_set_session_option; + this.ruleIndex = HiveSql.RULE_set_session_option; return this; } @@ -21235,19 +21235,19 @@ Set_session_optionContext.prototype.set_teradata_session_option = function() { }; Set_session_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSet_session_option(this); } }; Set_session_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSet_session_option(this); } }; Set_session_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSet_session_option(this); } else { return visitor.visitChildren(this); @@ -21257,33 +21257,33 @@ Set_session_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Set_session_optionContext = Set_session_optionContext; +HiveSql.Set_session_optionContext = Set_session_optionContext; -HiveSqlParser.prototype.set_session_option = function() { +HiveSql.prototype.set_session_option = function() { var localctx = new Set_session_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 252, HiveSqlParser.RULE_set_session_option); + this.enterRule(localctx, 252, HiveSql.RULE_set_session_option); try { this.state = 2051; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_SCHEMA: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_SCHEMA: this.enterOuterAlt(localctx, 1); this.state = 2048; this.set_current_schema_option(); break; - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_XACT_ABORT: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_NOCOUNT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_XACT_ABORT: this.enterOuterAlt(localctx, 2); this.state = 2049; this.set_mssql_session_option(); break; - case HiveSqlParser.T_QUERY_BAND: + case HiveSql.T_QUERY_BAND: this.enterOuterAlt(localctx, 3); this.state = 2050; this.set_teradata_session_option(); @@ -21315,7 +21315,7 @@ function Set_current_schema_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_set_current_schema_option; + this.ruleIndex = HiveSql.RULE_set_current_schema_option; return this; } @@ -21327,35 +21327,35 @@ Set_current_schema_optionContext.prototype.expr = function() { }; Set_current_schema_optionContext.prototype.T_CURRENT_SCHEMA = function() { - return this.getToken(HiveSqlParser.T_CURRENT_SCHEMA, 0); + return this.getToken(HiveSql.T_CURRENT_SCHEMA, 0); }; Set_current_schema_optionContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Set_current_schema_optionContext.prototype.T_SCHEMA = function() { - return this.getToken(HiveSqlParser.T_SCHEMA, 0); + return this.getToken(HiveSql.T_SCHEMA, 0); }; Set_current_schema_optionContext.prototype.T_CURRENT = function() { - return this.getToken(HiveSqlParser.T_CURRENT, 0); + return this.getToken(HiveSql.T_CURRENT, 0); }; Set_current_schema_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSet_current_schema_option(this); } }; Set_current_schema_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSet_current_schema_option(this); } }; Set_current_schema_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSet_current_schema_option(this); } else { return visitor.visitChildren(this); @@ -21365,34 +21365,34 @@ Set_current_schema_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Set_current_schema_optionContext = Set_current_schema_optionContext; +HiveSql.Set_current_schema_optionContext = Set_current_schema_optionContext; -HiveSqlParser.prototype.set_current_schema_option = function() { +HiveSql.prototype.set_current_schema_option = function() { var localctx = new Set_current_schema_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 254, HiveSqlParser.RULE_set_current_schema_option); + this.enterRule(localctx, 254, HiveSql.RULE_set_current_schema_option); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2058; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_SCHEMA: + case HiveSql.T_CURRENT: + case HiveSql.T_SCHEMA: this.state = 2054; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_CURRENT) { + if(_la===HiveSql.T_CURRENT) { this.state = 2053; - this.match(HiveSqlParser.T_CURRENT); + this.match(HiveSql.T_CURRENT); } this.state = 2056; - this.match(HiveSqlParser.T_SCHEMA); + this.match(HiveSql.T_SCHEMA); break; - case HiveSqlParser.T_CURRENT_SCHEMA: + case HiveSql.T_CURRENT_SCHEMA: this.state = 2057; - this.match(HiveSqlParser.T_CURRENT_SCHEMA); + this.match(HiveSql.T_CURRENT_SCHEMA); break; default: throw new antlr4.error.NoViableAltException(this); @@ -21400,9 +21400,9 @@ HiveSqlParser.prototype.set_current_schema_option = function() { this.state = 2061; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_EQUAL) { + if(_la===HiveSql.T_EQUAL) { this.state = 2060; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); } this.state = 2063; @@ -21431,7 +21431,7 @@ function Set_mssql_session_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_set_mssql_session_option; + this.ruleIndex = HiveSql.RULE_set_mssql_session_option; return this; } @@ -21439,47 +21439,47 @@ Set_mssql_session_optionContext.prototype = Object.create(antlr4.ParserRuleConte Set_mssql_session_optionContext.prototype.constructor = Set_mssql_session_optionContext; Set_mssql_session_optionContext.prototype.T_ANSI_NULLS = function() { - return this.getToken(HiveSqlParser.T_ANSI_NULLS, 0); + return this.getToken(HiveSql.T_ANSI_NULLS, 0); }; Set_mssql_session_optionContext.prototype.T_ANSI_PADDING = function() { - return this.getToken(HiveSqlParser.T_ANSI_PADDING, 0); + return this.getToken(HiveSql.T_ANSI_PADDING, 0); }; Set_mssql_session_optionContext.prototype.T_NOCOUNT = function() { - return this.getToken(HiveSqlParser.T_NOCOUNT, 0); + return this.getToken(HiveSql.T_NOCOUNT, 0); }; Set_mssql_session_optionContext.prototype.T_QUOTED_IDENTIFIER = function() { - return this.getToken(HiveSqlParser.T_QUOTED_IDENTIFIER, 0); + return this.getToken(HiveSql.T_QUOTED_IDENTIFIER, 0); }; Set_mssql_session_optionContext.prototype.T_XACT_ABORT = function() { - return this.getToken(HiveSqlParser.T_XACT_ABORT, 0); + return this.getToken(HiveSql.T_XACT_ABORT, 0); }; Set_mssql_session_optionContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Set_mssql_session_optionContext.prototype.T_OFF = function() { - return this.getToken(HiveSqlParser.T_OFF, 0); + return this.getToken(HiveSql.T_OFF, 0); }; Set_mssql_session_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSet_mssql_session_option(this); } }; Set_mssql_session_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSet_mssql_session_option(this); } }; Set_mssql_session_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSet_mssql_session_option(this); } else { return visitor.visitChildren(this); @@ -21489,18 +21489,18 @@ Set_mssql_session_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Set_mssql_session_optionContext = Set_mssql_session_optionContext; +HiveSql.Set_mssql_session_optionContext = Set_mssql_session_optionContext; -HiveSqlParser.prototype.set_mssql_session_option = function() { +HiveSql.prototype.set_mssql_session_option = function() { var localctx = new Set_mssql_session_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 256, HiveSqlParser.RULE_set_mssql_session_option); + this.enterRule(localctx, 256, HiveSql.RULE_set_mssql_session_option); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2065; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ANSI_NULLS || _la===HiveSqlParser.T_ANSI_PADDING || _la===HiveSqlParser.T_NOCOUNT || _la===HiveSqlParser.T_QUOTED_IDENTIFIER || _la===HiveSqlParser.T_XACT_ABORT)) { + if(!(_la===HiveSql.T_ANSI_NULLS || _la===HiveSql.T_ANSI_PADDING || _la===HiveSql.T_NOCOUNT || _la===HiveSql.T_QUOTED_IDENTIFIER || _la===HiveSql.T_XACT_ABORT)) { this._errHandler.recoverInline(this); } else { @@ -21509,7 +21509,7 @@ HiveSqlParser.prototype.set_mssql_session_option = function() { } this.state = 2066; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_OFF || _la===HiveSqlParser.T_ON)) { + if(!(_la===HiveSql.T_OFF || _la===HiveSql.T_ON)) { this._errHandler.recoverInline(this); } else { @@ -21540,7 +21540,7 @@ function Set_teradata_session_optionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_set_teradata_session_option; + this.ruleIndex = HiveSql.RULE_set_teradata_session_option; return this; } @@ -21548,23 +21548,23 @@ Set_teradata_session_optionContext.prototype = Object.create(antlr4.ParserRuleCo Set_teradata_session_optionContext.prototype.constructor = Set_teradata_session_optionContext; Set_teradata_session_optionContext.prototype.T_QUERY_BAND = function() { - return this.getToken(HiveSqlParser.T_QUERY_BAND, 0); + return this.getToken(HiveSql.T_QUERY_BAND, 0); }; Set_teradata_session_optionContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Set_teradata_session_optionContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Set_teradata_session_optionContext.prototype.T_TRANSACTION = function() { - return this.getToken(HiveSqlParser.T_TRANSACTION, 0); + return this.getToken(HiveSql.T_TRANSACTION, 0); }; Set_teradata_session_optionContext.prototype.T_SESSION = function() { - return this.getToken(HiveSqlParser.T_SESSION, 0); + return this.getToken(HiveSql.T_SESSION, 0); }; Set_teradata_session_optionContext.prototype.expr = function() { @@ -21572,27 +21572,27 @@ Set_teradata_session_optionContext.prototype.expr = function() { }; Set_teradata_session_optionContext.prototype.T_NONE = function() { - return this.getToken(HiveSqlParser.T_NONE, 0); + return this.getToken(HiveSql.T_NONE, 0); }; Set_teradata_session_optionContext.prototype.T_UPDATE = function() { - return this.getToken(HiveSqlParser.T_UPDATE, 0); + return this.getToken(HiveSql.T_UPDATE, 0); }; Set_teradata_session_optionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSet_teradata_session_option(this); } }; Set_teradata_session_optionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSet_teradata_session_option(this); } }; Set_teradata_session_optionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSet_teradata_session_option(this); } else { return visitor.visitChildren(this); @@ -21602,19 +21602,19 @@ Set_teradata_session_optionContext.prototype.accept = function(visitor) { -HiveSqlParser.Set_teradata_session_optionContext = Set_teradata_session_optionContext; +HiveSql.Set_teradata_session_optionContext = Set_teradata_session_optionContext; -HiveSqlParser.prototype.set_teradata_session_option = function() { +HiveSql.prototype.set_teradata_session_option = function() { var localctx = new Set_teradata_session_optionContext(this, this._ctx, this.state); - this.enterRule(localctx, 258, HiveSqlParser.RULE_set_teradata_session_option); + this.enterRule(localctx, 258, HiveSql.RULE_set_teradata_session_option); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2068; - this.match(HiveSqlParser.T_QUERY_BAND); + this.match(HiveSql.T_QUERY_BAND); this.state = 2069; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 2072; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,238,this._ctx); @@ -21626,23 +21626,23 @@ HiveSqlParser.prototype.set_teradata_session_option = function() { case 2: this.state = 2071; - this.match(HiveSqlParser.T_NONE); + this.match(HiveSql.T_NONE); break; } this.state = 2075; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_UPDATE) { + if(_la===HiveSql.T_UPDATE) { this.state = 2074; - this.match(HiveSqlParser.T_UPDATE); + this.match(HiveSql.T_UPDATE); } this.state = 2077; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 2078; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_SESSION || _la===HiveSqlParser.T_TRANSACTION)) { + if(!(_la===HiveSql.T_SESSION || _la===HiveSql.T_TRANSACTION)) { this._errHandler.recoverInline(this); } else { @@ -21673,7 +21673,7 @@ function Signal_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_signal_stmt; + this.ruleIndex = HiveSql.RULE_signal_stmt; return this; } @@ -21681,7 +21681,7 @@ Signal_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Signal_stmtContext.prototype.constructor = Signal_stmtContext; Signal_stmtContext.prototype.T_SIGNAL = function() { - return this.getToken(HiveSqlParser.T_SIGNAL, 0); + return this.getToken(HiveSql.T_SIGNAL, 0); }; Signal_stmtContext.prototype.ident = function() { @@ -21689,19 +21689,19 @@ Signal_stmtContext.prototype.ident = function() { }; Signal_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSignal_stmt(this); } }; Signal_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSignal_stmt(this); } }; Signal_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSignal_stmt(this); } else { return visitor.visitChildren(this); @@ -21711,16 +21711,16 @@ Signal_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Signal_stmtContext = Signal_stmtContext; +HiveSql.Signal_stmtContext = Signal_stmtContext; -HiveSqlParser.prototype.signal_stmt = function() { +HiveSql.prototype.signal_stmt = function() { var localctx = new Signal_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 260, HiveSqlParser.RULE_signal_stmt); + this.enterRule(localctx, 260, HiveSql.RULE_signal_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2080; - this.match(HiveSqlParser.T_SIGNAL); + this.match(HiveSql.T_SIGNAL); this.state = 2081; this.ident(); } catch (re) { @@ -21747,7 +21747,7 @@ function Summary_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_summary_stmt; + this.ruleIndex = HiveSql.RULE_summary_stmt; return this; } @@ -21755,11 +21755,11 @@ Summary_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Summary_stmtContext.prototype.constructor = Summary_stmtContext; Summary_stmtContext.prototype.T_SUMMARY = function() { - return this.getToken(HiveSqlParser.T_SUMMARY, 0); + return this.getToken(HiveSql.T_SUMMARY, 0); }; Summary_stmtContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Summary_stmtContext.prototype.select_stmt = function() { @@ -21771,7 +21771,7 @@ Summary_stmtContext.prototype.table_name = function() { }; Summary_stmtContext.prototype.T_TOP = function() { - return this.getToken(HiveSqlParser.T_TOP, 0); + return this.getToken(HiveSql.T_TOP, 0); }; Summary_stmtContext.prototype.expr = function(i) { @@ -21790,23 +21790,23 @@ Summary_stmtContext.prototype.where_clause = function() { }; Summary_stmtContext.prototype.T_LIMIT = function() { - return this.getToken(HiveSqlParser.T_LIMIT, 0); + return this.getToken(HiveSql.T_LIMIT, 0); }; Summary_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSummary_stmt(this); } }; Summary_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSummary_stmt(this); } }; Summary_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSummary_stmt(this); } else { return visitor.visitChildren(this); @@ -21816,29 +21816,29 @@ Summary_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Summary_stmtContext = Summary_stmtContext; +HiveSql.Summary_stmtContext = Summary_stmtContext; -HiveSqlParser.prototype.summary_stmt = function() { +HiveSql.prototype.summary_stmt = function() { var localctx = new Summary_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 262, HiveSqlParser.RULE_summary_stmt); + this.enterRule(localctx, 262, HiveSql.RULE_summary_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2083; - this.match(HiveSqlParser.T_SUMMARY); + this.match(HiveSql.T_SUMMARY); this.state = 2086; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_TOP) { + if(_la===HiveSql.T_TOP) { this.state = 2084; - this.match(HiveSqlParser.T_TOP); + this.match(HiveSql.T_TOP); this.state = 2085; this.expr(0); } this.state = 2088; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 2098; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,243,this._ctx); @@ -21864,7 +21864,7 @@ HiveSqlParser.prototype.summary_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,242,this._ctx); if(la_===1) { this.state = 2094; - this.match(HiveSqlParser.T_LIMIT); + this.match(HiveSql.T_LIMIT); this.state = 2095; this.expr(0); @@ -21896,7 +21896,7 @@ function Truncate_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_truncate_stmt; + this.ruleIndex = HiveSql.RULE_truncate_stmt; return this; } @@ -21904,7 +21904,7 @@ Truncate_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Truncate_stmtContext.prototype.constructor = Truncate_stmtContext; Truncate_stmtContext.prototype.T_TRUNCATE = function() { - return this.getToken(HiveSqlParser.T_TRUNCATE, 0); + return this.getToken(HiveSql.T_TRUNCATE, 0); }; Truncate_stmtContext.prototype.table_name = function() { @@ -21912,23 +21912,23 @@ Truncate_stmtContext.prototype.table_name = function() { }; Truncate_stmtContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Truncate_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterTruncate_stmt(this); } }; Truncate_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitTruncate_stmt(this); } }; Truncate_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitTruncate_stmt(this); } else { return visitor.visitChildren(this); @@ -21938,22 +21938,22 @@ Truncate_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Truncate_stmtContext = Truncate_stmtContext; +HiveSql.Truncate_stmtContext = Truncate_stmtContext; -HiveSqlParser.prototype.truncate_stmt = function() { +HiveSql.prototype.truncate_stmt = function() { var localctx = new Truncate_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 264, HiveSqlParser.RULE_truncate_stmt); + this.enterRule(localctx, 264, HiveSql.RULE_truncate_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2100; - this.match(HiveSqlParser.T_TRUNCATE); + this.match(HiveSql.T_TRUNCATE); this.state = 2102; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,244,this._ctx); if(la_===1) { this.state = 2101; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); } this.state = 2104; @@ -21982,7 +21982,7 @@ function Use_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_use_stmt; + this.ruleIndex = HiveSql.RULE_use_stmt; return this; } @@ -21990,7 +21990,7 @@ Use_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Use_stmtContext.prototype.constructor = Use_stmtContext; Use_stmtContext.prototype.T_USE = function() { - return this.getToken(HiveSqlParser.T_USE, 0); + return this.getToken(HiveSql.T_USE, 0); }; Use_stmtContext.prototype.expr = function() { @@ -21998,19 +21998,19 @@ Use_stmtContext.prototype.expr = function() { }; Use_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterUse_stmt(this); } }; Use_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitUse_stmt(this); } }; Use_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitUse_stmt(this); } else { return visitor.visitChildren(this); @@ -22020,16 +22020,16 @@ Use_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Use_stmtContext = Use_stmtContext; +HiveSql.Use_stmtContext = Use_stmtContext; -HiveSqlParser.prototype.use_stmt = function() { +HiveSql.prototype.use_stmt = function() { var localctx = new Use_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 266, HiveSqlParser.RULE_use_stmt); + this.enterRule(localctx, 266, HiveSql.RULE_use_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2106; - this.match(HiveSqlParser.T_USE); + this.match(HiveSql.T_USE); this.state = 2107; this.expr(0); } catch (re) { @@ -22056,7 +22056,7 @@ function Values_into_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_values_into_stmt; + this.ruleIndex = HiveSql.RULE_values_into_stmt; return this; } @@ -22064,7 +22064,7 @@ Values_into_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.proto Values_into_stmtContext.prototype.constructor = Values_into_stmtContext; Values_into_stmtContext.prototype.T_VALUES = function() { - return this.getToken(HiveSqlParser.T_VALUES, 0); + return this.getToken(HiveSql.T_VALUES, 0); }; Values_into_stmtContext.prototype.expr = function(i) { @@ -22079,7 +22079,7 @@ Values_into_stmtContext.prototype.expr = function(i) { }; Values_into_stmtContext.prototype.T_INTO = function() { - return this.getToken(HiveSqlParser.T_INTO, 0); + return this.getToken(HiveSql.T_INTO, 0); }; Values_into_stmtContext.prototype.ident = function(i) { @@ -22098,9 +22098,9 @@ Values_into_stmtContext.prototype.T_OPEN_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_OPEN_P); + return this.getTokens(HiveSql.T_OPEN_P); } else { - return this.getToken(HiveSqlParser.T_OPEN_P, i); + return this.getToken(HiveSql.T_OPEN_P, i); } }; @@ -22110,9 +22110,9 @@ Values_into_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; @@ -22122,27 +22122,27 @@ Values_into_stmtContext.prototype.T_CLOSE_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_CLOSE_P); + return this.getTokens(HiveSql.T_CLOSE_P); } else { - return this.getToken(HiveSqlParser.T_CLOSE_P, i); + return this.getToken(HiveSql.T_CLOSE_P, i); } }; Values_into_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterValues_into_stmt(this); } }; Values_into_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitValues_into_stmt(this); } }; Values_into_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitValues_into_stmt(this); } else { return visitor.visitChildren(this); @@ -22152,23 +22152,23 @@ Values_into_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Values_into_stmtContext = Values_into_stmtContext; +HiveSql.Values_into_stmtContext = Values_into_stmtContext; -HiveSqlParser.prototype.values_into_stmt = function() { +HiveSql.prototype.values_into_stmt = function() { var localctx = new Values_into_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 268, HiveSqlParser.RULE_values_into_stmt); + this.enterRule(localctx, 268, HiveSql.RULE_values_into_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2109; - this.match(HiveSqlParser.T_VALUES); + this.match(HiveSql.T_VALUES); this.state = 2111; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,245,this._ctx); if(la_===1) { this.state = 2110; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); } this.state = 2113; @@ -22176,9 +22176,9 @@ HiveSqlParser.prototype.values_into_stmt = function() { this.state = 2118; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2114; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2115; this.expr(0); this.state = 2120; @@ -22188,19 +22188,19 @@ HiveSqlParser.prototype.values_into_stmt = function() { this.state = 2122; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_CLOSE_P) { + if(_la===HiveSql.T_CLOSE_P) { this.state = 2121; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } this.state = 2124; - this.match(HiveSqlParser.T_INTO); + this.match(HiveSql.T_INTO); this.state = 2126; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OPEN_P) { + if(_la===HiveSql.T_OPEN_P) { this.state = 2125; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); } this.state = 2128; @@ -22211,7 +22211,7 @@ HiveSqlParser.prototype.values_into_stmt = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2129; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2130; this.ident(); } @@ -22225,7 +22225,7 @@ HiveSqlParser.prototype.values_into_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,250,this._ctx); if(la_===1) { this.state = 2136; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } } catch (re) { @@ -22252,7 +22252,7 @@ function While_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_while_stmt; + this.ruleIndex = HiveSql.RULE_while_stmt; return this; } @@ -22264,9 +22264,9 @@ While_stmtContext.prototype.T_WHILE = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_WHILE); + return this.getTokens(HiveSql.T_WHILE); } else { - return this.getToken(HiveSqlParser.T_WHILE, i); + return this.getToken(HiveSql.T_WHILE, i); } }; @@ -22280,11 +22280,11 @@ While_stmtContext.prototype.block = function() { }; While_stmtContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; While_stmtContext.prototype.T_DO = function() { - return this.getToken(HiveSqlParser.T_DO, 0); + return this.getToken(HiveSql.T_DO, 0); }; While_stmtContext.prototype.T_LOOP = function(i) { @@ -22292,35 +22292,35 @@ While_stmtContext.prototype.T_LOOP = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_LOOP); + return this.getTokens(HiveSql.T_LOOP); } else { - return this.getToken(HiveSqlParser.T_LOOP, i); + return this.getToken(HiveSql.T_LOOP, i); } }; While_stmtContext.prototype.T_THEN = function() { - return this.getToken(HiveSqlParser.T_THEN, 0); + return this.getToken(HiveSql.T_THEN, 0); }; While_stmtContext.prototype.T_BEGIN = function() { - return this.getToken(HiveSqlParser.T_BEGIN, 0); + return this.getToken(HiveSql.T_BEGIN, 0); }; While_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterWhile_stmt(this); } }; While_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitWhile_stmt(this); } }; While_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitWhile_stmt(this); } else { return visitor.visitChildren(this); @@ -22330,22 +22330,22 @@ While_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.While_stmtContext = While_stmtContext; +HiveSql.While_stmtContext = While_stmtContext; -HiveSqlParser.prototype.while_stmt = function() { +HiveSql.prototype.while_stmt = function() { var localctx = new While_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 270, HiveSqlParser.RULE_while_stmt); + this.enterRule(localctx, 270, HiveSql.RULE_while_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2139; - this.match(HiveSqlParser.T_WHILE); + this.match(HiveSql.T_WHILE); this.state = 2140; this.bool_expr(0); this.state = 2141; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_BEGIN || _la===HiveSqlParser.T_DO || _la===HiveSqlParser.T_LOOP || _la===HiveSqlParser.T_THEN)) { + if(!(_la===HiveSql.T_BEGIN || _la===HiveSql.T_DO || _la===HiveSql.T_LOOP || _la===HiveSql.T_THEN)) { this._errHandler.recoverInline(this); } else { @@ -22355,14 +22355,14 @@ HiveSqlParser.prototype.while_stmt = function() { this.state = 2142; this.block(); this.state = 2143; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); this.state = 2145; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,251,this._ctx); if(la_===1) { this.state = 2144; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_LOOP || _la===HiveSqlParser.T_WHILE)) { + if(!(_la===HiveSql.T_LOOP || _la===HiveSql.T_WHILE)) { this._errHandler.recoverInline(this); } else { @@ -22395,7 +22395,7 @@ function For_cursor_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_for_cursor_stmt; + this.ruleIndex = HiveSql.RULE_for_cursor_stmt; return this; } @@ -22403,15 +22403,15 @@ For_cursor_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.protot For_cursor_stmtContext.prototype.constructor = For_cursor_stmtContext; For_cursor_stmtContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; For_cursor_stmtContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; For_cursor_stmtContext.prototype.T_IN = function() { - return this.getToken(HiveSqlParser.T_IN, 0); + return this.getToken(HiveSql.T_IN, 0); }; For_cursor_stmtContext.prototype.select_stmt = function() { @@ -22423,9 +22423,9 @@ For_cursor_stmtContext.prototype.T_LOOP = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_LOOP); + return this.getTokens(HiveSql.T_LOOP); } else { - return this.getToken(HiveSqlParser.T_LOOP, i); + return this.getToken(HiveSql.T_LOOP, i); } }; @@ -22435,31 +22435,31 @@ For_cursor_stmtContext.prototype.block = function() { }; For_cursor_stmtContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; For_cursor_stmtContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; For_cursor_stmtContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; For_cursor_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFor_cursor_stmt(this); } }; For_cursor_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFor_cursor_stmt(this); } }; For_cursor_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFor_cursor_stmt(this); } else { return visitor.visitChildren(this); @@ -22469,27 +22469,27 @@ For_cursor_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.For_cursor_stmtContext = For_cursor_stmtContext; +HiveSql.For_cursor_stmtContext = For_cursor_stmtContext; -HiveSqlParser.prototype.for_cursor_stmt = function() { +HiveSql.prototype.for_cursor_stmt = function() { var localctx = new For_cursor_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 272, HiveSqlParser.RULE_for_cursor_stmt); + this.enterRule(localctx, 272, HiveSql.RULE_for_cursor_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2147; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 2148; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 2149; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); this.state = 2151; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,252,this._ctx); if(la_===1) { this.state = 2150; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); } this.state = 2153; @@ -22497,19 +22497,19 @@ HiveSqlParser.prototype.for_cursor_stmt = function() { this.state = 2155; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_CLOSE_P) { + if(_la===HiveSql.T_CLOSE_P) { this.state = 2154; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } this.state = 2157; - this.match(HiveSqlParser.T_LOOP); + this.match(HiveSql.T_LOOP); this.state = 2158; this.block(); this.state = 2159; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); this.state = 2160; - this.match(HiveSqlParser.T_LOOP); + this.match(HiveSql.T_LOOP); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -22534,7 +22534,7 @@ function For_range_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_for_range_stmt; + this.ruleIndex = HiveSql.RULE_for_range_stmt; return this; } @@ -22542,15 +22542,15 @@ For_range_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototy For_range_stmtContext.prototype.constructor = For_range_stmtContext; For_range_stmtContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; For_range_stmtContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; For_range_stmtContext.prototype.T_IN = function() { - return this.getToken(HiveSqlParser.T_IN, 0); + return this.getToken(HiveSql.T_IN, 0); }; For_range_stmtContext.prototype.expr = function(i) { @@ -22565,7 +22565,7 @@ For_range_stmtContext.prototype.expr = function(i) { }; For_range_stmtContext.prototype.T_DOT2 = function() { - return this.getToken(HiveSqlParser.T_DOT2, 0); + return this.getToken(HiveSql.T_DOT2, 0); }; For_range_stmtContext.prototype.T_LOOP = function(i) { @@ -22573,9 +22573,9 @@ For_range_stmtContext.prototype.T_LOOP = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_LOOP); + return this.getTokens(HiveSql.T_LOOP); } else { - return this.getToken(HiveSqlParser.T_LOOP, i); + return this.getToken(HiveSql.T_LOOP, i); } }; @@ -22585,35 +22585,35 @@ For_range_stmtContext.prototype.block = function() { }; For_range_stmtContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; For_range_stmtContext.prototype.T_REVERSE = function() { - return this.getToken(HiveSqlParser.T_REVERSE, 0); + return this.getToken(HiveSql.T_REVERSE, 0); }; For_range_stmtContext.prototype.T_BY = function() { - return this.getToken(HiveSqlParser.T_BY, 0); + return this.getToken(HiveSql.T_BY, 0); }; For_range_stmtContext.prototype.T_STEP = function() { - return this.getToken(HiveSqlParser.T_STEP, 0); + return this.getToken(HiveSql.T_STEP, 0); }; For_range_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFor_range_stmt(this); } }; For_range_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFor_range_stmt(this); } }; For_range_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFor_range_stmt(this); } else { return visitor.visitChildren(this); @@ -22623,42 +22623,42 @@ For_range_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.For_range_stmtContext = For_range_stmtContext; +HiveSql.For_range_stmtContext = For_range_stmtContext; -HiveSqlParser.prototype.for_range_stmt = function() { +HiveSql.prototype.for_range_stmt = function() { var localctx = new For_range_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 274, HiveSqlParser.RULE_for_range_stmt); + this.enterRule(localctx, 274, HiveSql.RULE_for_range_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2162; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 2163; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 2164; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); this.state = 2166; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,254,this._ctx); if(la_===1) { this.state = 2165; - this.match(HiveSqlParser.T_REVERSE); + this.match(HiveSql.T_REVERSE); } this.state = 2168; this.expr(0); this.state = 2169; - this.match(HiveSqlParser.T_DOT2); + this.match(HiveSql.T_DOT2); this.state = 2170; this.expr(0); this.state = 2173; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_BY || _la===HiveSqlParser.T_STEP) { + if(_la===HiveSql.T_BY || _la===HiveSql.T_STEP) { this.state = 2171; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_BY || _la===HiveSqlParser.T_STEP)) { + if(!(_la===HiveSql.T_BY || _la===HiveSql.T_STEP)) { this._errHandler.recoverInline(this); } else { @@ -22670,13 +22670,13 @@ HiveSqlParser.prototype.for_range_stmt = function() { } this.state = 2175; - this.match(HiveSqlParser.T_LOOP); + this.match(HiveSql.T_LOOP); this.state = 2176; this.block(); this.state = 2177; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); this.state = 2178; - this.match(HiveSqlParser.T_LOOP); + this.match(HiveSql.T_LOOP); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -22701,7 +22701,7 @@ function LabelContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_label; + this.ruleIndex = HiveSql.RULE_label; return this; } @@ -22709,7 +22709,7 @@ LabelContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); LabelContext.prototype.constructor = LabelContext; LabelContext.prototype.L_LABEL = function() { - return this.getToken(HiveSqlParser.L_LABEL, 0); + return this.getToken(HiveSql.L_LABEL, 0); }; LabelContext.prototype.T_LESS = function(i) { @@ -22717,15 +22717,15 @@ LabelContext.prototype.T_LESS = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_LESS); + return this.getTokens(HiveSql.T_LESS); } else { - return this.getToken(HiveSqlParser.T_LESS, i); + return this.getToken(HiveSql.T_LESS, i); } }; LabelContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; LabelContext.prototype.T_GREATER = function(i) { @@ -22733,27 +22733,27 @@ LabelContext.prototype.T_GREATER = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_GREATER); + return this.getTokens(HiveSql.T_GREATER); } else { - return this.getToken(HiveSqlParser.T_GREATER, i); + return this.getToken(HiveSql.T_GREATER, i); } }; LabelContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterLabel(this); } }; LabelContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitLabel(this); } }; LabelContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitLabel(this); } else { return visitor.visitChildren(this); @@ -22763,33 +22763,33 @@ LabelContext.prototype.accept = function(visitor) { -HiveSqlParser.LabelContext = LabelContext; +HiveSql.LabelContext = LabelContext; -HiveSqlParser.prototype.label = function() { +HiveSql.prototype.label = function() { var localctx = new LabelContext(this, this._ctx, this.state); - this.enterRule(localctx, 276, HiveSqlParser.RULE_label); + this.enterRule(localctx, 276, HiveSql.RULE_label); try { this.state = 2186; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.L_LABEL: + case HiveSql.L_LABEL: this.enterOuterAlt(localctx, 1); this.state = 2180; - this.match(HiveSqlParser.L_LABEL); + this.match(HiveSql.L_LABEL); break; - case HiveSqlParser.T_LESS: + case HiveSql.T_LESS: this.enterOuterAlt(localctx, 2); this.state = 2181; - this.match(HiveSqlParser.T_LESS); + this.match(HiveSql.T_LESS); this.state = 2182; - this.match(HiveSqlParser.T_LESS); + this.match(HiveSql.T_LESS); this.state = 2183; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 2184; - this.match(HiveSqlParser.T_GREATER); + this.match(HiveSql.T_GREATER); this.state = 2185; - this.match(HiveSqlParser.T_GREATER); + this.match(HiveSql.T_GREATER); break; default: throw new antlr4.error.NoViableAltException(this); @@ -22818,7 +22818,7 @@ function Using_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_using_clause; + this.ruleIndex = HiveSql.RULE_using_clause; return this; } @@ -22826,7 +22826,7 @@ Using_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Using_clauseContext.prototype.constructor = Using_clauseContext; Using_clauseContext.prototype.T_USING = function() { - return this.getToken(HiveSqlParser.T_USING, 0); + return this.getToken(HiveSql.T_USING, 0); }; Using_clauseContext.prototype.expr = function(i) { @@ -22845,27 +22845,27 @@ Using_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Using_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterUsing_clause(this); } }; Using_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitUsing_clause(this); } }; Using_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitUsing_clause(this); } else { return visitor.visitChildren(this); @@ -22875,16 +22875,16 @@ Using_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Using_clauseContext = Using_clauseContext; +HiveSql.Using_clauseContext = Using_clauseContext; -HiveSqlParser.prototype.using_clause = function() { +HiveSql.prototype.using_clause = function() { var localctx = new Using_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 278, HiveSqlParser.RULE_using_clause); + this.enterRule(localctx, 278, HiveSql.RULE_using_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2188; - this.match(HiveSqlParser.T_USING); + this.match(HiveSql.T_USING); this.state = 2189; this.expr(0); this.state = 2194; @@ -22893,7 +22893,7 @@ HiveSqlParser.prototype.using_clause = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2190; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2191; this.expr(0); } @@ -22926,7 +22926,7 @@ function Select_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_stmt; + this.ruleIndex = HiveSql.RULE_select_stmt; return this; } @@ -22942,19 +22942,19 @@ Select_stmtContext.prototype.cte_select_stmt = function() { }; Select_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_stmt(this); } }; Select_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_stmt(this); } }; Select_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_stmt(this); } else { return visitor.visitChildren(this); @@ -22964,19 +22964,19 @@ Select_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_stmtContext = Select_stmtContext; +HiveSql.Select_stmtContext = Select_stmtContext; -HiveSqlParser.prototype.select_stmt = function() { +HiveSql.prototype.select_stmt = function() { var localctx = new Select_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 280, HiveSqlParser.RULE_select_stmt); + this.enterRule(localctx, 280, HiveSql.RULE_select_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2198; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_WITH) { + if(_la===HiveSql.T_WITH) { this.state = 2197; this.cte_select_stmt(); } @@ -23007,7 +23007,7 @@ function Cte_select_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_cte_select_stmt; + this.ruleIndex = HiveSql.RULE_cte_select_stmt; return this; } @@ -23015,7 +23015,7 @@ Cte_select_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.protot Cte_select_stmtContext.prototype.constructor = Cte_select_stmtContext; Cte_select_stmtContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Cte_select_stmtContext.prototype.cte_select_stmt_item = function(i) { @@ -23034,27 +23034,27 @@ Cte_select_stmtContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Cte_select_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCte_select_stmt(this); } }; Cte_select_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCte_select_stmt(this); } }; Cte_select_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCte_select_stmt(this); } else { return visitor.visitChildren(this); @@ -23064,25 +23064,25 @@ Cte_select_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Cte_select_stmtContext = Cte_select_stmtContext; +HiveSql.Cte_select_stmtContext = Cte_select_stmtContext; -HiveSqlParser.prototype.cte_select_stmt = function() { +HiveSql.prototype.cte_select_stmt = function() { var localctx = new Cte_select_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 282, HiveSqlParser.RULE_cte_select_stmt); + this.enterRule(localctx, 282, HiveSql.RULE_cte_select_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2202; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 2203; this.cte_select_stmt_item(); this.state = 2208; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2204; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2205; this.cte_select_stmt_item(); this.state = 2210; @@ -23113,7 +23113,7 @@ function Cte_select_stmt_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_cte_select_stmt_item; + this.ruleIndex = HiveSql.RULE_cte_select_stmt_item; return this; } @@ -23125,11 +23125,11 @@ Cte_select_stmt_itemContext.prototype.ident = function() { }; Cte_select_stmt_itemContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Cte_select_stmt_itemContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Cte_select_stmt_itemContext.prototype.fullselect_stmt = function() { @@ -23137,7 +23137,7 @@ Cte_select_stmt_itemContext.prototype.fullselect_stmt = function() { }; Cte_select_stmt_itemContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Cte_select_stmt_itemContext.prototype.cte_select_cols = function() { @@ -23145,19 +23145,19 @@ Cte_select_stmt_itemContext.prototype.cte_select_cols = function() { }; Cte_select_stmt_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCte_select_stmt_item(this); } }; Cte_select_stmt_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCte_select_stmt_item(this); } }; Cte_select_stmt_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCte_select_stmt_item(this); } else { return visitor.visitChildren(this); @@ -23167,12 +23167,12 @@ Cte_select_stmt_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Cte_select_stmt_itemContext = Cte_select_stmt_itemContext; +HiveSql.Cte_select_stmt_itemContext = Cte_select_stmt_itemContext; -HiveSqlParser.prototype.cte_select_stmt_item = function() { +HiveSql.prototype.cte_select_stmt_item = function() { var localctx = new Cte_select_stmt_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 284, HiveSqlParser.RULE_cte_select_stmt_item); + this.enterRule(localctx, 284, HiveSql.RULE_cte_select_stmt_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -23181,19 +23181,19 @@ HiveSqlParser.prototype.cte_select_stmt_item = function() { this.state = 2213; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OPEN_P) { + if(_la===HiveSql.T_OPEN_P) { this.state = 2212; this.cte_select_cols(); } this.state = 2215; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); this.state = 2216; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2217; this.fullselect_stmt(); this.state = 2218; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -23218,7 +23218,7 @@ function Cte_select_colsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_cte_select_cols; + this.ruleIndex = HiveSql.RULE_cte_select_cols; return this; } @@ -23226,7 +23226,7 @@ Cte_select_colsContext.prototype = Object.create(antlr4.ParserRuleContext.protot Cte_select_colsContext.prototype.constructor = Cte_select_colsContext; Cte_select_colsContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Cte_select_colsContext.prototype.ident = function(i) { @@ -23241,7 +23241,7 @@ Cte_select_colsContext.prototype.ident = function(i) { }; Cte_select_colsContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Cte_select_colsContext.prototype.T_COMMA = function(i) { @@ -23249,27 +23249,27 @@ Cte_select_colsContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Cte_select_colsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterCte_select_cols(this); } }; Cte_select_colsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitCte_select_cols(this); } }; Cte_select_colsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitCte_select_cols(this); } else { return visitor.visitChildren(this); @@ -23279,25 +23279,25 @@ Cte_select_colsContext.prototype.accept = function(visitor) { -HiveSqlParser.Cte_select_colsContext = Cte_select_colsContext; +HiveSql.Cte_select_colsContext = Cte_select_colsContext; -HiveSqlParser.prototype.cte_select_cols = function() { +HiveSql.prototype.cte_select_cols = function() { var localctx = new Cte_select_colsContext(this, this._ctx, this.state); - this.enterRule(localctx, 286, HiveSqlParser.RULE_cte_select_cols); + this.enterRule(localctx, 286, HiveSql.RULE_cte_select_cols); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2220; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2221; this.ident(); this.state = 2226; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2222; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2223; this.ident(); this.state = 2228; @@ -23305,7 +23305,7 @@ HiveSqlParser.prototype.cte_select_cols = function() { _la = this._input.LA(1); } this.state = 2229; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -23330,7 +23330,7 @@ function Fullselect_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_fullselect_stmt; + this.ruleIndex = HiveSql.RULE_fullselect_stmt; return this; } @@ -23360,19 +23360,19 @@ Fullselect_stmtContext.prototype.fullselect_set_clause = function(i) { }; Fullselect_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFullselect_stmt(this); } }; Fullselect_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFullselect_stmt(this); } }; Fullselect_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFullselect_stmt(this); } else { return visitor.visitChildren(this); @@ -23382,12 +23382,12 @@ Fullselect_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Fullselect_stmtContext = Fullselect_stmtContext; +HiveSql.Fullselect_stmtContext = Fullselect_stmtContext; -HiveSqlParser.prototype.fullselect_stmt = function() { +HiveSql.prototype.fullselect_stmt = function() { var localctx = new Fullselect_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 288, HiveSqlParser.RULE_fullselect_stmt); + this.enterRule(localctx, 288, HiveSql.RULE_fullselect_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2231; @@ -23431,7 +23431,7 @@ function Fullselect_stmt_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_fullselect_stmt_item; + this.ruleIndex = HiveSql.RULE_fullselect_stmt_item; return this; } @@ -23443,7 +23443,7 @@ Fullselect_stmt_itemContext.prototype.subselect_stmt = function() { }; Fullselect_stmt_itemContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Fullselect_stmt_itemContext.prototype.fullselect_stmt = function() { @@ -23451,23 +23451,23 @@ Fullselect_stmt_itemContext.prototype.fullselect_stmt = function() { }; Fullselect_stmt_itemContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Fullselect_stmt_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFullselect_stmt_item(this); } }; Fullselect_stmt_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFullselect_stmt_item(this); } }; Fullselect_stmt_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFullselect_stmt_item(this); } else { return visitor.visitChildren(this); @@ -23477,30 +23477,30 @@ Fullselect_stmt_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Fullselect_stmt_itemContext = Fullselect_stmt_itemContext; +HiveSql.Fullselect_stmt_itemContext = Fullselect_stmt_itemContext; -HiveSqlParser.prototype.fullselect_stmt_item = function() { +HiveSql.prototype.fullselect_stmt_item = function() { var localctx = new Fullselect_stmt_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 290, HiveSqlParser.RULE_fullselect_stmt_item); + this.enterRule(localctx, 290, HiveSql.RULE_fullselect_stmt_item); try { this.state = 2245; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: this.enterOuterAlt(localctx, 1); this.state = 2240; this.subselect_stmt(); break; - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_OPEN_P: this.enterOuterAlt(localctx, 2); this.state = 2241; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2242; this.fullselect_stmt(); this.state = 2243; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; default: throw new antlr4.error.NoViableAltException(this); @@ -23529,7 +23529,7 @@ function Fullselect_set_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_fullselect_set_clause; + this.ruleIndex = HiveSql.RULE_fullselect_set_clause; return this; } @@ -23537,35 +23537,35 @@ Fullselect_set_clauseContext.prototype = Object.create(antlr4.ParserRuleContext. Fullselect_set_clauseContext.prototype.constructor = Fullselect_set_clauseContext; Fullselect_set_clauseContext.prototype.T_UNION = function() { - return this.getToken(HiveSqlParser.T_UNION, 0); + return this.getToken(HiveSql.T_UNION, 0); }; Fullselect_set_clauseContext.prototype.T_ALL = function() { - return this.getToken(HiveSqlParser.T_ALL, 0); + return this.getToken(HiveSql.T_ALL, 0); }; Fullselect_set_clauseContext.prototype.T_EXCEPT = function() { - return this.getToken(HiveSqlParser.T_EXCEPT, 0); + return this.getToken(HiveSql.T_EXCEPT, 0); }; Fullselect_set_clauseContext.prototype.T_INTERSECT = function() { - return this.getToken(HiveSqlParser.T_INTERSECT, 0); + return this.getToken(HiveSql.T_INTERSECT, 0); }; Fullselect_set_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFullselect_set_clause(this); } }; Fullselect_set_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFullselect_set_clause(this); } }; Fullselect_set_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFullselect_set_clause(this); } else { return visitor.visitChildren(this); @@ -23575,53 +23575,53 @@ Fullselect_set_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Fullselect_set_clauseContext = Fullselect_set_clauseContext; +HiveSql.Fullselect_set_clauseContext = Fullselect_set_clauseContext; -HiveSqlParser.prototype.fullselect_set_clause = function() { +HiveSql.prototype.fullselect_set_clause = function() { var localctx = new Fullselect_set_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 292, HiveSqlParser.RULE_fullselect_set_clause); + this.enterRule(localctx, 292, HiveSql.RULE_fullselect_set_clause); var _la = 0; // Token type try { this.state = 2259; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_UNION: + case HiveSql.T_UNION: this.enterOuterAlt(localctx, 1); this.state = 2247; - this.match(HiveSqlParser.T_UNION); + this.match(HiveSql.T_UNION); this.state = 2249; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ALL) { + if(_la===HiveSql.T_ALL) { this.state = 2248; - this.match(HiveSqlParser.T_ALL); + this.match(HiveSql.T_ALL); } break; - case HiveSqlParser.T_EXCEPT: + case HiveSql.T_EXCEPT: this.enterOuterAlt(localctx, 2); this.state = 2251; - this.match(HiveSqlParser.T_EXCEPT); + this.match(HiveSql.T_EXCEPT); this.state = 2253; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ALL) { + if(_la===HiveSql.T_ALL) { this.state = 2252; - this.match(HiveSqlParser.T_ALL); + this.match(HiveSql.T_ALL); } break; - case HiveSqlParser.T_INTERSECT: + case HiveSql.T_INTERSECT: this.enterOuterAlt(localctx, 3); this.state = 2255; - this.match(HiveSqlParser.T_INTERSECT); + this.match(HiveSql.T_INTERSECT); this.state = 2257; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ALL) { + if(_la===HiveSql.T_ALL) { this.state = 2256; - this.match(HiveSqlParser.T_ALL); + this.match(HiveSql.T_ALL); } break; @@ -23652,7 +23652,7 @@ function Subselect_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_subselect_stmt; + this.ruleIndex = HiveSql.RULE_subselect_stmt; return this; } @@ -23664,11 +23664,11 @@ Subselect_stmtContext.prototype.select_list = function() { }; Subselect_stmtContext.prototype.T_SELECT = function() { - return this.getToken(HiveSqlParser.T_SELECT, 0); + return this.getToken(HiveSql.T_SELECT, 0); }; Subselect_stmtContext.prototype.T_SEL = function() { - return this.getToken(HiveSqlParser.T_SEL, 0); + return this.getToken(HiveSql.T_SEL, 0); }; Subselect_stmtContext.prototype.into_clause = function() { @@ -23704,19 +23704,19 @@ Subselect_stmtContext.prototype.select_options = function() { }; Subselect_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSubselect_stmt(this); } }; Subselect_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSubselect_stmt(this); } }; Subselect_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSubselect_stmt(this); } else { return visitor.visitChildren(this); @@ -23726,18 +23726,18 @@ Subselect_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Subselect_stmtContext = Subselect_stmtContext; +HiveSql.Subselect_stmtContext = Subselect_stmtContext; -HiveSqlParser.prototype.subselect_stmt = function() { +HiveSql.prototype.subselect_stmt = function() { var localctx = new Subselect_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 294, HiveSqlParser.RULE_subselect_stmt); + this.enterRule(localctx, 294, HiveSql.RULE_subselect_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2261; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_SEL || _la===HiveSqlParser.T_SELECT)) { + if(!(_la===HiveSql.T_SEL || _la===HiveSql.T_SELECT)) { this._errHandler.recoverInline(this); } else { @@ -23830,7 +23830,7 @@ function Select_listContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_list; + this.ruleIndex = HiveSql.RULE_select_list; return this; } @@ -23861,27 +23861,27 @@ Select_listContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Select_listContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_list(this); } }; Select_listContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_list(this); } }; Select_listContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_list(this); } else { return visitor.visitChildren(this); @@ -23891,12 +23891,12 @@ Select_listContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_listContext = Select_listContext; +HiveSql.Select_listContext = Select_listContext; -HiveSqlParser.prototype.select_list = function() { +HiveSql.prototype.select_list = function() { var localctx = new Select_listContext(this, this._ctx, this.state); - this.enterRule(localctx, 296, HiveSqlParser.RULE_select_list); + this.enterRule(localctx, 296, HiveSql.RULE_select_list); try { this.enterOuterAlt(localctx, 1); this.state = 2286; @@ -23923,7 +23923,7 @@ HiveSqlParser.prototype.select_list = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2292; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2293; this.select_list_item(); } @@ -23956,7 +23956,7 @@ function Select_list_setContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_list_set; + this.ruleIndex = HiveSql.RULE_select_list_set; return this; } @@ -23964,27 +23964,27 @@ Select_list_setContext.prototype = Object.create(antlr4.ParserRuleContext.protot Select_list_setContext.prototype.constructor = Select_list_setContext; Select_list_setContext.prototype.T_ALL = function() { - return this.getToken(HiveSqlParser.T_ALL, 0); + return this.getToken(HiveSql.T_ALL, 0); }; Select_list_setContext.prototype.T_DISTINCT = function() { - return this.getToken(HiveSqlParser.T_DISTINCT, 0); + return this.getToken(HiveSql.T_DISTINCT, 0); }; Select_list_setContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_list_set(this); } }; Select_list_setContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_list_set(this); } }; Select_list_setContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_list_set(this); } else { return visitor.visitChildren(this); @@ -23994,18 +23994,18 @@ Select_list_setContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_list_setContext = Select_list_setContext; +HiveSql.Select_list_setContext = Select_list_setContext; -HiveSqlParser.prototype.select_list_set = function() { +HiveSql.prototype.select_list_set = function() { var localctx = new Select_list_setContext(this, this._ctx, this.state); - this.enterRule(localctx, 298, HiveSqlParser.RULE_select_list_set); + this.enterRule(localctx, 298, HiveSql.RULE_select_list_set); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2299; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ALL || _la===HiveSqlParser.T_DISTINCT)) { + if(!(_la===HiveSql.T_ALL || _la===HiveSql.T_DISTINCT)) { this._errHandler.recoverInline(this); } else { @@ -24036,7 +24036,7 @@ function Select_list_limitContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_list_limit; + this.ruleIndex = HiveSql.RULE_select_list_limit; return this; } @@ -24044,7 +24044,7 @@ Select_list_limitContext.prototype = Object.create(antlr4.ParserRuleContext.prot Select_list_limitContext.prototype.constructor = Select_list_limitContext; Select_list_limitContext.prototype.T_TOP = function() { - return this.getToken(HiveSqlParser.T_TOP, 0); + return this.getToken(HiveSql.T_TOP, 0); }; Select_list_limitContext.prototype.expr = function() { @@ -24052,19 +24052,19 @@ Select_list_limitContext.prototype.expr = function() { }; Select_list_limitContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_list_limit(this); } }; Select_list_limitContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_list_limit(this); } }; Select_list_limitContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_list_limit(this); } else { return visitor.visitChildren(this); @@ -24074,16 +24074,16 @@ Select_list_limitContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_list_limitContext = Select_list_limitContext; +HiveSql.Select_list_limitContext = Select_list_limitContext; -HiveSqlParser.prototype.select_list_limit = function() { +HiveSql.prototype.select_list_limit = function() { var localctx = new Select_list_limitContext(this, this._ctx, this.state); - this.enterRule(localctx, 300, HiveSqlParser.RULE_select_list_limit); + this.enterRule(localctx, 300, HiveSql.RULE_select_list_limit); try { this.enterOuterAlt(localctx, 1); this.state = 2301; - this.match(HiveSqlParser.T_TOP); + this.match(HiveSql.T_TOP); this.state = 2302; this.expr(0); } catch (re) { @@ -24110,7 +24110,7 @@ function Select_list_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_list_item; + this.ruleIndex = HiveSql.RULE_select_list_item; return this; } @@ -24130,7 +24130,7 @@ Select_list_itemContext.prototype.ident = function() { }; Select_list_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Select_list_itemContext.prototype.select_list_alias = function() { @@ -24138,19 +24138,19 @@ Select_list_itemContext.prototype.select_list_alias = function() { }; Select_list_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_list_item(this); } }; Select_list_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_list_item(this); } }; Select_list_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_list_item(this); } else { return visitor.visitChildren(this); @@ -24160,12 +24160,12 @@ Select_list_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_list_itemContext = Select_list_itemContext; +HiveSql.Select_list_itemContext = Select_list_itemContext; -HiveSqlParser.prototype.select_list_item = function() { +HiveSql.prototype.select_list_item = function() { var localctx = new Select_list_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 302, HiveSqlParser.RULE_select_list_item); + this.enterRule(localctx, 302, HiveSql.RULE_select_list_item); try { this.enterOuterAlt(localctx, 1); this.state = 2314; @@ -24180,7 +24180,7 @@ HiveSqlParser.prototype.select_list_item = function() { this.state = 2304; this.ident(); this.state = 2305; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); } this.state = 2309; @@ -24225,7 +24225,7 @@ function Select_list_aliasContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_list_alias; + this.ruleIndex = HiveSql.RULE_select_list_alias; return this; } @@ -24237,39 +24237,39 @@ Select_list_aliasContext.prototype.ident = function() { }; Select_list_aliasContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Select_list_aliasContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Select_list_aliasContext.prototype.T_TITLE = function() { - return this.getToken(HiveSqlParser.T_TITLE, 0); + return this.getToken(HiveSql.T_TITLE, 0); }; Select_list_aliasContext.prototype.L_S_STRING = function() { - return this.getToken(HiveSqlParser.L_S_STRING, 0); + return this.getToken(HiveSql.L_S_STRING, 0); }; Select_list_aliasContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Select_list_aliasContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_list_alias(this); } }; Select_list_aliasContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_list_alias(this); } }; Select_list_aliasContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_list_alias(this); } else { return visitor.visitChildren(this); @@ -24279,12 +24279,12 @@ Select_list_aliasContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_list_aliasContext = Select_list_aliasContext; +HiveSql.Select_list_aliasContext = Select_list_aliasContext; -HiveSqlParser.prototype.select_list_alias = function() { +HiveSql.prototype.select_list_alias = function() { var localctx = new Select_list_aliasContext(this, this._ctx, this.state); - this.enterRule(localctx, 304, HiveSqlParser.RULE_select_list_alias); + this.enterRule(localctx, 304, HiveSql.RULE_select_list_alias); try { this.state = 2325; this._errHandler.sync(this); @@ -24301,7 +24301,7 @@ HiveSqlParser.prototype.select_list_alias = function() { var la_ = this._interp.adaptivePredict(this._input,281,this._ctx); if(la_===1) { this.state = 2317; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 2320; @@ -24311,13 +24311,13 @@ HiveSqlParser.prototype.select_list_alias = function() { case 2: this.enterOuterAlt(localctx, 2); this.state = 2321; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2322; - this.match(HiveSqlParser.T_TITLE); + this.match(HiveSql.T_TITLE); this.state = 2323; - this.match(HiveSqlParser.L_S_STRING); + this.match(HiveSql.L_S_STRING); this.state = 2324; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; } @@ -24345,7 +24345,7 @@ function Select_list_asteriskContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_list_asterisk; + this.ruleIndex = HiveSql.RULE_select_list_asterisk; return this; } @@ -24353,31 +24353,31 @@ Select_list_asteriskContext.prototype = Object.create(antlr4.ParserRuleContext.p Select_list_asteriskContext.prototype.constructor = Select_list_asteriskContext; Select_list_asteriskContext.prototype.T_MUL = function() { - return this.getToken(HiveSqlParser.T_MUL, 0); + return this.getToken(HiveSql.T_MUL, 0); }; Select_list_asteriskContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; Select_list_asteriskContext.prototype.T_DOT = function() { - return this.getToken(HiveSqlParser.T_DOT, 0); + return this.getToken(HiveSql.T_DOT, 0); }; Select_list_asteriskContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_list_asterisk(this); } }; Select_list_asteriskContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_list_asterisk(this); } }; Select_list_asteriskContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_list_asterisk(this); } else { return visitor.visitChildren(this); @@ -24387,27 +24387,27 @@ Select_list_asteriskContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_list_asteriskContext = Select_list_asteriskContext; +HiveSql.Select_list_asteriskContext = Select_list_asteriskContext; -HiveSqlParser.prototype.select_list_asterisk = function() { +HiveSql.prototype.select_list_asterisk = function() { var localctx = new Select_list_asteriskContext(this, this._ctx, this.state); - this.enterRule(localctx, 306, HiveSqlParser.RULE_select_list_asterisk); + this.enterRule(localctx, 306, HiveSql.RULE_select_list_asterisk); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2329; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.L_ID) { + if(_la===HiveSql.L_ID) { this.state = 2327; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 2328; - this.match(HiveSqlParser.T_DOT); + this.match(HiveSql.T_DOT); } this.state = 2331; - this.match(HiveSqlParser.T_MUL); + this.match(HiveSql.T_MUL); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -24432,7 +24432,7 @@ function Into_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_into_clause; + this.ruleIndex = HiveSql.RULE_into_clause; return this; } @@ -24440,7 +24440,7 @@ Into_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Into_clauseContext.prototype.constructor = Into_clauseContext; Into_clauseContext.prototype.T_INTO = function() { - return this.getToken(HiveSqlParser.T_INTO, 0); + return this.getToken(HiveSql.T_INTO, 0); }; Into_clauseContext.prototype.ident = function(i) { @@ -24459,27 +24459,27 @@ Into_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Into_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInto_clause(this); } }; Into_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInto_clause(this); } }; Into_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInto_clause(this); } else { return visitor.visitChildren(this); @@ -24489,16 +24489,16 @@ Into_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Into_clauseContext = Into_clauseContext; +HiveSql.Into_clauseContext = Into_clauseContext; -HiveSqlParser.prototype.into_clause = function() { +HiveSql.prototype.into_clause = function() { var localctx = new Into_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 308, HiveSqlParser.RULE_into_clause); + this.enterRule(localctx, 308, HiveSql.RULE_into_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2333; - this.match(HiveSqlParser.T_INTO); + this.match(HiveSql.T_INTO); this.state = 2334; this.ident(); this.state = 2339; @@ -24507,7 +24507,7 @@ HiveSqlParser.prototype.into_clause = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2335; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2336; this.ident(); } @@ -24540,7 +24540,7 @@ function From_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_clause; + this.ruleIndex = HiveSql.RULE_from_clause; return this; } @@ -24548,7 +24548,7 @@ From_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) From_clauseContext.prototype.constructor = From_clauseContext; From_clauseContext.prototype.T_FROM = function() { - return this.getToken(HiveSqlParser.T_FROM, 0); + return this.getToken(HiveSql.T_FROM, 0); }; From_clauseContext.prototype.from_table_clause = function() { @@ -24567,19 +24567,19 @@ From_clauseContext.prototype.from_join_clause = function(i) { }; From_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_clause(this); } }; From_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_clause(this); } }; From_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_clause(this); } else { return visitor.visitChildren(this); @@ -24589,16 +24589,16 @@ From_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_clauseContext = From_clauseContext; +HiveSql.From_clauseContext = From_clauseContext; -HiveSqlParser.prototype.from_clause = function() { +HiveSql.prototype.from_clause = function() { var localctx = new From_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 310, HiveSqlParser.RULE_from_clause); + this.enterRule(localctx, 310, HiveSql.RULE_from_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2342; - this.match(HiveSqlParser.T_FROM); + this.match(HiveSql.T_FROM); this.state = 2343; this.from_table_clause(); this.state = 2347; @@ -24638,7 +24638,7 @@ function From_table_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_table_clause; + this.ruleIndex = HiveSql.RULE_from_table_clause; return this; } @@ -24658,19 +24658,19 @@ From_table_clauseContext.prototype.from_table_values_clause = function() { }; From_table_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_table_clause(this); } }; From_table_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_table_clause(this); } }; From_table_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_table_clause(this); } else { return visitor.visitChildren(this); @@ -24680,12 +24680,12 @@ From_table_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_table_clauseContext = From_table_clauseContext; +HiveSql.From_table_clauseContext = From_table_clauseContext; -HiveSqlParser.prototype.from_table_clause = function() { +HiveSql.prototype.from_table_clause = function() { var localctx = new From_table_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 312, HiveSqlParser.RULE_from_table_clause); + this.enterRule(localctx, 312, HiveSql.RULE_from_table_clause); try { this.state = 2353; this._errHandler.sync(this); @@ -24734,7 +24734,7 @@ function From_table_name_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_table_name_clause; + this.ruleIndex = HiveSql.RULE_from_table_name_clause; return this; } @@ -24750,19 +24750,19 @@ From_table_name_clauseContext.prototype.from_alias_clause = function() { }; From_table_name_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_table_name_clause(this); } }; From_table_name_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_table_name_clause(this); } }; From_table_name_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_table_name_clause(this); } else { return visitor.visitChildren(this); @@ -24772,12 +24772,12 @@ From_table_name_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_table_name_clauseContext = From_table_name_clauseContext; +HiveSql.From_table_name_clauseContext = From_table_name_clauseContext; -HiveSqlParser.prototype.from_table_name_clause = function() { +HiveSql.prototype.from_table_name_clause = function() { var localctx = new From_table_name_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 314, HiveSqlParser.RULE_from_table_name_clause); + this.enterRule(localctx, 314, HiveSql.RULE_from_table_name_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2355; @@ -24814,7 +24814,7 @@ function From_subselect_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_subselect_clause; + this.ruleIndex = HiveSql.RULE_from_subselect_clause; return this; } @@ -24822,7 +24822,7 @@ From_subselect_clauseContext.prototype = Object.create(antlr4.ParserRuleContext. From_subselect_clauseContext.prototype.constructor = From_subselect_clauseContext; From_subselect_clauseContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; From_subselect_clauseContext.prototype.select_stmt = function() { @@ -24830,7 +24830,7 @@ From_subselect_clauseContext.prototype.select_stmt = function() { }; From_subselect_clauseContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; From_subselect_clauseContext.prototype.from_alias_clause = function() { @@ -24838,19 +24838,19 @@ From_subselect_clauseContext.prototype.from_alias_clause = function() { }; From_subselect_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_subselect_clause(this); } }; From_subselect_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_subselect_clause(this); } }; From_subselect_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_subselect_clause(this); } else { return visitor.visitChildren(this); @@ -24860,20 +24860,20 @@ From_subselect_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_subselect_clauseContext = From_subselect_clauseContext; +HiveSql.From_subselect_clauseContext = From_subselect_clauseContext; -HiveSqlParser.prototype.from_subselect_clause = function() { +HiveSql.prototype.from_subselect_clause = function() { var localctx = new From_subselect_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 316, HiveSqlParser.RULE_from_subselect_clause); + this.enterRule(localctx, 316, HiveSql.RULE_from_subselect_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2359; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2360; this.select_stmt(); this.state = 2361; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2363; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,288,this._ctx); @@ -24906,7 +24906,7 @@ function From_join_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_join_clause; + this.ruleIndex = HiveSql.RULE_from_join_clause; return this; } @@ -24914,7 +24914,7 @@ From_join_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.proto From_join_clauseContext.prototype.constructor = From_join_clauseContext; From_join_clauseContext.prototype.T_COMMA = function() { - return this.getToken(HiveSqlParser.T_COMMA, 0); + return this.getToken(HiveSql.T_COMMA, 0); }; From_join_clauseContext.prototype.from_table_clause = function() { @@ -24926,7 +24926,7 @@ From_join_clauseContext.prototype.from_join_type_clause = function() { }; From_join_clauseContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; From_join_clauseContext.prototype.bool_expr = function() { @@ -24934,19 +24934,19 @@ From_join_clauseContext.prototype.bool_expr = function() { }; From_join_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_join_clause(this); } }; From_join_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_join_clause(this); } }; From_join_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_join_clause(this); } else { return visitor.visitChildren(this); @@ -24956,35 +24956,35 @@ From_join_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_join_clauseContext = From_join_clauseContext; +HiveSql.From_join_clauseContext = From_join_clauseContext; -HiveSqlParser.prototype.from_join_clause = function() { +HiveSql.prototype.from_join_clause = function() { var localctx = new From_join_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 318, HiveSqlParser.RULE_from_join_clause); + this.enterRule(localctx, 318, HiveSql.RULE_from_join_clause); try { this.state = 2372; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_COMMA: + case HiveSql.T_COMMA: this.enterOuterAlt(localctx, 1); this.state = 2365; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2366; this.from_table_clause(); break; - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_RIGHT: + case HiveSql.T_FULL: + case HiveSql.T_INNER: + case HiveSql.T_JOIN: + case HiveSql.T_LEFT: + case HiveSql.T_RIGHT: this.enterOuterAlt(localctx, 2); this.state = 2367; this.from_join_type_clause(); this.state = 2368; this.from_table_clause(); this.state = 2369; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 2370; this.bool_expr(0); break; @@ -25015,7 +25015,7 @@ function From_join_type_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_join_type_clause; + this.ruleIndex = HiveSql.RULE_from_join_type_clause; return this; } @@ -25023,43 +25023,43 @@ From_join_type_clauseContext.prototype = Object.create(antlr4.ParserRuleContext. From_join_type_clauseContext.prototype.constructor = From_join_type_clauseContext; From_join_type_clauseContext.prototype.T_JOIN = function() { - return this.getToken(HiveSqlParser.T_JOIN, 0); + return this.getToken(HiveSql.T_JOIN, 0); }; From_join_type_clauseContext.prototype.T_INNER = function() { - return this.getToken(HiveSqlParser.T_INNER, 0); + return this.getToken(HiveSql.T_INNER, 0); }; From_join_type_clauseContext.prototype.T_LEFT = function() { - return this.getToken(HiveSqlParser.T_LEFT, 0); + return this.getToken(HiveSql.T_LEFT, 0); }; From_join_type_clauseContext.prototype.T_RIGHT = function() { - return this.getToken(HiveSqlParser.T_RIGHT, 0); + return this.getToken(HiveSql.T_RIGHT, 0); }; From_join_type_clauseContext.prototype.T_FULL = function() { - return this.getToken(HiveSqlParser.T_FULL, 0); + return this.getToken(HiveSql.T_FULL, 0); }; From_join_type_clauseContext.prototype.T_OUTER = function() { - return this.getToken(HiveSqlParser.T_OUTER, 0); + return this.getToken(HiveSql.T_OUTER, 0); }; From_join_type_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_join_type_clause(this); } }; From_join_type_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_join_type_clause(this); } }; From_join_type_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_join_type_clause(this); } else { return visitor.visitChildren(this); @@ -25069,38 +25069,38 @@ From_join_type_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_join_type_clauseContext = From_join_type_clauseContext; +HiveSql.From_join_type_clauseContext = From_join_type_clauseContext; -HiveSqlParser.prototype.from_join_type_clause = function() { +HiveSql.prototype.from_join_type_clause = function() { var localctx = new From_join_type_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 320, HiveSqlParser.RULE_from_join_type_clause); + this.enterRule(localctx, 320, HiveSql.RULE_from_join_type_clause); var _la = 0; // Token type try { this.state = 2383; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_JOIN: + case HiveSql.T_INNER: + case HiveSql.T_JOIN: this.enterOuterAlt(localctx, 1); this.state = 2375; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_INNER) { + if(_la===HiveSql.T_INNER) { this.state = 2374; - this.match(HiveSqlParser.T_INNER); + this.match(HiveSql.T_INNER); } this.state = 2377; - this.match(HiveSqlParser.T_JOIN); + this.match(HiveSql.T_JOIN); break; - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_RIGHT: + case HiveSql.T_FULL: + case HiveSql.T_LEFT: + case HiveSql.T_RIGHT: this.enterOuterAlt(localctx, 2); this.state = 2378; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_FULL || _la===HiveSqlParser.T_LEFT || _la===HiveSqlParser.T_RIGHT)) { + if(!(_la===HiveSql.T_FULL || _la===HiveSql.T_LEFT || _la===HiveSql.T_RIGHT)) { this._errHandler.recoverInline(this); } else { @@ -25110,13 +25110,13 @@ HiveSqlParser.prototype.from_join_type_clause = function() { this.state = 2380; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OUTER) { + if(_la===HiveSql.T_OUTER) { this.state = 2379; - this.match(HiveSqlParser.T_OUTER); + this.match(HiveSql.T_OUTER); } this.state = 2382; - this.match(HiveSqlParser.T_JOIN); + this.match(HiveSql.T_JOIN); break; default: throw new antlr4.error.NoViableAltException(this); @@ -25145,7 +25145,7 @@ function From_table_values_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_table_values_clause; + this.ruleIndex = HiveSql.RULE_from_table_values_clause; return this; } @@ -25153,15 +25153,15 @@ From_table_values_clauseContext.prototype = Object.create(antlr4.ParserRuleConte From_table_values_clauseContext.prototype.constructor = From_table_values_clauseContext; From_table_values_clauseContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; From_table_values_clauseContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; From_table_values_clauseContext.prototype.T_VALUES = function() { - return this.getToken(HiveSqlParser.T_VALUES, 0); + return this.getToken(HiveSql.T_VALUES, 0); }; From_table_values_clauseContext.prototype.from_table_values_row = function(i) { @@ -25176,7 +25176,7 @@ From_table_values_clauseContext.prototype.from_table_values_row = function(i) { }; From_table_values_clauseContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; From_table_values_clauseContext.prototype.T_COMMA = function(i) { @@ -25184,9 +25184,9 @@ From_table_values_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; @@ -25196,19 +25196,19 @@ From_table_values_clauseContext.prototype.from_alias_clause = function() { }; From_table_values_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_table_values_clause(this); } }; From_table_values_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_table_values_clause(this); } }; From_table_values_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_table_values_clause(this); } else { return visitor.visitChildren(this); @@ -25218,29 +25218,29 @@ From_table_values_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_table_values_clauseContext = From_table_values_clauseContext; +HiveSql.From_table_values_clauseContext = From_table_values_clauseContext; -HiveSqlParser.prototype.from_table_values_clause = function() { +HiveSql.prototype.from_table_values_clause = function() { var localctx = new From_table_values_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 322, HiveSqlParser.RULE_from_table_values_clause); + this.enterRule(localctx, 322, HiveSql.RULE_from_table_values_clause); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2385; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); this.state = 2386; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2387; - this.match(HiveSqlParser.T_VALUES); + this.match(HiveSql.T_VALUES); this.state = 2388; this.from_table_values_row(); this.state = 2393; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2389; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2390; this.from_table_values_row(); this.state = 2395; @@ -25248,7 +25248,7 @@ HiveSqlParser.prototype.from_table_values_clause = function() { _la = this._input.LA(1); } this.state = 2396; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2398; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,294,this._ctx); @@ -25281,7 +25281,7 @@ function From_table_values_rowContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_table_values_row; + this.ruleIndex = HiveSql.RULE_from_table_values_row; return this; } @@ -25300,11 +25300,11 @@ From_table_values_rowContext.prototype.expr = function(i) { }; From_table_values_rowContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; From_table_values_rowContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; From_table_values_rowContext.prototype.T_COMMA = function(i) { @@ -25312,27 +25312,27 @@ From_table_values_rowContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; From_table_values_rowContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_table_values_row(this); } }; From_table_values_rowContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_table_values_row(this); } }; From_table_values_rowContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_table_values_row(this); } else { return visitor.visitChildren(this); @@ -25342,12 +25342,12 @@ From_table_values_rowContext.prototype.accept = function(visitor) { -HiveSqlParser.From_table_values_rowContext = From_table_values_rowContext; +HiveSql.From_table_values_rowContext = From_table_values_rowContext; -HiveSqlParser.prototype.from_table_values_row = function() { +HiveSql.prototype.from_table_values_row = function() { var localctx = new From_table_values_rowContext(this, this._ctx, this.state); - this.enterRule(localctx, 324, HiveSqlParser.RULE_from_table_values_row); + this.enterRule(localctx, 324, HiveSql.RULE_from_table_values_row); var _la = 0; // Token type try { this.state = 2412; @@ -25363,15 +25363,15 @@ HiveSqlParser.prototype.from_table_values_row = function() { case 2: this.enterOuterAlt(localctx, 2); this.state = 2401; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2402; this.expr(0); this.state = 2407; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2403; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2404; this.expr(0); this.state = 2409; @@ -25379,7 +25379,7 @@ HiveSqlParser.prototype.from_table_values_row = function() { _la = this._input.LA(1); } this.state = 2410; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; } @@ -25407,7 +25407,7 @@ function From_alias_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_from_alias_clause; + this.ruleIndex = HiveSql.RULE_from_alias_clause; return this; } @@ -25419,11 +25419,11 @@ From_alias_clauseContext.prototype.ident = function() { }; From_alias_clauseContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; From_alias_clauseContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; From_alias_clauseContext.prototype.L_ID = function(i) { @@ -25431,15 +25431,15 @@ From_alias_clauseContext.prototype.L_ID = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.L_ID); + return this.getTokens(HiveSql.L_ID); } else { - return this.getToken(HiveSqlParser.L_ID, i); + return this.getToken(HiveSql.L_ID, i); } }; From_alias_clauseContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; From_alias_clauseContext.prototype.T_COMMA = function(i) { @@ -25447,27 +25447,27 @@ From_alias_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; From_alias_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFrom_alias_clause(this); } }; From_alias_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFrom_alias_clause(this); } }; From_alias_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFrom_alias_clause(this); } else { return visitor.visitChildren(this); @@ -25477,12 +25477,12 @@ From_alias_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.From_alias_clauseContext = From_alias_clauseContext; +HiveSql.From_alias_clauseContext = From_alias_clauseContext; -HiveSqlParser.prototype.from_alias_clause = function() { +HiveSql.prototype.from_alias_clause = function() { var localctx = new From_alias_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 326, HiveSqlParser.RULE_from_alias_clause); + this.enterRule(localctx, 326, HiveSql.RULE_from_alias_clause); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -25503,7 +25503,7 @@ HiveSqlParser.prototype.from_alias_clause = function() { var la_ = this._interp.adaptivePredict(this._input,297,this._ctx); if(la_===1) { this.state = 2415; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 2418; @@ -25513,23 +25513,23 @@ HiveSqlParser.prototype.from_alias_clause = function() { var la_ = this._interp.adaptivePredict(this._input,299,this._ctx); if(la_===1) { this.state = 2419; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2420; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 2425; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2421; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2422; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 2427; this._errHandler.sync(this); _la = this._input.LA(1); } this.state = 2428; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } } catch (re) { @@ -25556,7 +25556,7 @@ function Table_nameContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_table_name; + this.ruleIndex = HiveSql.RULE_table_name; return this; } @@ -25568,19 +25568,19 @@ Table_nameContext.prototype.ident = function() { }; Table_nameContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterTable_name(this); } }; Table_nameContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitTable_name(this); } }; Table_nameContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitTable_name(this); } else { return visitor.visitChildren(this); @@ -25590,12 +25590,12 @@ Table_nameContext.prototype.accept = function(visitor) { -HiveSqlParser.Table_nameContext = Table_nameContext; +HiveSql.Table_nameContext = Table_nameContext; -HiveSqlParser.prototype.table_name = function() { +HiveSql.prototype.table_name = function() { var localctx = new Table_nameContext(this, this._ctx, this.state); - this.enterRule(localctx, 328, HiveSqlParser.RULE_table_name); + this.enterRule(localctx, 328, HiveSql.RULE_table_name); try { this.enterOuterAlt(localctx, 1); this.state = 2431; @@ -25624,7 +25624,7 @@ function Where_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_where_clause; + this.ruleIndex = HiveSql.RULE_where_clause; return this; } @@ -25632,7 +25632,7 @@ Where_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Where_clauseContext.prototype.constructor = Where_clauseContext; Where_clauseContext.prototype.T_WHERE = function() { - return this.getToken(HiveSqlParser.T_WHERE, 0); + return this.getToken(HiveSql.T_WHERE, 0); }; Where_clauseContext.prototype.bool_expr = function() { @@ -25640,19 +25640,19 @@ Where_clauseContext.prototype.bool_expr = function() { }; Where_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterWhere_clause(this); } }; Where_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitWhere_clause(this); } }; Where_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitWhere_clause(this); } else { return visitor.visitChildren(this); @@ -25662,16 +25662,16 @@ Where_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Where_clauseContext = Where_clauseContext; +HiveSql.Where_clauseContext = Where_clauseContext; -HiveSqlParser.prototype.where_clause = function() { +HiveSql.prototype.where_clause = function() { var localctx = new Where_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 330, HiveSqlParser.RULE_where_clause); + this.enterRule(localctx, 330, HiveSql.RULE_where_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2433; - this.match(HiveSqlParser.T_WHERE); + this.match(HiveSql.T_WHERE); this.state = 2434; this.bool_expr(0); } catch (re) { @@ -25698,7 +25698,7 @@ function Group_by_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_group_by_clause; + this.ruleIndex = HiveSql.RULE_group_by_clause; return this; } @@ -25706,11 +25706,11 @@ Group_by_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.protot Group_by_clauseContext.prototype.constructor = Group_by_clauseContext; Group_by_clauseContext.prototype.T_GROUP = function() { - return this.getToken(HiveSqlParser.T_GROUP, 0); + return this.getToken(HiveSql.T_GROUP, 0); }; Group_by_clauseContext.prototype.T_BY = function() { - return this.getToken(HiveSqlParser.T_BY, 0); + return this.getToken(HiveSql.T_BY, 0); }; Group_by_clauseContext.prototype.expr = function(i) { @@ -25729,27 +25729,27 @@ Group_by_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Group_by_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterGroup_by_clause(this); } }; Group_by_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitGroup_by_clause(this); } }; Group_by_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitGroup_by_clause(this); } else { return visitor.visitChildren(this); @@ -25759,18 +25759,18 @@ Group_by_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Group_by_clauseContext = Group_by_clauseContext; +HiveSql.Group_by_clauseContext = Group_by_clauseContext; -HiveSqlParser.prototype.group_by_clause = function() { +HiveSql.prototype.group_by_clause = function() { var localctx = new Group_by_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 332, HiveSqlParser.RULE_group_by_clause); + this.enterRule(localctx, 332, HiveSql.RULE_group_by_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2436; - this.match(HiveSqlParser.T_GROUP); + this.match(HiveSql.T_GROUP); this.state = 2437; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 2438; this.expr(0); this.state = 2443; @@ -25779,7 +25779,7 @@ HiveSqlParser.prototype.group_by_clause = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2439; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2440; this.expr(0); } @@ -25812,7 +25812,7 @@ function Having_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_having_clause; + this.ruleIndex = HiveSql.RULE_having_clause; return this; } @@ -25820,7 +25820,7 @@ Having_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Having_clauseContext.prototype.constructor = Having_clauseContext; Having_clauseContext.prototype.T_HAVING = function() { - return this.getToken(HiveSqlParser.T_HAVING, 0); + return this.getToken(HiveSql.T_HAVING, 0); }; Having_clauseContext.prototype.bool_expr = function() { @@ -25828,19 +25828,19 @@ Having_clauseContext.prototype.bool_expr = function() { }; Having_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterHaving_clause(this); } }; Having_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitHaving_clause(this); } }; Having_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitHaving_clause(this); } else { return visitor.visitChildren(this); @@ -25850,16 +25850,16 @@ Having_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Having_clauseContext = Having_clauseContext; +HiveSql.Having_clauseContext = Having_clauseContext; -HiveSqlParser.prototype.having_clause = function() { +HiveSql.prototype.having_clause = function() { var localctx = new Having_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 334, HiveSqlParser.RULE_having_clause); + this.enterRule(localctx, 334, HiveSql.RULE_having_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2446; - this.match(HiveSqlParser.T_HAVING); + this.match(HiveSql.T_HAVING); this.state = 2447; this.bool_expr(0); } catch (re) { @@ -25886,7 +25886,7 @@ function Qualify_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_qualify_clause; + this.ruleIndex = HiveSql.RULE_qualify_clause; return this; } @@ -25894,7 +25894,7 @@ Qualify_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.prototy Qualify_clauseContext.prototype.constructor = Qualify_clauseContext; Qualify_clauseContext.prototype.T_QUALIFY = function() { - return this.getToken(HiveSqlParser.T_QUALIFY, 0); + return this.getToken(HiveSql.T_QUALIFY, 0); }; Qualify_clauseContext.prototype.bool_expr = function() { @@ -25902,19 +25902,19 @@ Qualify_clauseContext.prototype.bool_expr = function() { }; Qualify_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterQualify_clause(this); } }; Qualify_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitQualify_clause(this); } }; Qualify_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitQualify_clause(this); } else { return visitor.visitChildren(this); @@ -25924,16 +25924,16 @@ Qualify_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Qualify_clauseContext = Qualify_clauseContext; +HiveSql.Qualify_clauseContext = Qualify_clauseContext; -HiveSqlParser.prototype.qualify_clause = function() { +HiveSql.prototype.qualify_clause = function() { var localctx = new Qualify_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 336, HiveSqlParser.RULE_qualify_clause); + this.enterRule(localctx, 336, HiveSql.RULE_qualify_clause); try { this.enterOuterAlt(localctx, 1); this.state = 2449; - this.match(HiveSqlParser.T_QUALIFY); + this.match(HiveSql.T_QUALIFY); this.state = 2450; this.bool_expr(0); } catch (re) { @@ -25960,7 +25960,7 @@ function Order_by_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_order_by_clause; + this.ruleIndex = HiveSql.RULE_order_by_clause; return this; } @@ -25968,11 +25968,11 @@ Order_by_clauseContext.prototype = Object.create(antlr4.ParserRuleContext.protot Order_by_clauseContext.prototype.constructor = Order_by_clauseContext; Order_by_clauseContext.prototype.T_ORDER = function() { - return this.getToken(HiveSqlParser.T_ORDER, 0); + return this.getToken(HiveSql.T_ORDER, 0); }; Order_by_clauseContext.prototype.T_BY = function() { - return this.getToken(HiveSqlParser.T_BY, 0); + return this.getToken(HiveSql.T_BY, 0); }; Order_by_clauseContext.prototype.expr = function(i) { @@ -25991,9 +25991,9 @@ Order_by_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; @@ -26003,9 +26003,9 @@ Order_by_clauseContext.prototype.T_ASC = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_ASC); + return this.getTokens(HiveSql.T_ASC); } else { - return this.getToken(HiveSqlParser.T_ASC, i); + return this.getToken(HiveSql.T_ASC, i); } }; @@ -26015,27 +26015,27 @@ Order_by_clauseContext.prototype.T_DESC = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_DESC); + return this.getTokens(HiveSql.T_DESC); } else { - return this.getToken(HiveSqlParser.T_DESC, i); + return this.getToken(HiveSql.T_DESC, i); } }; Order_by_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterOrder_by_clause(this); } }; Order_by_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitOrder_by_clause(this); } }; Order_by_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitOrder_by_clause(this); } else { return visitor.visitChildren(this); @@ -26045,19 +26045,19 @@ Order_by_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Order_by_clauseContext = Order_by_clauseContext; +HiveSql.Order_by_clauseContext = Order_by_clauseContext; -HiveSqlParser.prototype.order_by_clause = function() { +HiveSql.prototype.order_by_clause = function() { var localctx = new Order_by_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 338, HiveSqlParser.RULE_order_by_clause); + this.enterRule(localctx, 338, HiveSql.RULE_order_by_clause); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2452; - this.match(HiveSqlParser.T_ORDER); + this.match(HiveSql.T_ORDER); this.state = 2453; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 2454; this.expr(0); this.state = 2456; @@ -26066,7 +26066,7 @@ HiveSqlParser.prototype.order_by_clause = function() { if(la_===1) { this.state = 2455; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC)) { + if(!(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC)) { this._errHandler.recoverInline(this); } else { @@ -26081,7 +26081,7 @@ HiveSqlParser.prototype.order_by_clause = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2458; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2459; this.expr(0); this.state = 2461; @@ -26090,7 +26090,7 @@ HiveSqlParser.prototype.order_by_clause = function() { if(la_===1) { this.state = 2460; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ASC || _la===HiveSqlParser.T_DESC)) { + if(!(_la===HiveSql.T_ASC || _la===HiveSql.T_DESC)) { this._errHandler.recoverInline(this); } else { @@ -26129,7 +26129,7 @@ function Select_optionsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_options; + this.ruleIndex = HiveSql.RULE_select_options; return this; } @@ -26148,19 +26148,19 @@ Select_optionsContext.prototype.select_options_item = function(i) { }; Select_optionsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_options(this); } }; Select_optionsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_options(this); } }; Select_optionsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_options(this); } else { return visitor.visitChildren(this); @@ -26170,12 +26170,12 @@ Select_optionsContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_optionsContext = Select_optionsContext; +HiveSql.Select_optionsContext = Select_optionsContext; -HiveSqlParser.prototype.select_options = function() { +HiveSql.prototype.select_options = function() { var localctx = new Select_optionsContext(this, this._ctx, this.state); - this.enterRule(localctx, 340, HiveSqlParser.RULE_select_options); + this.enterRule(localctx, 340, HiveSql.RULE_select_options); try { this.enterOuterAlt(localctx, 1); this.state = 2469; @@ -26218,7 +26218,7 @@ function Select_options_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_select_options_item; + this.ruleIndex = HiveSql.RULE_select_options_item; return this; } @@ -26226,7 +26226,7 @@ Select_options_itemContext.prototype = Object.create(antlr4.ParserRuleContext.pr Select_options_itemContext.prototype.constructor = Select_options_itemContext; Select_options_itemContext.prototype.T_LIMIT = function() { - return this.getToken(HiveSqlParser.T_LIMIT, 0); + return this.getToken(HiveSql.T_LIMIT, 0); }; Select_options_itemContext.prototype.expr = function() { @@ -26234,67 +26234,67 @@ Select_options_itemContext.prototype.expr = function() { }; Select_options_itemContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Select_options_itemContext.prototype.T_RR = function() { - return this.getToken(HiveSqlParser.T_RR, 0); + return this.getToken(HiveSql.T_RR, 0); }; Select_options_itemContext.prototype.T_RS = function() { - return this.getToken(HiveSqlParser.T_RS, 0); + return this.getToken(HiveSql.T_RS, 0); }; Select_options_itemContext.prototype.T_CS = function() { - return this.getToken(HiveSqlParser.T_CS, 0); + return this.getToken(HiveSql.T_CS, 0); }; Select_options_itemContext.prototype.T_UR = function() { - return this.getToken(HiveSqlParser.T_UR, 0); + return this.getToken(HiveSql.T_UR, 0); }; Select_options_itemContext.prototype.T_USE = function() { - return this.getToken(HiveSqlParser.T_USE, 0); + return this.getToken(HiveSql.T_USE, 0); }; Select_options_itemContext.prototype.T_AND = function() { - return this.getToken(HiveSqlParser.T_AND, 0); + return this.getToken(HiveSql.T_AND, 0); }; Select_options_itemContext.prototype.T_KEEP = function() { - return this.getToken(HiveSqlParser.T_KEEP, 0); + return this.getToken(HiveSql.T_KEEP, 0); }; Select_options_itemContext.prototype.T_LOCKS = function() { - return this.getToken(HiveSqlParser.T_LOCKS, 0); + return this.getToken(HiveSql.T_LOCKS, 0); }; Select_options_itemContext.prototype.T_EXCLUSIVE = function() { - return this.getToken(HiveSqlParser.T_EXCLUSIVE, 0); + return this.getToken(HiveSql.T_EXCLUSIVE, 0); }; Select_options_itemContext.prototype.T_UPDATE = function() { - return this.getToken(HiveSqlParser.T_UPDATE, 0); + return this.getToken(HiveSql.T_UPDATE, 0); }; Select_options_itemContext.prototype.T_SHARE = function() { - return this.getToken(HiveSqlParser.T_SHARE, 0); + return this.getToken(HiveSql.T_SHARE, 0); }; Select_options_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSelect_options_item(this); } }; Select_options_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSelect_options_item(this); } }; Select_options_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSelect_options_item(this); } else { return visitor.visitChildren(this); @@ -26304,31 +26304,31 @@ Select_options_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Select_options_itemContext = Select_options_itemContext; +HiveSql.Select_options_itemContext = Select_options_itemContext; -HiveSqlParser.prototype.select_options_item = function() { +HiveSql.prototype.select_options_item = function() { var localctx = new Select_options_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 342, HiveSqlParser.RULE_select_options_item); + this.enterRule(localctx, 342, HiveSql.RULE_select_options_item); var _la = 0; // Token type try { this.state = 2484; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_LIMIT: + case HiveSql.T_LIMIT: this.enterOuterAlt(localctx, 1); this.state = 2473; - this.match(HiveSqlParser.T_LIMIT); + this.match(HiveSql.T_LIMIT); this.state = 2474; this.expr(0); break; - case HiveSqlParser.T_WITH: + case HiveSql.T_WITH: this.enterOuterAlt(localctx, 2); this.state = 2475; - this.match(HiveSqlParser.T_WITH); + this.match(HiveSql.T_WITH); this.state = 2476; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_CS || _la===HiveSqlParser.T_RR || _la===HiveSqlParser.T_RS || _la===HiveSqlParser.T_UR)) { + if(!(_la===HiveSql.T_CS || _la===HiveSql.T_RR || _la===HiveSql.T_RS || _la===HiveSql.T_UR)) { this._errHandler.recoverInline(this); } else { @@ -26340,14 +26340,14 @@ HiveSqlParser.prototype.select_options_item = function() { var la_ = this._interp.adaptivePredict(this._input,305,this._ctx); if(la_===1) { this.state = 2477; - this.match(HiveSqlParser.T_USE); + this.match(HiveSql.T_USE); this.state = 2478; - this.match(HiveSqlParser.T_AND); + this.match(HiveSql.T_AND); this.state = 2479; - this.match(HiveSqlParser.T_KEEP); + this.match(HiveSql.T_KEEP); this.state = 2480; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_EXCLUSIVE || _la===HiveSqlParser.T_SHARE || _la===HiveSqlParser.T_UPDATE)) { + if(!(_la===HiveSql.T_EXCLUSIVE || _la===HiveSql.T_SHARE || _la===HiveSql.T_UPDATE)) { this._errHandler.recoverInline(this); } else { @@ -26355,7 +26355,7 @@ HiveSqlParser.prototype.select_options_item = function() { this.consume(); } this.state = 2481; - this.match(HiveSqlParser.T_LOCKS); + this.match(HiveSql.T_LOCKS); } break; @@ -26386,7 +26386,7 @@ function Update_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_update_stmt; + this.ruleIndex = HiveSql.RULE_update_stmt; return this; } @@ -26394,7 +26394,7 @@ Update_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Update_stmtContext.prototype.constructor = Update_stmtContext; Update_stmtContext.prototype.T_UPDATE = function() { - return this.getToken(HiveSqlParser.T_UPDATE, 0); + return this.getToken(HiveSql.T_UPDATE, 0); }; Update_stmtContext.prototype.update_table = function() { @@ -26402,7 +26402,7 @@ Update_stmtContext.prototype.update_table = function() { }; Update_stmtContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Update_stmtContext.prototype.update_assignment = function() { @@ -26418,19 +26418,19 @@ Update_stmtContext.prototype.update_upsert = function() { }; Update_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterUpdate_stmt(this); } }; Update_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitUpdate_stmt(this); } }; Update_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitUpdate_stmt(this); } else { return visitor.visitChildren(this); @@ -26440,20 +26440,20 @@ Update_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Update_stmtContext = Update_stmtContext; +HiveSql.Update_stmtContext = Update_stmtContext; -HiveSqlParser.prototype.update_stmt = function() { +HiveSql.prototype.update_stmt = function() { var localctx = new Update_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 344, HiveSqlParser.RULE_update_stmt); + this.enterRule(localctx, 344, HiveSql.RULE_update_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2486; - this.match(HiveSqlParser.T_UPDATE); + this.match(HiveSql.T_UPDATE); this.state = 2487; this.update_table(); this.state = 2488; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); this.state = 2489; this.update_assignment(); this.state = 2491; @@ -26496,7 +26496,7 @@ function Update_assignmentContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_update_assignment; + this.ruleIndex = HiveSql.RULE_update_assignment; return this; } @@ -26519,27 +26519,27 @@ Update_assignmentContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Update_assignmentContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterUpdate_assignment(this); } }; Update_assignmentContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitUpdate_assignment(this); } }; Update_assignmentContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitUpdate_assignment(this); } else { return visitor.visitChildren(this); @@ -26549,12 +26549,12 @@ Update_assignmentContext.prototype.accept = function(visitor) { -HiveSqlParser.Update_assignmentContext = Update_assignmentContext; +HiveSql.Update_assignmentContext = Update_assignmentContext; -HiveSqlParser.prototype.update_assignment = function() { +HiveSql.prototype.update_assignment = function() { var localctx = new Update_assignmentContext(this, this._ctx, this.state); - this.enterRule(localctx, 346, HiveSqlParser.RULE_update_assignment); + this.enterRule(localctx, 346, HiveSql.RULE_update_assignment); try { this.enterOuterAlt(localctx, 1); this.state = 2496; @@ -26565,7 +26565,7 @@ HiveSqlParser.prototype.update_assignment = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2497; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2498; this.assignment_stmt_item(); } @@ -26598,7 +26598,7 @@ function Update_tableContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_update_table; + this.ruleIndex = HiveSql.RULE_update_table; return this; } @@ -26610,7 +26610,7 @@ Update_tableContext.prototype.table_name = function() { }; Update_tableContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Update_tableContext.prototype.select_stmt = function() { @@ -26618,7 +26618,7 @@ Update_tableContext.prototype.select_stmt = function() { }; Update_tableContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Update_tableContext.prototype.ident = function() { @@ -26630,23 +26630,23 @@ Update_tableContext.prototype.from_clause = function() { }; Update_tableContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Update_tableContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterUpdate_table(this); } }; Update_tableContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitUpdate_table(this); } }; Update_tableContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitUpdate_table(this); } else { return visitor.visitChildren(this); @@ -26656,336 +26656,336 @@ Update_tableContext.prototype.accept = function(visitor) { -HiveSqlParser.Update_tableContext = Update_tableContext; +HiveSql.Update_tableContext = Update_tableContext; -HiveSqlParser.prototype.update_table = function() { +HiveSql.prototype.update_table = function() { var localctx = new Update_tableContext(this, this._ctx, this.state); - this.enterRule(localctx, 348, HiveSqlParser.RULE_update_table); + this.enterRule(localctx, 348, HiveSql.RULE_update_table); try { this.enterOuterAlt(localctx, 1); this.state = 2512; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: this.state = 2504; this.table_name(); this.state = 2506; @@ -26997,13 +26997,13 @@ HiveSqlParser.prototype.update_table = function() { } break; - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_OPEN_P: this.state = 2508; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2509; this.select_stmt(); this.state = 2510; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; default: throw new antlr4.error.NoViableAltException(this); @@ -27017,7 +27017,7 @@ HiveSqlParser.prototype.update_table = function() { var la_ = this._interp.adaptivePredict(this._input,312,this._ctx); if(la_===1) { this.state = 2514; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 2517; @@ -27048,7 +27048,7 @@ function Update_upsertContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_update_upsert; + this.ruleIndex = HiveSql.RULE_update_upsert; return this; } @@ -27056,7 +27056,7 @@ Update_upsertContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Update_upsertContext.prototype.constructor = Update_upsertContext; Update_upsertContext.prototype.T_ELSE = function() { - return this.getToken(HiveSqlParser.T_ELSE, 0); + return this.getToken(HiveSql.T_ELSE, 0); }; Update_upsertContext.prototype.insert_stmt = function() { @@ -27064,19 +27064,19 @@ Update_upsertContext.prototype.insert_stmt = function() { }; Update_upsertContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterUpdate_upsert(this); } }; Update_upsertContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitUpdate_upsert(this); } }; Update_upsertContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitUpdate_upsert(this); } else { return visitor.visitChildren(this); @@ -27086,16 +27086,16 @@ Update_upsertContext.prototype.accept = function(visitor) { -HiveSqlParser.Update_upsertContext = Update_upsertContext; +HiveSql.Update_upsertContext = Update_upsertContext; -HiveSqlParser.prototype.update_upsert = function() { +HiveSql.prototype.update_upsert = function() { var localctx = new Update_upsertContext(this, this._ctx, this.state); - this.enterRule(localctx, 350, HiveSqlParser.RULE_update_upsert); + this.enterRule(localctx, 350, HiveSql.RULE_update_upsert); try { this.enterOuterAlt(localctx, 1); this.state = 2520; - this.match(HiveSqlParser.T_ELSE); + this.match(HiveSql.T_ELSE); this.state = 2521; this.insert_stmt(); } catch (re) { @@ -27122,7 +27122,7 @@ function Merge_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_merge_stmt; + this.ruleIndex = HiveSql.RULE_merge_stmt; return this; } @@ -27130,11 +27130,11 @@ Merge_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Merge_stmtContext.prototype.constructor = Merge_stmtContext; Merge_stmtContext.prototype.T_MERGE = function() { - return this.getToken(HiveSqlParser.T_MERGE, 0); + return this.getToken(HiveSql.T_MERGE, 0); }; Merge_stmtContext.prototype.T_INTO = function() { - return this.getToken(HiveSqlParser.T_INTO, 0); + return this.getToken(HiveSql.T_INTO, 0); }; Merge_stmtContext.prototype.merge_table = function(i) { @@ -27149,11 +27149,11 @@ Merge_stmtContext.prototype.merge_table = function(i) { }; Merge_stmtContext.prototype.T_USING = function() { - return this.getToken(HiveSqlParser.T_USING, 0); + return this.getToken(HiveSql.T_USING, 0); }; Merge_stmtContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Merge_stmtContext.prototype.bool_expr = function() { @@ -27172,19 +27172,19 @@ Merge_stmtContext.prototype.merge_condition = function(i) { }; Merge_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterMerge_stmt(this); } }; Merge_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitMerge_stmt(this); } }; Merge_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitMerge_stmt(this); } else { return visitor.visitChildren(this); @@ -27194,26 +27194,26 @@ Merge_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Merge_stmtContext = Merge_stmtContext; +HiveSql.Merge_stmtContext = Merge_stmtContext; -HiveSqlParser.prototype.merge_stmt = function() { +HiveSql.prototype.merge_stmt = function() { var localctx = new Merge_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 352, HiveSqlParser.RULE_merge_stmt); + this.enterRule(localctx, 352, HiveSql.RULE_merge_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2523; - this.match(HiveSqlParser.T_MERGE); + this.match(HiveSql.T_MERGE); this.state = 2524; - this.match(HiveSqlParser.T_INTO); + this.match(HiveSql.T_INTO); this.state = 2525; this.merge_table(); this.state = 2526; - this.match(HiveSqlParser.T_USING); + this.match(HiveSql.T_USING); this.state = 2527; this.merge_table(); this.state = 2528; - this.match(HiveSqlParser.T_ON); + this.match(HiveSql.T_ON); this.state = 2529; this.bool_expr(0); this.state = 2531; @@ -27256,7 +27256,7 @@ function Merge_tableContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_merge_table; + this.ruleIndex = HiveSql.RULE_merge_table; return this; } @@ -27272,7 +27272,7 @@ Merge_tableContext.prototype.ident = function() { }; Merge_tableContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Merge_tableContext.prototype.select_stmt = function() { @@ -27280,27 +27280,27 @@ Merge_tableContext.prototype.select_stmt = function() { }; Merge_tableContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Merge_tableContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Merge_tableContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterMerge_table(this); } }; Merge_tableContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitMerge_table(this); } }; Merge_tableContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitMerge_table(this); } else { return visitor.visitChildren(this); @@ -27310,346 +27310,346 @@ Merge_tableContext.prototype.accept = function(visitor) { -HiveSqlParser.Merge_tableContext = Merge_tableContext; +HiveSql.Merge_tableContext = Merge_tableContext; -HiveSqlParser.prototype.merge_table = function() { +HiveSql.prototype.merge_table = function() { var localctx = new Merge_tableContext(this, this._ctx, this.state); - this.enterRule(localctx, 354, HiveSqlParser.RULE_merge_table); + this.enterRule(localctx, 354, HiveSql.RULE_merge_table); try { this.enterOuterAlt(localctx, 1); this.state = 2540; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: this.state = 2535; this.table_name(); break; - case HiveSqlParser.T_OPEN_P: + case HiveSql.T_OPEN_P: this.state = 2536; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2537; this.select_stmt(); this.state = 2538; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; default: throw new antlr4.error.NoViableAltException(this); @@ -27663,7 +27663,7 @@ HiveSqlParser.prototype.merge_table = function() { var la_ = this._interp.adaptivePredict(this._input,316,this._ctx); if(la_===1) { this.state = 2542; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 2545; @@ -27694,7 +27694,7 @@ function Merge_conditionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_merge_condition; + this.ruleIndex = HiveSql.RULE_merge_condition; return this; } @@ -27702,15 +27702,15 @@ Merge_conditionContext.prototype = Object.create(antlr4.ParserRuleContext.protot Merge_conditionContext.prototype.constructor = Merge_conditionContext; Merge_conditionContext.prototype.T_WHEN = function() { - return this.getToken(HiveSqlParser.T_WHEN, 0); + return this.getToken(HiveSql.T_WHEN, 0); }; Merge_conditionContext.prototype.T_MATCHED = function() { - return this.getToken(HiveSqlParser.T_MATCHED, 0); + return this.getToken(HiveSql.T_MATCHED, 0); }; Merge_conditionContext.prototype.T_THEN = function() { - return this.getToken(HiveSqlParser.T_THEN, 0); + return this.getToken(HiveSql.T_THEN, 0); }; Merge_conditionContext.prototype.merge_action = function() { @@ -27718,11 +27718,11 @@ Merge_conditionContext.prototype.merge_action = function() { }; Merge_conditionContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Merge_conditionContext.prototype.T_AND = function() { - return this.getToken(HiveSqlParser.T_AND, 0); + return this.getToken(HiveSql.T_AND, 0); }; Merge_conditionContext.prototype.bool_expr = function() { @@ -27730,27 +27730,27 @@ Merge_conditionContext.prototype.bool_expr = function() { }; Merge_conditionContext.prototype.T_ELSE = function() { - return this.getToken(HiveSqlParser.T_ELSE, 0); + return this.getToken(HiveSql.T_ELSE, 0); }; Merge_conditionContext.prototype.T_IGNORE = function() { - return this.getToken(HiveSqlParser.T_IGNORE, 0); + return this.getToken(HiveSql.T_IGNORE, 0); }; Merge_conditionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterMerge_condition(this); } }; Merge_conditionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitMerge_condition(this); } }; Merge_conditionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitMerge_condition(this); } else { return visitor.visitChildren(this); @@ -27760,52 +27760,52 @@ Merge_conditionContext.prototype.accept = function(visitor) { -HiveSqlParser.Merge_conditionContext = Merge_conditionContext; +HiveSql.Merge_conditionContext = Merge_conditionContext; -HiveSqlParser.prototype.merge_condition = function() { +HiveSql.prototype.merge_condition = function() { var localctx = new Merge_conditionContext(this, this._ctx, this.state); - this.enterRule(localctx, 356, HiveSqlParser.RULE_merge_condition); + this.enterRule(localctx, 356, HiveSql.RULE_merge_condition); var _la = 0; // Token type try { this.state = 2561; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_WHEN: + case HiveSql.T_WHEN: this.enterOuterAlt(localctx, 1); this.state = 2548; - this.match(HiveSqlParser.T_WHEN); + this.match(HiveSql.T_WHEN); this.state = 2550; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 2549; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 2552; - this.match(HiveSqlParser.T_MATCHED); + this.match(HiveSql.T_MATCHED); this.state = 2555; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_AND) { + if(_la===HiveSql.T_AND) { this.state = 2553; - this.match(HiveSqlParser.T_AND); + this.match(HiveSql.T_AND); this.state = 2554; this.bool_expr(0); } this.state = 2557; - this.match(HiveSqlParser.T_THEN); + this.match(HiveSql.T_THEN); this.state = 2558; this.merge_action(); break; - case HiveSqlParser.T_ELSE: + case HiveSql.T_ELSE: this.enterOuterAlt(localctx, 2); this.state = 2559; - this.match(HiveSqlParser.T_ELSE); + this.match(HiveSql.T_ELSE); this.state = 2560; - this.match(HiveSqlParser.T_IGNORE); + this.match(HiveSql.T_IGNORE); break; default: throw new antlr4.error.NoViableAltException(this); @@ -27834,7 +27834,7 @@ function Merge_actionContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_merge_action; + this.ruleIndex = HiveSql.RULE_merge_action; return this; } @@ -27842,11 +27842,11 @@ Merge_actionContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Merge_actionContext.prototype.constructor = Merge_actionContext; Merge_actionContext.prototype.T_INSERT = function() { - return this.getToken(HiveSqlParser.T_INSERT, 0); + return this.getToken(HiveSql.T_INSERT, 0); }; Merge_actionContext.prototype.T_VALUES = function() { - return this.getToken(HiveSqlParser.T_VALUES, 0); + return this.getToken(HiveSql.T_VALUES, 0); }; Merge_actionContext.prototype.insert_stmt_row = function() { @@ -27858,11 +27858,11 @@ Merge_actionContext.prototype.insert_stmt_cols = function() { }; Merge_actionContext.prototype.T_UPDATE = function() { - return this.getToken(HiveSqlParser.T_UPDATE, 0); + return this.getToken(HiveSql.T_UPDATE, 0); }; Merge_actionContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Merge_actionContext.prototype.assignment_stmt_item = function(i) { @@ -27881,9 +27881,9 @@ Merge_actionContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; @@ -27893,23 +27893,23 @@ Merge_actionContext.prototype.where_clause = function() { }; Merge_actionContext.prototype.T_DELETE = function() { - return this.getToken(HiveSqlParser.T_DELETE, 0); + return this.getToken(HiveSql.T_DELETE, 0); }; Merge_actionContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterMerge_action(this); } }; Merge_actionContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitMerge_action(this); } }; Merge_actionContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitMerge_action(this); } else { return visitor.visitChildren(this); @@ -27919,40 +27919,40 @@ Merge_actionContext.prototype.accept = function(visitor) { -HiveSqlParser.Merge_actionContext = Merge_actionContext; +HiveSql.Merge_actionContext = Merge_actionContext; -HiveSqlParser.prototype.merge_action = function() { +HiveSql.prototype.merge_action = function() { var localctx = new Merge_actionContext(this, this._ctx, this.state); - this.enterRule(localctx, 358, HiveSqlParser.RULE_merge_action); + this.enterRule(localctx, 358, HiveSql.RULE_merge_action); var _la = 0; // Token type try { this.state = 2583; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_INSERT: + case HiveSql.T_INSERT: this.enterOuterAlt(localctx, 1); this.state = 2563; - this.match(HiveSqlParser.T_INSERT); + this.match(HiveSql.T_INSERT); this.state = 2565; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OPEN_P) { + if(_la===HiveSql.T_OPEN_P) { this.state = 2564; this.insert_stmt_cols(); } this.state = 2567; - this.match(HiveSqlParser.T_VALUES); + this.match(HiveSql.T_VALUES); this.state = 2568; this.insert_stmt_row(); break; - case HiveSqlParser.T_UPDATE: + case HiveSql.T_UPDATE: this.enterOuterAlt(localctx, 2); this.state = 2569; - this.match(HiveSqlParser.T_UPDATE); + this.match(HiveSql.T_UPDATE); this.state = 2570; - this.match(HiveSqlParser.T_SET); + this.match(HiveSql.T_SET); this.state = 2571; this.assignment_stmt_item(); this.state = 2576; @@ -27961,7 +27961,7 @@ HiveSqlParser.prototype.merge_action = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 2572; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2573; this.assignment_stmt_item(); } @@ -27979,10 +27979,10 @@ HiveSqlParser.prototype.merge_action = function() { } break; - case HiveSqlParser.T_DELETE: + case HiveSql.T_DELETE: this.enterOuterAlt(localctx, 3); this.state = 2582; - this.match(HiveSqlParser.T_DELETE); + this.match(HiveSql.T_DELETE); break; default: throw new antlr4.error.NoViableAltException(this); @@ -28011,7 +28011,7 @@ function Delete_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_delete_stmt; + this.ruleIndex = HiveSql.RULE_delete_stmt; return this; } @@ -28019,7 +28019,7 @@ Delete_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype) Delete_stmtContext.prototype.constructor = Delete_stmtContext; Delete_stmtContext.prototype.T_DELETE = function() { - return this.getToken(HiveSqlParser.T_DELETE, 0); + return this.getToken(HiveSql.T_DELETE, 0); }; Delete_stmtContext.prototype.table_name = function() { @@ -28027,7 +28027,7 @@ Delete_stmtContext.prototype.table_name = function() { }; Delete_stmtContext.prototype.T_FROM = function() { - return this.getToken(HiveSqlParser.T_FROM, 0); + return this.getToken(HiveSql.T_FROM, 0); }; Delete_stmtContext.prototype.delete_alias = function() { @@ -28039,23 +28039,23 @@ Delete_stmtContext.prototype.where_clause = function() { }; Delete_stmtContext.prototype.T_ALL = function() { - return this.getToken(HiveSqlParser.T_ALL, 0); + return this.getToken(HiveSql.T_ALL, 0); }; Delete_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDelete_stmt(this); } }; Delete_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDelete_stmt(this); } }; Delete_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDelete_stmt(this); } else { return visitor.visitChildren(this); @@ -28065,22 +28065,22 @@ Delete_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Delete_stmtContext = Delete_stmtContext; +HiveSql.Delete_stmtContext = Delete_stmtContext; -HiveSqlParser.prototype.delete_stmt = function() { +HiveSql.prototype.delete_stmt = function() { var localctx = new Delete_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 360, HiveSqlParser.RULE_delete_stmt); + this.enterRule(localctx, 360, HiveSql.RULE_delete_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 2585; - this.match(HiveSqlParser.T_DELETE); + this.match(HiveSql.T_DELETE); this.state = 2587; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,325,this._ctx); if(la_===1) { this.state = 2586; - this.match(HiveSqlParser.T_FROM); + this.match(HiveSql.T_FROM); } this.state = 2589; @@ -28102,7 +28102,7 @@ HiveSqlParser.prototype.delete_stmt = function() { } else if(la_===2) { this.state = 2594; - this.match(HiveSqlParser.T_ALL); + this.match(HiveSql.T_ALL); } } catch (re) { @@ -28129,7 +28129,7 @@ function Delete_aliasContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_delete_alias; + this.ruleIndex = HiveSql.RULE_delete_alias; return this; } @@ -28141,23 +28141,23 @@ Delete_aliasContext.prototype.ident = function() { }; Delete_aliasContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Delete_aliasContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDelete_alias(this); } }; Delete_aliasContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDelete_alias(this); } }; Delete_aliasContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDelete_alias(this); } else { return visitor.visitChildren(this); @@ -28167,12 +28167,12 @@ Delete_aliasContext.prototype.accept = function(visitor) { -HiveSqlParser.Delete_aliasContext = Delete_aliasContext; +HiveSql.Delete_aliasContext = Delete_aliasContext; -HiveSqlParser.prototype.delete_alias = function() { +HiveSql.prototype.delete_alias = function() { var localctx = new Delete_aliasContext(this, this._ctx, this.state); - this.enterRule(localctx, 362, HiveSqlParser.RULE_delete_alias); + this.enterRule(localctx, 362, HiveSql.RULE_delete_alias); try { this.enterOuterAlt(localctx, 1); this.state = 2597; @@ -28184,7 +28184,7 @@ HiveSqlParser.prototype.delete_alias = function() { var la_ = this._interp.adaptivePredict(this._input,328,this._ctx); if(la_===1) { this.state = 2598; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); } this.state = 2601; @@ -28213,7 +28213,7 @@ function Describe_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_describe_stmt; + this.ruleIndex = HiveSql.RULE_describe_stmt; return this; } @@ -28225,31 +28225,31 @@ Describe_stmtContext.prototype.table_name = function() { }; Describe_stmtContext.prototype.T_DESCRIBE = function() { - return this.getToken(HiveSqlParser.T_DESCRIBE, 0); + return this.getToken(HiveSql.T_DESCRIBE, 0); }; Describe_stmtContext.prototype.T_DESC = function() { - return this.getToken(HiveSqlParser.T_DESC, 0); + return this.getToken(HiveSql.T_DESC, 0); }; Describe_stmtContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Describe_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDescribe_stmt(this); } }; Describe_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDescribe_stmt(this); } }; Describe_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDescribe_stmt(this); } else { return visitor.visitChildren(this); @@ -28259,18 +28259,18 @@ Describe_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Describe_stmtContext = Describe_stmtContext; +HiveSql.Describe_stmtContext = Describe_stmtContext; -HiveSqlParser.prototype.describe_stmt = function() { +HiveSql.prototype.describe_stmt = function() { var localctx = new Describe_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 364, HiveSqlParser.RULE_describe_stmt); + this.enterRule(localctx, 364, HiveSql.RULE_describe_stmt); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2603; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DESC || _la===HiveSqlParser.T_DESCRIBE)) { + if(!(_la===HiveSql.T_DESC || _la===HiveSql.T_DESCRIBE)) { this._errHandler.recoverInline(this); } else { @@ -28282,7 +28282,7 @@ HiveSqlParser.prototype.describe_stmt = function() { var la_ = this._interp.adaptivePredict(this._input,329,this._ctx); if(la_===1) { this.state = 2604; - this.match(HiveSqlParser.T_TABLE); + this.match(HiveSql.T_TABLE); } this.state = 2607; @@ -28311,7 +28311,7 @@ function Bool_exprContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr; + this.ruleIndex = HiveSql.RULE_bool_expr; return this; } @@ -28319,7 +28319,7 @@ Bool_exprContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Bool_exprContext.prototype.constructor = Bool_exprContext; Bool_exprContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Bool_exprContext.prototype.bool_expr = function(i) { @@ -28334,11 +28334,11 @@ Bool_exprContext.prototype.bool_expr = function(i) { }; Bool_exprContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Bool_exprContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Bool_exprContext.prototype.bool_expr_atom = function() { @@ -28350,19 +28350,19 @@ Bool_exprContext.prototype.bool_expr_logical_operator = function() { }; Bool_exprContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr(this); } }; Bool_exprContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr(this); } }; Bool_exprContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr(this); } else { return visitor.visitChildren(this); @@ -28371,7 +28371,7 @@ Bool_exprContext.prototype.accept = function(visitor) { -HiveSqlParser.prototype.bool_expr = function(_p) { +HiveSql.prototype.bool_expr = function(_p) { if(_p===undefined) { _p = 0; } @@ -28380,7 +28380,7 @@ HiveSqlParser.prototype.bool_expr = function(_p) { var localctx = new Bool_exprContext(this, this._ctx, _parentState); var _prevctx = localctx; var _startState = 366; - this.enterRecursionRule(localctx, 366, HiveSqlParser.RULE_bool_expr, _p); + this.enterRecursionRule(localctx, 366, HiveSql.RULE_bool_expr, _p); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -28392,17 +28392,17 @@ HiveSqlParser.prototype.bool_expr = function(_p) { this.state = 2611; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 2610; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 2613; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2614; this.bool_expr(0); this.state = 2615; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 2: @@ -28422,7 +28422,7 @@ HiveSqlParser.prototype.bool_expr = function(_p) { } _prevctx = localctx; localctx = new Bool_exprContext(this, _parentctx, _parentState); - this.pushNewRecursionContext(localctx, _startState, HiveSqlParser.RULE_bool_expr); + this.pushNewRecursionContext(localctx, _startState, HiveSql.RULE_bool_expr); this.state = 2620; if (!( this.precpred(this._ctx, 2))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 2)"); @@ -28461,7 +28461,7 @@ function Bool_expr_atomContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr_atom; + this.ruleIndex = HiveSql.RULE_bool_expr_atom; return this; } @@ -28481,19 +28481,19 @@ Bool_expr_atomContext.prototype.expr = function() { }; Bool_expr_atomContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr_atom(this); } }; Bool_expr_atomContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr_atom(this); } }; Bool_expr_atomContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr_atom(this); } else { return visitor.visitChildren(this); @@ -28503,12 +28503,12 @@ Bool_expr_atomContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_expr_atomContext = Bool_expr_atomContext; +HiveSql.Bool_expr_atomContext = Bool_expr_atomContext; -HiveSqlParser.prototype.bool_expr_atom = function() { +HiveSql.prototype.bool_expr_atom = function() { var localctx = new Bool_expr_atomContext(this, this._ctx, this.state); - this.enterRule(localctx, 368, HiveSqlParser.RULE_bool_expr_atom); + this.enterRule(localctx, 368, HiveSql.RULE_bool_expr_atom); try { this.state = 2632; this._errHandler.sync(this); @@ -28557,7 +28557,7 @@ function Bool_expr_unaryContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr_unary; + this.ruleIndex = HiveSql.RULE_bool_expr_unary; return this; } @@ -28576,31 +28576,31 @@ Bool_expr_unaryContext.prototype.expr = function(i) { }; Bool_expr_unaryContext.prototype.T_IS = function() { - return this.getToken(HiveSqlParser.T_IS, 0); + return this.getToken(HiveSql.T_IS, 0); }; Bool_expr_unaryContext.prototype.T_NULL = function() { - return this.getToken(HiveSqlParser.T_NULL, 0); + return this.getToken(HiveSql.T_NULL, 0); }; Bool_expr_unaryContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Bool_expr_unaryContext.prototype.T_BETWEEN = function() { - return this.getToken(HiveSqlParser.T_BETWEEN, 0); + return this.getToken(HiveSql.T_BETWEEN, 0); }; Bool_expr_unaryContext.prototype.T_AND = function() { - return this.getToken(HiveSqlParser.T_AND, 0); + return this.getToken(HiveSql.T_AND, 0); }; Bool_expr_unaryContext.prototype.T_EXISTS = function() { - return this.getToken(HiveSqlParser.T_EXISTS, 0); + return this.getToken(HiveSql.T_EXISTS, 0); }; Bool_expr_unaryContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Bool_expr_unaryContext.prototype.select_stmt = function() { @@ -28608,7 +28608,7 @@ Bool_expr_unaryContext.prototype.select_stmt = function() { }; Bool_expr_unaryContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Bool_expr_unaryContext.prototype.bool_expr_single_in = function() { @@ -28620,19 +28620,19 @@ Bool_expr_unaryContext.prototype.bool_expr_multi_in = function() { }; Bool_expr_unaryContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr_unary(this); } }; Bool_expr_unaryContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr_unary(this); } }; Bool_expr_unaryContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr_unary(this); } else { return visitor.visitChildren(this); @@ -28642,12 +28642,12 @@ Bool_expr_unaryContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_expr_unaryContext = Bool_expr_unaryContext; +HiveSql.Bool_expr_unaryContext = Bool_expr_unaryContext; -HiveSqlParser.prototype.bool_expr_unary = function() { +HiveSql.prototype.bool_expr_unary = function() { var localctx = new Bool_expr_unaryContext(this, this._ctx, this.state); - this.enterRule(localctx, 370, HiveSqlParser.RULE_bool_expr_unary); + this.enterRule(localctx, 370, HiveSql.RULE_bool_expr_unary); var _la = 0; // Token type try { this.state = 2657; @@ -28659,17 +28659,17 @@ HiveSqlParser.prototype.bool_expr_unary = function() { this.state = 2634; this.expr(0); this.state = 2635; - this.match(HiveSqlParser.T_IS); + this.match(HiveSql.T_IS); this.state = 2637; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 2636; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 2639; - this.match(HiveSqlParser.T_NULL); + this.match(HiveSql.T_NULL); break; case 2: @@ -28677,11 +28677,11 @@ HiveSqlParser.prototype.bool_expr_unary = function() { this.state = 2641; this.expr(0); this.state = 2642; - this.match(HiveSqlParser.T_BETWEEN); + this.match(HiveSql.T_BETWEEN); this.state = 2643; this.expr(0); this.state = 2644; - this.match(HiveSqlParser.T_AND); + this.match(HiveSql.T_AND); this.state = 2645; this.expr(0); break; @@ -28691,19 +28691,19 @@ HiveSqlParser.prototype.bool_expr_unary = function() { this.state = 2648; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 2647; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 2650; - this.match(HiveSqlParser.T_EXISTS); + this.match(HiveSql.T_EXISTS); this.state = 2651; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2652; this.select_stmt(); this.state = 2653; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 4: @@ -28743,7 +28743,7 @@ function Bool_expr_single_inContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr_single_in; + this.ruleIndex = HiveSql.RULE_bool_expr_single_in; return this; } @@ -28762,15 +28762,15 @@ Bool_expr_single_inContext.prototype.expr = function(i) { }; Bool_expr_single_inContext.prototype.T_IN = function() { - return this.getToken(HiveSqlParser.T_IN, 0); + return this.getToken(HiveSql.T_IN, 0); }; Bool_expr_single_inContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Bool_expr_single_inContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Bool_expr_single_inContext.prototype.select_stmt = function() { @@ -28778,7 +28778,7 @@ Bool_expr_single_inContext.prototype.select_stmt = function() { }; Bool_expr_single_inContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Bool_expr_single_inContext.prototype.T_COMMA = function(i) { @@ -28786,27 +28786,27 @@ Bool_expr_single_inContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Bool_expr_single_inContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr_single_in(this); } }; Bool_expr_single_inContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr_single_in(this); } }; Bool_expr_single_inContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr_single_in(this); } else { return visitor.visitChildren(this); @@ -28816,12 +28816,12 @@ Bool_expr_single_inContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_expr_single_inContext = Bool_expr_single_inContext; +HiveSql.Bool_expr_single_inContext = Bool_expr_single_inContext; -HiveSqlParser.prototype.bool_expr_single_in = function() { +HiveSql.prototype.bool_expr_single_in = function() { var localctx = new Bool_expr_single_inContext(this, this._ctx, this.state); - this.enterRule(localctx, 372, HiveSqlParser.RULE_bool_expr_single_in); + this.enterRule(localctx, 372, HiveSql.RULE_bool_expr_single_in); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -28830,15 +28830,15 @@ HiveSqlParser.prototype.bool_expr_single_in = function() { this.state = 2661; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 2660; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 2663; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); this.state = 2664; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2674; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,339,this._ctx); @@ -28849,9 +28849,9 @@ HiveSqlParser.prototype.bool_expr_single_in = function() { this.state = 2670; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2666; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2667; this.expr(0); this.state = 2672; @@ -28867,7 +28867,7 @@ HiveSqlParser.prototype.bool_expr_single_in = function() { } this.state = 2676; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -28892,7 +28892,7 @@ function Bool_expr_multi_inContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr_multi_in; + this.ruleIndex = HiveSql.RULE_bool_expr_multi_in; return this; } @@ -28904,9 +28904,9 @@ Bool_expr_multi_inContext.prototype.T_OPEN_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_OPEN_P); + return this.getTokens(HiveSql.T_OPEN_P); } else { - return this.getToken(HiveSqlParser.T_OPEN_P, i); + return this.getToken(HiveSql.T_OPEN_P, i); } }; @@ -28927,15 +28927,15 @@ Bool_expr_multi_inContext.prototype.T_CLOSE_P = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_CLOSE_P); + return this.getTokens(HiveSql.T_CLOSE_P); } else { - return this.getToken(HiveSqlParser.T_CLOSE_P, i); + return this.getToken(HiveSql.T_CLOSE_P, i); } }; Bool_expr_multi_inContext.prototype.T_IN = function() { - return this.getToken(HiveSqlParser.T_IN, 0); + return this.getToken(HiveSql.T_IN, 0); }; Bool_expr_multi_inContext.prototype.select_stmt = function() { @@ -28947,31 +28947,31 @@ Bool_expr_multi_inContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Bool_expr_multi_inContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Bool_expr_multi_inContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr_multi_in(this); } }; Bool_expr_multi_inContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr_multi_in(this); } }; Bool_expr_multi_inContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr_multi_in(this); } else { return visitor.visitChildren(this); @@ -28981,25 +28981,25 @@ Bool_expr_multi_inContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_expr_multi_inContext = Bool_expr_multi_inContext; +HiveSql.Bool_expr_multi_inContext = Bool_expr_multi_inContext; -HiveSqlParser.prototype.bool_expr_multi_in = function() { +HiveSql.prototype.bool_expr_multi_in = function() { var localctx = new Bool_expr_multi_inContext(this, this._ctx, this.state); - this.enterRule(localctx, 374, HiveSqlParser.RULE_bool_expr_multi_in); + this.enterRule(localctx, 374, HiveSql.RULE_bool_expr_multi_in); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2678; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2679; this.expr(0); this.state = 2684; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 2680; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2681; this.expr(0); this.state = 2686; @@ -29007,23 +29007,23 @@ HiveSqlParser.prototype.bool_expr_multi_in = function() { _la = this._input.LA(1); } this.state = 2687; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2689; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 2688; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 2691; - this.match(HiveSqlParser.T_IN); + this.match(HiveSql.T_IN); this.state = 2692; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2693; this.select_stmt(); this.state = 2694; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -29048,7 +29048,7 @@ function Bool_expr_binaryContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr_binary; + this.ruleIndex = HiveSql.RULE_bool_expr_binary; return this; } @@ -29071,19 +29071,19 @@ Bool_expr_binaryContext.prototype.bool_expr_binary_operator = function() { }; Bool_expr_binaryContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr_binary(this); } }; Bool_expr_binaryContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr_binary(this); } }; Bool_expr_binaryContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr_binary(this); } else { return visitor.visitChildren(this); @@ -29093,12 +29093,12 @@ Bool_expr_binaryContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_expr_binaryContext = Bool_expr_binaryContext; +HiveSql.Bool_expr_binaryContext = Bool_expr_binaryContext; -HiveSqlParser.prototype.bool_expr_binary = function() { +HiveSql.prototype.bool_expr_binary = function() { var localctx = new Bool_expr_binaryContext(this, this._ctx, this.state); - this.enterRule(localctx, 376, HiveSqlParser.RULE_bool_expr_binary); + this.enterRule(localctx, 376, HiveSql.RULE_bool_expr_binary); try { this.enterOuterAlt(localctx, 1); this.state = 2696; @@ -29131,7 +29131,7 @@ function Bool_expr_logical_operatorContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr_logical_operator; + this.ruleIndex = HiveSql.RULE_bool_expr_logical_operator; return this; } @@ -29139,27 +29139,27 @@ Bool_expr_logical_operatorContext.prototype = Object.create(antlr4.ParserRuleCon Bool_expr_logical_operatorContext.prototype.constructor = Bool_expr_logical_operatorContext; Bool_expr_logical_operatorContext.prototype.T_AND = function() { - return this.getToken(HiveSqlParser.T_AND, 0); + return this.getToken(HiveSql.T_AND, 0); }; Bool_expr_logical_operatorContext.prototype.T_OR = function() { - return this.getToken(HiveSqlParser.T_OR, 0); + return this.getToken(HiveSql.T_OR, 0); }; Bool_expr_logical_operatorContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr_logical_operator(this); } }; Bool_expr_logical_operatorContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr_logical_operator(this); } }; Bool_expr_logical_operatorContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr_logical_operator(this); } else { return visitor.visitChildren(this); @@ -29169,18 +29169,18 @@ Bool_expr_logical_operatorContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_expr_logical_operatorContext = Bool_expr_logical_operatorContext; +HiveSql.Bool_expr_logical_operatorContext = Bool_expr_logical_operatorContext; -HiveSqlParser.prototype.bool_expr_logical_operator = function() { +HiveSql.prototype.bool_expr_logical_operator = function() { var localctx = new Bool_expr_logical_operatorContext(this, this._ctx, this.state); - this.enterRule(localctx, 378, HiveSqlParser.RULE_bool_expr_logical_operator); + this.enterRule(localctx, 378, HiveSql.RULE_bool_expr_logical_operator); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2700; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_AND || _la===HiveSqlParser.T_OR)) { + if(!(_la===HiveSql.T_AND || _la===HiveSql.T_OR)) { this._errHandler.recoverInline(this); } else { @@ -29211,7 +29211,7 @@ function Bool_expr_binary_operatorContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_expr_binary_operator; + this.ruleIndex = HiveSql.RULE_bool_expr_binary_operator; return this; } @@ -29219,67 +29219,67 @@ Bool_expr_binary_operatorContext.prototype = Object.create(antlr4.ParserRuleCont Bool_expr_binary_operatorContext.prototype.constructor = Bool_expr_binary_operatorContext; Bool_expr_binary_operatorContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Bool_expr_binary_operatorContext.prototype.T_EQUAL2 = function() { - return this.getToken(HiveSqlParser.T_EQUAL2, 0); + return this.getToken(HiveSql.T_EQUAL2, 0); }; Bool_expr_binary_operatorContext.prototype.T_NOTEQUAL = function() { - return this.getToken(HiveSqlParser.T_NOTEQUAL, 0); + return this.getToken(HiveSql.T_NOTEQUAL, 0); }; Bool_expr_binary_operatorContext.prototype.T_NOTEQUAL2 = function() { - return this.getToken(HiveSqlParser.T_NOTEQUAL2, 0); + return this.getToken(HiveSql.T_NOTEQUAL2, 0); }; Bool_expr_binary_operatorContext.prototype.T_LESS = function() { - return this.getToken(HiveSqlParser.T_LESS, 0); + return this.getToken(HiveSql.T_LESS, 0); }; Bool_expr_binary_operatorContext.prototype.T_LESSEQUAL = function() { - return this.getToken(HiveSqlParser.T_LESSEQUAL, 0); + return this.getToken(HiveSql.T_LESSEQUAL, 0); }; Bool_expr_binary_operatorContext.prototype.T_GREATER = function() { - return this.getToken(HiveSqlParser.T_GREATER, 0); + return this.getToken(HiveSql.T_GREATER, 0); }; Bool_expr_binary_operatorContext.prototype.T_GREATEREQUAL = function() { - return this.getToken(HiveSqlParser.T_GREATEREQUAL, 0); + return this.getToken(HiveSql.T_GREATEREQUAL, 0); }; Bool_expr_binary_operatorContext.prototype.T_LIKE = function() { - return this.getToken(HiveSqlParser.T_LIKE, 0); + return this.getToken(HiveSql.T_LIKE, 0); }; Bool_expr_binary_operatorContext.prototype.T_RLIKE = function() { - return this.getToken(HiveSqlParser.T_RLIKE, 0); + return this.getToken(HiveSql.T_RLIKE, 0); }; Bool_expr_binary_operatorContext.prototype.T_REGEXP = function() { - return this.getToken(HiveSqlParser.T_REGEXP, 0); + return this.getToken(HiveSql.T_REGEXP, 0); }; Bool_expr_binary_operatorContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Bool_expr_binary_operatorContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_expr_binary_operator(this); } }; Bool_expr_binary_operatorContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_expr_binary_operator(this); } }; Bool_expr_binary_operatorContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_expr_binary_operator(this); } else { return visitor.visitChildren(this); @@ -29289,73 +29289,73 @@ Bool_expr_binary_operatorContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_expr_binary_operatorContext = Bool_expr_binary_operatorContext; +HiveSql.Bool_expr_binary_operatorContext = Bool_expr_binary_operatorContext; -HiveSqlParser.prototype.bool_expr_binary_operator = function() { +HiveSql.prototype.bool_expr_binary_operator = function() { var localctx = new Bool_expr_binary_operatorContext(this, this._ctx, this.state); - this.enterRule(localctx, 380, HiveSqlParser.RULE_bool_expr_binary_operator); + this.enterRule(localctx, 380, HiveSql.RULE_bool_expr_binary_operator); var _la = 0; // Token type try { this.state = 2714; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_EQUAL: + case HiveSql.T_EQUAL: this.enterOuterAlt(localctx, 1); this.state = 2702; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); break; - case HiveSqlParser.T_EQUAL2: + case HiveSql.T_EQUAL2: this.enterOuterAlt(localctx, 2); this.state = 2703; - this.match(HiveSqlParser.T_EQUAL2); + this.match(HiveSql.T_EQUAL2); break; - case HiveSqlParser.T_NOTEQUAL: + case HiveSql.T_NOTEQUAL: this.enterOuterAlt(localctx, 3); this.state = 2704; - this.match(HiveSqlParser.T_NOTEQUAL); + this.match(HiveSql.T_NOTEQUAL); break; - case HiveSqlParser.T_NOTEQUAL2: + case HiveSql.T_NOTEQUAL2: this.enterOuterAlt(localctx, 4); this.state = 2705; - this.match(HiveSqlParser.T_NOTEQUAL2); + this.match(HiveSql.T_NOTEQUAL2); break; - case HiveSqlParser.T_LESS: + case HiveSql.T_LESS: this.enterOuterAlt(localctx, 5); this.state = 2706; - this.match(HiveSqlParser.T_LESS); + this.match(HiveSql.T_LESS); break; - case HiveSqlParser.T_LESSEQUAL: + case HiveSql.T_LESSEQUAL: this.enterOuterAlt(localctx, 6); this.state = 2707; - this.match(HiveSqlParser.T_LESSEQUAL); + this.match(HiveSql.T_LESSEQUAL); break; - case HiveSqlParser.T_GREATER: + case HiveSql.T_GREATER: this.enterOuterAlt(localctx, 7); this.state = 2708; - this.match(HiveSqlParser.T_GREATER); + this.match(HiveSql.T_GREATER); break; - case HiveSqlParser.T_GREATEREQUAL: + case HiveSql.T_GREATEREQUAL: this.enterOuterAlt(localctx, 8); this.state = 2709; - this.match(HiveSqlParser.T_GREATEREQUAL); + this.match(HiveSql.T_GREATEREQUAL); break; - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_RLIKE: + case HiveSql.T_LIKE: + case HiveSql.T_NOT: + case HiveSql.T_REGEXP: + case HiveSql.T_RLIKE: this.enterOuterAlt(localctx, 9); this.state = 2711; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_NOT) { + if(_la===HiveSql.T_NOT) { this.state = 2710; - this.match(HiveSqlParser.T_NOT); + this.match(HiveSql.T_NOT); } this.state = 2713; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_LIKE || _la===HiveSqlParser.T_REGEXP || _la===HiveSqlParser.T_RLIKE)) { + if(!(_la===HiveSql.T_LIKE || _la===HiveSql.T_REGEXP || _la===HiveSql.T_RLIKE)) { this._errHandler.recoverInline(this); } else { @@ -29390,7 +29390,7 @@ function ExprContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr; + this.ruleIndex = HiveSql.RULE_expr; return this; } @@ -29398,7 +29398,7 @@ ExprContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); ExprContext.prototype.constructor = ExprContext; ExprContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; ExprContext.prototype.select_stmt = function() { @@ -29406,7 +29406,7 @@ ExprContext.prototype.select_stmt = function() { }; ExprContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; ExprContext.prototype.expr = function(i) { @@ -29453,19 +29453,19 @@ ExprContext.prototype.expr_atom = function() { }; ExprContext.prototype.T_MUL = function() { - return this.getToken(HiveSqlParser.T_MUL, 0); + return this.getToken(HiveSql.T_MUL, 0); }; ExprContext.prototype.T_DIV = function() { - return this.getToken(HiveSqlParser.T_DIV, 0); + return this.getToken(HiveSql.T_DIV, 0); }; ExprContext.prototype.T_ADD = function() { - return this.getToken(HiveSqlParser.T_ADD, 0); + return this.getToken(HiveSql.T_ADD, 0); }; ExprContext.prototype.T_SUB = function() { - return this.getToken(HiveSqlParser.T_SUB, 0); + return this.getToken(HiveSql.T_SUB, 0); }; ExprContext.prototype.interval_item = function() { @@ -29473,19 +29473,19 @@ ExprContext.prototype.interval_item = function() { }; ExprContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr(this); } }; ExprContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr(this); } }; ExprContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr(this); } else { return visitor.visitChildren(this); @@ -29494,7 +29494,7 @@ ExprContext.prototype.accept = function(visitor) { -HiveSqlParser.prototype.expr = function(_p) { +HiveSql.prototype.expr = function(_p) { if(_p===undefined) { _p = 0; } @@ -29503,7 +29503,7 @@ HiveSqlParser.prototype.expr = function(_p) { var localctx = new ExprContext(this, this._ctx, _parentState); var _prevctx = localctx; var _startState = 382; - this.enterRecursionRule(localctx, 382, HiveSqlParser.RULE_expr, _p); + this.enterRecursionRule(localctx, 382, HiveSql.RULE_expr, _p); try { this.enterOuterAlt(localctx, 1); this.state = 2733; @@ -29512,20 +29512,20 @@ HiveSqlParser.prototype.expr = function(_p) { switch(la_) { case 1: this.state = 2717; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2718; this.select_stmt(); this.state = 2719; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 2: this.state = 2721; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2722; this.expr(0); this.state = 2723; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 3: @@ -29585,59 +29585,59 @@ HiveSqlParser.prototype.expr = function(_p) { switch(la_) { case 1: localctx = new ExprContext(this, _parentctx, _parentState); - this.pushNewRecursionContext(localctx, _startState, HiveSqlParser.RULE_expr); + this.pushNewRecursionContext(localctx, _startState, HiveSql.RULE_expr); this.state = 2735; if (!( this.precpred(this._ctx, 14))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 14)"); } this.state = 2736; - this.match(HiveSqlParser.T_MUL); + this.match(HiveSql.T_MUL); this.state = 2737; this.expr(15); break; case 2: localctx = new ExprContext(this, _parentctx, _parentState); - this.pushNewRecursionContext(localctx, _startState, HiveSqlParser.RULE_expr); + this.pushNewRecursionContext(localctx, _startState, HiveSql.RULE_expr); this.state = 2738; if (!( this.precpred(this._ctx, 13))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 13)"); } this.state = 2739; - this.match(HiveSqlParser.T_DIV); + this.match(HiveSql.T_DIV); this.state = 2740; this.expr(14); break; case 3: localctx = new ExprContext(this, _parentctx, _parentState); - this.pushNewRecursionContext(localctx, _startState, HiveSqlParser.RULE_expr); + this.pushNewRecursionContext(localctx, _startState, HiveSql.RULE_expr); this.state = 2741; if (!( this.precpred(this._ctx, 12))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 12)"); } this.state = 2742; - this.match(HiveSqlParser.T_ADD); + this.match(HiveSql.T_ADD); this.state = 2743; this.expr(13); break; case 4: localctx = new ExprContext(this, _parentctx, _parentState); - this.pushNewRecursionContext(localctx, _startState, HiveSqlParser.RULE_expr); + this.pushNewRecursionContext(localctx, _startState, HiveSql.RULE_expr); this.state = 2744; if (!( this.precpred(this._ctx, 11))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 11)"); } this.state = 2745; - this.match(HiveSqlParser.T_SUB); + this.match(HiveSql.T_SUB); this.state = 2746; this.expr(12); break; case 5: localctx = new ExprContext(this, _parentctx, _parentState); - this.pushNewRecursionContext(localctx, _startState, HiveSqlParser.RULE_expr); + this.pushNewRecursionContext(localctx, _startState, HiveSql.RULE_expr); this.state = 2747; if (!( this.precpred(this._ctx, 15))) { throw new antlr4.error.FailedPredicateException(this, "this.precpred(this._ctx, 15)"); @@ -29677,7 +29677,7 @@ function Expr_atomContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_atom; + this.ruleIndex = HiveSql.RULE_expr_atom; return this; } @@ -29717,19 +29717,19 @@ Expr_atomContext.prototype.null_const = function() { }; Expr_atomContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_atom(this); } }; Expr_atomContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_atom(this); } }; Expr_atomContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_atom(this); } else { return visitor.visitChildren(this); @@ -29739,12 +29739,12 @@ Expr_atomContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_atomContext = Expr_atomContext; +HiveSql.Expr_atomContext = Expr_atomContext; -HiveSqlParser.prototype.expr_atom = function() { +HiveSql.prototype.expr_atom = function() { var localctx = new Expr_atomContext(this, this._ctx, this.state); - this.enterRule(localctx, 384, HiveSqlParser.RULE_expr_atom); + this.enterRule(localctx, 384, HiveSql.RULE_expr_atom); try { this.state = 2762; this._errHandler.sync(this); @@ -29823,7 +29823,7 @@ function Expr_intervalContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_interval; + this.ruleIndex = HiveSql.RULE_expr_interval; return this; } @@ -29831,7 +29831,7 @@ Expr_intervalContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Expr_intervalContext.prototype.constructor = Expr_intervalContext; Expr_intervalContext.prototype.T_INTERVAL = function() { - return this.getToken(HiveSqlParser.T_INTERVAL, 0); + return this.getToken(HiveSql.T_INTERVAL, 0); }; Expr_intervalContext.prototype.expr = function() { @@ -29843,19 +29843,19 @@ Expr_intervalContext.prototype.interval_item = function() { }; Expr_intervalContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_interval(this); } }; Expr_intervalContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_interval(this); } }; Expr_intervalContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_interval(this); } else { return visitor.visitChildren(this); @@ -29865,16 +29865,16 @@ Expr_intervalContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_intervalContext = Expr_intervalContext; +HiveSql.Expr_intervalContext = Expr_intervalContext; -HiveSqlParser.prototype.expr_interval = function() { +HiveSql.prototype.expr_interval = function() { var localctx = new Expr_intervalContext(this, this._ctx, this.state); - this.enterRule(localctx, 386, HiveSqlParser.RULE_expr_interval); + this.enterRule(localctx, 386, HiveSql.RULE_expr_interval); try { this.enterOuterAlt(localctx, 1); this.state = 2764; - this.match(HiveSqlParser.T_INTERVAL); + this.match(HiveSql.T_INTERVAL); this.state = 2765; this.expr(0); this.state = 2766; @@ -29903,7 +29903,7 @@ function Interval_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_interval_item; + this.ruleIndex = HiveSql.RULE_interval_item; return this; } @@ -29911,43 +29911,43 @@ Interval_itemContext.prototype = Object.create(antlr4.ParserRuleContext.prototyp Interval_itemContext.prototype.constructor = Interval_itemContext; Interval_itemContext.prototype.T_DAY = function() { - return this.getToken(HiveSqlParser.T_DAY, 0); + return this.getToken(HiveSql.T_DAY, 0); }; Interval_itemContext.prototype.T_DAYS = function() { - return this.getToken(HiveSqlParser.T_DAYS, 0); + return this.getToken(HiveSql.T_DAYS, 0); }; Interval_itemContext.prototype.T_MICROSECOND = function() { - return this.getToken(HiveSqlParser.T_MICROSECOND, 0); + return this.getToken(HiveSql.T_MICROSECOND, 0); }; Interval_itemContext.prototype.T_MICROSECONDS = function() { - return this.getToken(HiveSqlParser.T_MICROSECONDS, 0); + return this.getToken(HiveSql.T_MICROSECONDS, 0); }; Interval_itemContext.prototype.T_SECOND = function() { - return this.getToken(HiveSqlParser.T_SECOND, 0); + return this.getToken(HiveSql.T_SECOND, 0); }; Interval_itemContext.prototype.T_SECONDS = function() { - return this.getToken(HiveSqlParser.T_SECONDS, 0); + return this.getToken(HiveSql.T_SECONDS, 0); }; Interval_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInterval_item(this); } }; Interval_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInterval_item(this); } }; Interval_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInterval_item(this); } else { return visitor.visitChildren(this); @@ -29957,18 +29957,18 @@ Interval_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Interval_itemContext = Interval_itemContext; +HiveSql.Interval_itemContext = Interval_itemContext; -HiveSqlParser.prototype.interval_item = function() { +HiveSql.prototype.interval_item = function() { var localctx = new Interval_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 388, HiveSqlParser.RULE_interval_item); + this.enterRule(localctx, 388, HiveSql.RULE_interval_item); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2768; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_DAY || _la===HiveSqlParser.T_DAYS || _la===HiveSqlParser.T_MICROSECOND || _la===HiveSqlParser.T_MICROSECONDS || _la===HiveSqlParser.T_SECOND || _la===HiveSqlParser.T_SECONDS)) { + if(!(_la===HiveSql.T_DAY || _la===HiveSql.T_DAYS || _la===HiveSql.T_MICROSECOND || _la===HiveSql.T_MICROSECONDS || _la===HiveSql.T_SECOND || _la===HiveSql.T_SECONDS)) { this._errHandler.recoverInline(this); } else { @@ -29999,7 +29999,7 @@ function Expr_concatContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_concat; + this.ruleIndex = HiveSql.RULE_expr_concat; return this; } @@ -30022,9 +30022,9 @@ Expr_concatContext.prototype.T_PIPE = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_PIPE); + return this.getTokens(HiveSql.T_PIPE); } else { - return this.getToken(HiveSqlParser.T_PIPE, i); + return this.getToken(HiveSql.T_PIPE, i); } }; @@ -30034,27 +30034,27 @@ Expr_concatContext.prototype.T_CONCAT = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_CONCAT); + return this.getTokens(HiveSql.T_CONCAT); } else { - return this.getToken(HiveSqlParser.T_CONCAT, i); + return this.getToken(HiveSql.T_CONCAT, i); } }; Expr_concatContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_concat(this); } }; Expr_concatContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_concat(this); } }; Expr_concatContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_concat(this); } else { return visitor.visitChildren(this); @@ -30064,12 +30064,12 @@ Expr_concatContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_concatContext = Expr_concatContext; +HiveSql.Expr_concatContext = Expr_concatContext; -HiveSqlParser.prototype.expr_concat = function() { +HiveSql.prototype.expr_concat = function() { var localctx = new Expr_concatContext(this, this._ctx, this.state); - this.enterRule(localctx, 390, HiveSqlParser.RULE_expr_concat); + this.enterRule(localctx, 390, HiveSql.RULE_expr_concat); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -30077,7 +30077,7 @@ HiveSqlParser.prototype.expr_concat = function() { this.expr_concat_item(); this.state = 2771; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_CONCAT || _la===HiveSqlParser.T_PIPE)) { + if(!(_la===HiveSql.T_CONCAT || _la===HiveSql.T_PIPE)) { this._errHandler.recoverInline(this); } else { @@ -30093,7 +30093,7 @@ HiveSqlParser.prototype.expr_concat = function() { if(_alt===1) { this.state = 2773; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_CONCAT || _la===HiveSqlParser.T_PIPE)) { + if(!(_la===HiveSql.T_CONCAT || _la===HiveSql.T_PIPE)) { this._errHandler.recoverInline(this); } else { @@ -30132,7 +30132,7 @@ function Expr_concat_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_concat_item; + this.ruleIndex = HiveSql.RULE_expr_concat_item; return this; } @@ -30140,7 +30140,7 @@ Expr_concat_itemContext.prototype = Object.create(antlr4.ParserRuleContext.proto Expr_concat_itemContext.prototype.constructor = Expr_concat_itemContext; Expr_concat_itemContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Expr_concat_itemContext.prototype.expr = function() { @@ -30148,7 +30148,7 @@ Expr_concat_itemContext.prototype.expr = function() { }; Expr_concat_itemContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Expr_concat_itemContext.prototype.expr_case = function() { @@ -30172,19 +30172,19 @@ Expr_concat_itemContext.prototype.expr_atom = function() { }; Expr_concat_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_concat_item(this); } }; Expr_concat_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_concat_item(this); } }; Expr_concat_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_concat_item(this); } else { return visitor.visitChildren(this); @@ -30194,12 +30194,12 @@ Expr_concat_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_concat_itemContext = Expr_concat_itemContext; +HiveSql.Expr_concat_itemContext = Expr_concat_itemContext; -HiveSqlParser.prototype.expr_concat_item = function() { +HiveSql.prototype.expr_concat_item = function() { var localctx = new Expr_concat_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 392, HiveSqlParser.RULE_expr_concat_item); + this.enterRule(localctx, 392, HiveSql.RULE_expr_concat_item); try { this.state = 2789; this._errHandler.sync(this); @@ -30208,11 +30208,11 @@ HiveSqlParser.prototype.expr_concat_item = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 2780; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2781; this.expr(0); this.state = 2782; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 2: @@ -30270,7 +30270,7 @@ function Expr_caseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_case; + this.ruleIndex = HiveSql.RULE_expr_case; return this; } @@ -30286,19 +30286,19 @@ Expr_caseContext.prototype.expr_case_searched = function() { }; Expr_caseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_case(this); } }; Expr_caseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_case(this); } }; Expr_caseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_case(this); } else { return visitor.visitChildren(this); @@ -30308,12 +30308,12 @@ Expr_caseContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_caseContext = Expr_caseContext; +HiveSql.Expr_caseContext = Expr_caseContext; -HiveSqlParser.prototype.expr_case = function() { +HiveSql.prototype.expr_case = function() { var localctx = new Expr_caseContext(this, this._ctx, this.state); - this.enterRule(localctx, 394, HiveSqlParser.RULE_expr_case); + this.enterRule(localctx, 394, HiveSql.RULE_expr_case); try { this.state = 2793; this._errHandler.sync(this); @@ -30356,7 +30356,7 @@ function Expr_case_simpleContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_case_simple; + this.ruleIndex = HiveSql.RULE_expr_case_simple; return this; } @@ -30364,7 +30364,7 @@ Expr_case_simpleContext.prototype = Object.create(antlr4.ParserRuleContext.proto Expr_case_simpleContext.prototype.constructor = Expr_case_simpleContext; Expr_case_simpleContext.prototype.T_CASE = function() { - return this.getToken(HiveSqlParser.T_CASE, 0); + return this.getToken(HiveSql.T_CASE, 0); }; Expr_case_simpleContext.prototype.expr = function(i) { @@ -30379,7 +30379,7 @@ Expr_case_simpleContext.prototype.expr = function(i) { }; Expr_case_simpleContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; Expr_case_simpleContext.prototype.T_WHEN = function(i) { @@ -30387,9 +30387,9 @@ Expr_case_simpleContext.prototype.T_WHEN = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_WHEN); + return this.getTokens(HiveSql.T_WHEN); } else { - return this.getToken(HiveSqlParser.T_WHEN, i); + return this.getToken(HiveSql.T_WHEN, i); } }; @@ -30399,31 +30399,31 @@ Expr_case_simpleContext.prototype.T_THEN = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_THEN); + return this.getTokens(HiveSql.T_THEN); } else { - return this.getToken(HiveSqlParser.T_THEN, i); + return this.getToken(HiveSql.T_THEN, i); } }; Expr_case_simpleContext.prototype.T_ELSE = function() { - return this.getToken(HiveSqlParser.T_ELSE, 0); + return this.getToken(HiveSql.T_ELSE, 0); }; Expr_case_simpleContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_case_simple(this); } }; Expr_case_simpleContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_case_simple(this); } }; Expr_case_simpleContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_case_simple(this); } else { return visitor.visitChildren(this); @@ -30433,17 +30433,17 @@ Expr_case_simpleContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_case_simpleContext = Expr_case_simpleContext; +HiveSql.Expr_case_simpleContext = Expr_case_simpleContext; -HiveSqlParser.prototype.expr_case_simple = function() { +HiveSql.prototype.expr_case_simple = function() { var localctx = new Expr_case_simpleContext(this, this._ctx, this.state); - this.enterRule(localctx, 396, HiveSqlParser.RULE_expr_case_simple); + this.enterRule(localctx, 396, HiveSql.RULE_expr_case_simple); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2795; - this.match(HiveSqlParser.T_CASE); + this.match(HiveSql.T_CASE); this.state = 2796; this.expr(0); this.state = 2802; @@ -30451,29 +30451,29 @@ HiveSqlParser.prototype.expr_case_simple = function() { _la = this._input.LA(1); do { this.state = 2797; - this.match(HiveSqlParser.T_WHEN); + this.match(HiveSql.T_WHEN); this.state = 2798; this.expr(0); this.state = 2799; - this.match(HiveSqlParser.T_THEN); + this.match(HiveSql.T_THEN); this.state = 2800; this.expr(0); this.state = 2804; this._errHandler.sync(this); _la = this._input.LA(1); - } while(_la===HiveSqlParser.T_WHEN); + } while(_la===HiveSql.T_WHEN); this.state = 2808; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ELSE) { + if(_la===HiveSql.T_ELSE) { this.state = 2806; - this.match(HiveSqlParser.T_ELSE); + this.match(HiveSql.T_ELSE); this.state = 2807; this.expr(0); } this.state = 2810; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -30498,7 +30498,7 @@ function Expr_case_searchedContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_case_searched; + this.ruleIndex = HiveSql.RULE_expr_case_searched; return this; } @@ -30506,11 +30506,11 @@ Expr_case_searchedContext.prototype = Object.create(antlr4.ParserRuleContext.pro Expr_case_searchedContext.prototype.constructor = Expr_case_searchedContext; Expr_case_searchedContext.prototype.T_CASE = function() { - return this.getToken(HiveSqlParser.T_CASE, 0); + return this.getToken(HiveSql.T_CASE, 0); }; Expr_case_searchedContext.prototype.T_END = function() { - return this.getToken(HiveSqlParser.T_END, 0); + return this.getToken(HiveSql.T_END, 0); }; Expr_case_searchedContext.prototype.T_WHEN = function(i) { @@ -30518,9 +30518,9 @@ Expr_case_searchedContext.prototype.T_WHEN = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_WHEN); + return this.getTokens(HiveSql.T_WHEN); } else { - return this.getToken(HiveSqlParser.T_WHEN, i); + return this.getToken(HiveSql.T_WHEN, i); } }; @@ -30541,9 +30541,9 @@ Expr_case_searchedContext.prototype.T_THEN = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_THEN); + return this.getTokens(HiveSql.T_THEN); } else { - return this.getToken(HiveSqlParser.T_THEN, i); + return this.getToken(HiveSql.T_THEN, i); } }; @@ -30560,23 +30560,23 @@ Expr_case_searchedContext.prototype.expr = function(i) { }; Expr_case_searchedContext.prototype.T_ELSE = function() { - return this.getToken(HiveSqlParser.T_ELSE, 0); + return this.getToken(HiveSql.T_ELSE, 0); }; Expr_case_searchedContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_case_searched(this); } }; Expr_case_searchedContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_case_searched(this); } }; Expr_case_searchedContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_case_searched(this); } else { return visitor.visitChildren(this); @@ -30586,45 +30586,45 @@ Expr_case_searchedContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_case_searchedContext = Expr_case_searchedContext; +HiveSql.Expr_case_searchedContext = Expr_case_searchedContext; -HiveSqlParser.prototype.expr_case_searched = function() { +HiveSql.prototype.expr_case_searched = function() { var localctx = new Expr_case_searchedContext(this, this._ctx, this.state); - this.enterRule(localctx, 398, HiveSqlParser.RULE_expr_case_searched); + this.enterRule(localctx, 398, HiveSql.RULE_expr_case_searched); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2812; - this.match(HiveSqlParser.T_CASE); + this.match(HiveSql.T_CASE); this.state = 2818; this._errHandler.sync(this); _la = this._input.LA(1); do { this.state = 2813; - this.match(HiveSqlParser.T_WHEN); + this.match(HiveSql.T_WHEN); this.state = 2814; this.bool_expr(0); this.state = 2815; - this.match(HiveSqlParser.T_THEN); + this.match(HiveSql.T_THEN); this.state = 2816; this.expr(0); this.state = 2820; this._errHandler.sync(this); _la = this._input.LA(1); - } while(_la===HiveSqlParser.T_WHEN); + } while(_la===HiveSql.T_WHEN); this.state = 2824; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ELSE) { + if(_la===HiveSql.T_ELSE) { this.state = 2822; - this.match(HiveSqlParser.T_ELSE); + this.match(HiveSql.T_ELSE); this.state = 2823; this.expr(0); } this.state = 2826; - this.match(HiveSqlParser.T_END); + this.match(HiveSql.T_END); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -30649,7 +30649,7 @@ function Expr_cursor_attributeContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_cursor_attribute; + this.ruleIndex = HiveSql.RULE_expr_cursor_attribute; return this; } @@ -30661,35 +30661,35 @@ Expr_cursor_attributeContext.prototype.ident = function() { }; Expr_cursor_attributeContext.prototype.T_PRECENT = function() { - return this.getToken(HiveSqlParser.T_PRECENT, 0); + return this.getToken(HiveSql.T_PRECENT, 0); }; Expr_cursor_attributeContext.prototype.T_ISOPEN = function() { - return this.getToken(HiveSqlParser.T_ISOPEN, 0); + return this.getToken(HiveSql.T_ISOPEN, 0); }; Expr_cursor_attributeContext.prototype.T_FOUND = function() { - return this.getToken(HiveSqlParser.T_FOUND, 0); + return this.getToken(HiveSql.T_FOUND, 0); }; Expr_cursor_attributeContext.prototype.T_NOTFOUND = function() { - return this.getToken(HiveSqlParser.T_NOTFOUND, 0); + return this.getToken(HiveSql.T_NOTFOUND, 0); }; Expr_cursor_attributeContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_cursor_attribute(this); } }; Expr_cursor_attributeContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_cursor_attribute(this); } }; Expr_cursor_attributeContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_cursor_attribute(this); } else { return visitor.visitChildren(this); @@ -30699,22 +30699,22 @@ Expr_cursor_attributeContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_cursor_attributeContext = Expr_cursor_attributeContext; +HiveSql.Expr_cursor_attributeContext = Expr_cursor_attributeContext; -HiveSqlParser.prototype.expr_cursor_attribute = function() { +HiveSql.prototype.expr_cursor_attribute = function() { var localctx = new Expr_cursor_attributeContext(this, this._ctx, this.state); - this.enterRule(localctx, 400, HiveSqlParser.RULE_expr_cursor_attribute); + this.enterRule(localctx, 400, HiveSql.RULE_expr_cursor_attribute); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2828; this.ident(); this.state = 2829; - this.match(HiveSqlParser.T_PRECENT); + this.match(HiveSql.T_PRECENT); this.state = 2830; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_FOUND || _la===HiveSqlParser.T_ISOPEN || _la===HiveSqlParser.T_NOTFOUND)) { + if(!(_la===HiveSql.T_FOUND || _la===HiveSql.T_ISOPEN || _la===HiveSql.T_NOTFOUND)) { this._errHandler.recoverInline(this); } else { @@ -30745,7 +30745,7 @@ function Expr_agg_window_funcContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_agg_window_func; + this.ruleIndex = HiveSql.RULE_expr_agg_window_func; return this; } @@ -30753,11 +30753,11 @@ Expr_agg_window_funcContext.prototype = Object.create(antlr4.ParserRuleContext.p Expr_agg_window_funcContext.prototype.constructor = Expr_agg_window_funcContext; Expr_agg_window_funcContext.prototype.T_AVG = function() { - return this.getToken(HiveSqlParser.T_AVG, 0); + return this.getToken(HiveSql.T_AVG, 0); }; Expr_agg_window_funcContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Expr_agg_window_funcContext.prototype.expr = function(i) { @@ -30772,7 +30772,7 @@ Expr_agg_window_funcContext.prototype.expr = function(i) { }; Expr_agg_window_funcContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Expr_agg_window_funcContext.prototype.expr_func_all_distinct = function() { @@ -30784,31 +30784,31 @@ Expr_agg_window_funcContext.prototype.expr_func_over_clause = function() { }; Expr_agg_window_funcContext.prototype.T_COUNT = function() { - return this.getToken(HiveSqlParser.T_COUNT, 0); + return this.getToken(HiveSql.T_COUNT, 0); }; Expr_agg_window_funcContext.prototype.T_MUL = function() { - return this.getToken(HiveSqlParser.T_MUL, 0); + return this.getToken(HiveSql.T_MUL, 0); }; Expr_agg_window_funcContext.prototype.T_COUNT_BIG = function() { - return this.getToken(HiveSqlParser.T_COUNT_BIG, 0); + return this.getToken(HiveSql.T_COUNT_BIG, 0); }; Expr_agg_window_funcContext.prototype.T_CUME_DIST = function() { - return this.getToken(HiveSqlParser.T_CUME_DIST, 0); + return this.getToken(HiveSql.T_CUME_DIST, 0); }; Expr_agg_window_funcContext.prototype.T_DENSE_RANK = function() { - return this.getToken(HiveSqlParser.T_DENSE_RANK, 0); + return this.getToken(HiveSql.T_DENSE_RANK, 0); }; Expr_agg_window_funcContext.prototype.T_FIRST_VALUE = function() { - return this.getToken(HiveSqlParser.T_FIRST_VALUE, 0); + return this.getToken(HiveSql.T_FIRST_VALUE, 0); }; Expr_agg_window_funcContext.prototype.T_LAG = function() { - return this.getToken(HiveSqlParser.T_LAG, 0); + return this.getToken(HiveSql.T_LAG, 0); }; Expr_agg_window_funcContext.prototype.T_COMMA = function(i) { @@ -30816,67 +30816,67 @@ Expr_agg_window_funcContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Expr_agg_window_funcContext.prototype.T_LAST_VALUE = function() { - return this.getToken(HiveSqlParser.T_LAST_VALUE, 0); + return this.getToken(HiveSql.T_LAST_VALUE, 0); }; Expr_agg_window_funcContext.prototype.T_LEAD = function() { - return this.getToken(HiveSqlParser.T_LEAD, 0); + return this.getToken(HiveSql.T_LEAD, 0); }; Expr_agg_window_funcContext.prototype.T_MAX = function() { - return this.getToken(HiveSqlParser.T_MAX, 0); + return this.getToken(HiveSql.T_MAX, 0); }; Expr_agg_window_funcContext.prototype.T_MIN = function() { - return this.getToken(HiveSqlParser.T_MIN, 0); + return this.getToken(HiveSql.T_MIN, 0); }; Expr_agg_window_funcContext.prototype.T_RANK = function() { - return this.getToken(HiveSqlParser.T_RANK, 0); + return this.getToken(HiveSql.T_RANK, 0); }; Expr_agg_window_funcContext.prototype.T_ROW_NUMBER = function() { - return this.getToken(HiveSqlParser.T_ROW_NUMBER, 0); + return this.getToken(HiveSql.T_ROW_NUMBER, 0); }; Expr_agg_window_funcContext.prototype.T_STDEV = function() { - return this.getToken(HiveSqlParser.T_STDEV, 0); + return this.getToken(HiveSql.T_STDEV, 0); }; Expr_agg_window_funcContext.prototype.T_SUM = function() { - return this.getToken(HiveSqlParser.T_SUM, 0); + return this.getToken(HiveSql.T_SUM, 0); }; Expr_agg_window_funcContext.prototype.T_VAR = function() { - return this.getToken(HiveSqlParser.T_VAR, 0); + return this.getToken(HiveSql.T_VAR, 0); }; Expr_agg_window_funcContext.prototype.T_VARIANCE = function() { - return this.getToken(HiveSqlParser.T_VARIANCE, 0); + return this.getToken(HiveSql.T_VARIANCE, 0); }; Expr_agg_window_funcContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_agg_window_func(this); } }; Expr_agg_window_funcContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_agg_window_func(this); } }; Expr_agg_window_funcContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_agg_window_func(this); } else { return visitor.visitChildren(this); @@ -30886,23 +30886,23 @@ Expr_agg_window_funcContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_agg_window_funcContext = Expr_agg_window_funcContext; +HiveSql.Expr_agg_window_funcContext = Expr_agg_window_funcContext; -HiveSqlParser.prototype.expr_agg_window_func = function() { +HiveSql.prototype.expr_agg_window_func = function() { var localctx = new Expr_agg_window_funcContext(this, this._ctx, this.state); - this.enterRule(localctx, 402, HiveSqlParser.RULE_expr_agg_window_func); + this.enterRule(localctx, 402, HiveSql.RULE_expr_agg_window_func); var _la = 0; // Token type try { this.state = 2984; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_AVG: + case HiveSql.T_AVG: this.enterOuterAlt(localctx, 1); this.state = 2832; - this.match(HiveSqlParser.T_AVG); + this.match(HiveSql.T_AVG); this.state = 2833; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2835; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,355,this._ctx); @@ -30914,7 +30914,7 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2837; this.expr(0); this.state = 2838; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2840; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,356,this._ctx); @@ -30924,348 +30924,348 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_COUNT: + case HiveSql.T_COUNT: this.enterOuterAlt(localctx, 2); this.state = 2842; - this.match(HiveSqlParser.T_COUNT); + this.match(HiveSql.T_COUNT); this.state = 2843; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2849; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NULL: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_MAX_PART_STRING: - case HiveSqlParser.T_MIN_PART_STRING: - case HiveSqlParser.T_MAX_PART_INT: - case HiveSqlParser.T_MIN_PART_INT: - case HiveSqlParser.T_MAX_PART_DATE: - case HiveSqlParser.T_MIN_PART_DATE: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.T_ADD: - case HiveSqlParser.T_OPEN_P: - case HiveSqlParser.T_SUB: - case HiveSqlParser.L_ID: - case HiveSqlParser.L_S_STRING: - case HiveSqlParser.L_D_STRING: - case HiveSqlParser.L_INT: - case HiveSqlParser.L_DEC: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NULL: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_MAX_PART_STRING: + case HiveSql.T_MIN_PART_STRING: + case HiveSql.T_MAX_PART_INT: + case HiveSql.T_MIN_PART_INT: + case HiveSql.T_MAX_PART_DATE: + case HiveSql.T_MIN_PART_DATE: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.T_ADD: + case HiveSql.T_OPEN_P: + case HiveSql.T_SUB: + case HiveSql.L_ID: + case HiveSql.L_S_STRING: + case HiveSql.L_D_STRING: + case HiveSql.L_INT: + case HiveSql.L_DEC: this.state = 2845; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,357,this._ctx); @@ -31277,15 +31277,15 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2847; this.expr(0); break; - case HiveSqlParser.T_MUL: + case HiveSql.T_MUL: this.state = 2848; - this.match(HiveSqlParser.T_MUL); + this.match(HiveSql.T_MUL); break; default: throw new antlr4.error.NoViableAltException(this); } this.state = 2851; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2853; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,359,this._ctx); @@ -31295,348 +31295,348 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_COUNT_BIG: + case HiveSql.T_COUNT_BIG: this.enterOuterAlt(localctx, 3); this.state = 2855; - this.match(HiveSqlParser.T_COUNT_BIG); + this.match(HiveSql.T_COUNT_BIG); this.state = 2856; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2862; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NULL: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_MAX_PART_STRING: - case HiveSqlParser.T_MIN_PART_STRING: - case HiveSqlParser.T_MAX_PART_INT: - case HiveSqlParser.T_MIN_PART_INT: - case HiveSqlParser.T_MAX_PART_DATE: - case HiveSqlParser.T_MIN_PART_DATE: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.T_ADD: - case HiveSqlParser.T_OPEN_P: - case HiveSqlParser.T_SUB: - case HiveSqlParser.L_ID: - case HiveSqlParser.L_S_STRING: - case HiveSqlParser.L_D_STRING: - case HiveSqlParser.L_INT: - case HiveSqlParser.L_DEC: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NULL: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_MAX_PART_STRING: + case HiveSql.T_MIN_PART_STRING: + case HiveSql.T_MAX_PART_INT: + case HiveSql.T_MIN_PART_INT: + case HiveSql.T_MAX_PART_DATE: + case HiveSql.T_MIN_PART_DATE: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.T_ADD: + case HiveSql.T_OPEN_P: + case HiveSql.T_SUB: + case HiveSql.L_ID: + case HiveSql.L_S_STRING: + case HiveSql.L_D_STRING: + case HiveSql.L_INT: + case HiveSql.L_DEC: this.state = 2858; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,360,this._ctx); @@ -31648,15 +31648,15 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2860; this.expr(0); break; - case HiveSqlParser.T_MUL: + case HiveSql.T_MUL: this.state = 2861; - this.match(HiveSqlParser.T_MUL); + this.match(HiveSql.T_MUL); break; default: throw new antlr4.error.NoViableAltException(this); } this.state = 2864; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2866; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,362,this._ctx); @@ -31666,63 +31666,63 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_CUME_DIST: + case HiveSql.T_CUME_DIST: this.enterOuterAlt(localctx, 4); this.state = 2868; - this.match(HiveSqlParser.T_CUME_DIST); + this.match(HiveSql.T_CUME_DIST); this.state = 2869; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2870; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2871; this.expr_func_over_clause(); break; - case HiveSqlParser.T_DENSE_RANK: + case HiveSql.T_DENSE_RANK: this.enterOuterAlt(localctx, 5); this.state = 2872; - this.match(HiveSqlParser.T_DENSE_RANK); + this.match(HiveSql.T_DENSE_RANK); this.state = 2873; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2874; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2875; this.expr_func_over_clause(); break; - case HiveSqlParser.T_FIRST_VALUE: + case HiveSql.T_FIRST_VALUE: this.enterOuterAlt(localctx, 6); this.state = 2876; - this.match(HiveSqlParser.T_FIRST_VALUE); + this.match(HiveSql.T_FIRST_VALUE); this.state = 2877; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2878; this.expr(0); this.state = 2879; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2880; this.expr_func_over_clause(); break; - case HiveSqlParser.T_LAG: + case HiveSql.T_LAG: this.enterOuterAlt(localctx, 7); this.state = 2882; - this.match(HiveSqlParser.T_LAG); + this.match(HiveSql.T_LAG); this.state = 2883; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2884; this.expr(0); this.state = 2891; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 2885; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2886; this.expr(0); this.state = 2889; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 2887; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2888; this.expr(0); } @@ -31730,45 +31730,45 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } this.state = 2893; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2894; this.expr_func_over_clause(); break; - case HiveSqlParser.T_LAST_VALUE: + case HiveSql.T_LAST_VALUE: this.enterOuterAlt(localctx, 8); this.state = 2896; - this.match(HiveSqlParser.T_LAST_VALUE); + this.match(HiveSql.T_LAST_VALUE); this.state = 2897; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2898; this.expr(0); this.state = 2899; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2900; this.expr_func_over_clause(); break; - case HiveSqlParser.T_LEAD: + case HiveSql.T_LEAD: this.enterOuterAlt(localctx, 9); this.state = 2902; - this.match(HiveSqlParser.T_LEAD); + this.match(HiveSql.T_LEAD); this.state = 2903; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2904; this.expr(0); this.state = 2911; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 2905; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2906; this.expr(0); this.state = 2909; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 2907; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 2908; this.expr(0); } @@ -31776,16 +31776,16 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } this.state = 2913; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2914; this.expr_func_over_clause(); break; - case HiveSqlParser.T_MAX: + case HiveSql.T_MAX: this.enterOuterAlt(localctx, 10); this.state = 2916; - this.match(HiveSqlParser.T_MAX); + this.match(HiveSql.T_MAX); this.state = 2917; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2919; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,367,this._ctx); @@ -31797,7 +31797,7 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2921; this.expr(0); this.state = 2922; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2924; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,368,this._ctx); @@ -31807,12 +31807,12 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_MIN: + case HiveSql.T_MIN: this.enterOuterAlt(localctx, 11); this.state = 2926; - this.match(HiveSqlParser.T_MIN); + this.match(HiveSql.T_MIN); this.state = 2927; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2929; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,369,this._ctx); @@ -31824,7 +31824,7 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2931; this.expr(0); this.state = 2932; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2934; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,370,this._ctx); @@ -31834,34 +31834,34 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_RANK: + case HiveSql.T_RANK: this.enterOuterAlt(localctx, 12); this.state = 2936; - this.match(HiveSqlParser.T_RANK); + this.match(HiveSql.T_RANK); this.state = 2937; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2938; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2939; this.expr_func_over_clause(); break; - case HiveSqlParser.T_ROW_NUMBER: + case HiveSql.T_ROW_NUMBER: this.enterOuterAlt(localctx, 13); this.state = 2940; - this.match(HiveSqlParser.T_ROW_NUMBER); + this.match(HiveSql.T_ROW_NUMBER); this.state = 2941; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2942; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2943; this.expr_func_over_clause(); break; - case HiveSqlParser.T_STDEV: + case HiveSql.T_STDEV: this.enterOuterAlt(localctx, 14); this.state = 2944; - this.match(HiveSqlParser.T_STDEV); + this.match(HiveSql.T_STDEV); this.state = 2945; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2947; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,371,this._ctx); @@ -31873,7 +31873,7 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2949; this.expr(0); this.state = 2950; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2952; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,372,this._ctx); @@ -31883,12 +31883,12 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_SUM: + case HiveSql.T_SUM: this.enterOuterAlt(localctx, 15); this.state = 2954; - this.match(HiveSqlParser.T_SUM); + this.match(HiveSql.T_SUM); this.state = 2955; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2957; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,373,this._ctx); @@ -31900,7 +31900,7 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2959; this.expr(0); this.state = 2960; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2962; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,374,this._ctx); @@ -31910,12 +31910,12 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_VAR: + case HiveSql.T_VAR: this.enterOuterAlt(localctx, 16); this.state = 2964; - this.match(HiveSqlParser.T_VAR); + this.match(HiveSql.T_VAR); this.state = 2965; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2967; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,375,this._ctx); @@ -31927,7 +31927,7 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2969; this.expr(0); this.state = 2970; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2972; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,376,this._ctx); @@ -31937,12 +31937,12 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { } break; - case HiveSqlParser.T_VARIANCE: + case HiveSql.T_VARIANCE: this.enterOuterAlt(localctx, 17); this.state = 2974; - this.match(HiveSqlParser.T_VARIANCE); + this.match(HiveSql.T_VARIANCE); this.state = 2975; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2977; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,377,this._ctx); @@ -31954,7 +31954,7 @@ HiveSqlParser.prototype.expr_agg_window_func = function() { this.state = 2979; this.expr(0); this.state = 2980; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); this.state = 2982; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,378,this._ctx); @@ -31991,7 +31991,7 @@ function Expr_func_all_distinctContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_func_all_distinct; + this.ruleIndex = HiveSql.RULE_expr_func_all_distinct; return this; } @@ -31999,27 +31999,27 @@ Expr_func_all_distinctContext.prototype = Object.create(antlr4.ParserRuleContext Expr_func_all_distinctContext.prototype.constructor = Expr_func_all_distinctContext; Expr_func_all_distinctContext.prototype.T_ALL = function() { - return this.getToken(HiveSqlParser.T_ALL, 0); + return this.getToken(HiveSql.T_ALL, 0); }; Expr_func_all_distinctContext.prototype.T_DISTINCT = function() { - return this.getToken(HiveSqlParser.T_DISTINCT, 0); + return this.getToken(HiveSql.T_DISTINCT, 0); }; Expr_func_all_distinctContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_func_all_distinct(this); } }; Expr_func_all_distinctContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_func_all_distinct(this); } }; Expr_func_all_distinctContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_func_all_distinct(this); } else { return visitor.visitChildren(this); @@ -32029,18 +32029,18 @@ Expr_func_all_distinctContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_func_all_distinctContext = Expr_func_all_distinctContext; +HiveSql.Expr_func_all_distinctContext = Expr_func_all_distinctContext; -HiveSqlParser.prototype.expr_func_all_distinct = function() { +HiveSql.prototype.expr_func_all_distinct = function() { var localctx = new Expr_func_all_distinctContext(this, this._ctx, this.state); - this.enterRule(localctx, 404, HiveSqlParser.RULE_expr_func_all_distinct); + this.enterRule(localctx, 404, HiveSql.RULE_expr_func_all_distinct); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2986; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ALL || _la===HiveSqlParser.T_DISTINCT)) { + if(!(_la===HiveSql.T_ALL || _la===HiveSql.T_DISTINCT)) { this._errHandler.recoverInline(this); } else { @@ -32071,7 +32071,7 @@ function Expr_func_over_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_func_over_clause; + this.ruleIndex = HiveSql.RULE_expr_func_over_clause; return this; } @@ -32079,15 +32079,15 @@ Expr_func_over_clauseContext.prototype = Object.create(antlr4.ParserRuleContext. Expr_func_over_clauseContext.prototype.constructor = Expr_func_over_clauseContext; Expr_func_over_clauseContext.prototype.T_OVER = function() { - return this.getToken(HiveSqlParser.T_OVER, 0); + return this.getToken(HiveSql.T_OVER, 0); }; Expr_func_over_clauseContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Expr_func_over_clauseContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Expr_func_over_clauseContext.prototype.expr_func_partition_by_clause = function() { @@ -32099,19 +32099,19 @@ Expr_func_over_clauseContext.prototype.order_by_clause = function() { }; Expr_func_over_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_func_over_clause(this); } }; Expr_func_over_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_func_over_clause(this); } }; Expr_func_over_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_func_over_clause(this); } else { return visitor.visitChildren(this); @@ -32121,23 +32121,23 @@ Expr_func_over_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_func_over_clauseContext = Expr_func_over_clauseContext; +HiveSql.Expr_func_over_clauseContext = Expr_func_over_clauseContext; -HiveSqlParser.prototype.expr_func_over_clause = function() { +HiveSql.prototype.expr_func_over_clause = function() { var localctx = new Expr_func_over_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 406, HiveSqlParser.RULE_expr_func_over_clause); + this.enterRule(localctx, 406, HiveSql.RULE_expr_func_over_clause); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2988; - this.match(HiveSqlParser.T_OVER); + this.match(HiveSql.T_OVER); this.state = 2989; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 2991; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_PARTITION) { + if(_la===HiveSql.T_PARTITION) { this.state = 2990; this.expr_func_partition_by_clause(); } @@ -32145,13 +32145,13 @@ HiveSqlParser.prototype.expr_func_over_clause = function() { this.state = 2994; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ORDER) { + if(_la===HiveSql.T_ORDER) { this.state = 2993; this.order_by_clause(); } this.state = 2996; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -32176,7 +32176,7 @@ function Expr_func_partition_by_clauseContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_func_partition_by_clause; + this.ruleIndex = HiveSql.RULE_expr_func_partition_by_clause; return this; } @@ -32184,11 +32184,11 @@ Expr_func_partition_by_clauseContext.prototype = Object.create(antlr4.ParserRule Expr_func_partition_by_clauseContext.prototype.constructor = Expr_func_partition_by_clauseContext; Expr_func_partition_by_clauseContext.prototype.T_PARTITION = function() { - return this.getToken(HiveSqlParser.T_PARTITION, 0); + return this.getToken(HiveSql.T_PARTITION, 0); }; Expr_func_partition_by_clauseContext.prototype.T_BY = function() { - return this.getToken(HiveSqlParser.T_BY, 0); + return this.getToken(HiveSql.T_BY, 0); }; Expr_func_partition_by_clauseContext.prototype.expr = function(i) { @@ -32207,27 +32207,27 @@ Expr_func_partition_by_clauseContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Expr_func_partition_by_clauseContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_func_partition_by_clause(this); } }; Expr_func_partition_by_clauseContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_func_partition_by_clause(this); } }; Expr_func_partition_by_clauseContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_func_partition_by_clause(this); } else { return visitor.visitChildren(this); @@ -32237,27 +32237,27 @@ Expr_func_partition_by_clauseContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_func_partition_by_clauseContext = Expr_func_partition_by_clauseContext; +HiveSql.Expr_func_partition_by_clauseContext = Expr_func_partition_by_clauseContext; -HiveSqlParser.prototype.expr_func_partition_by_clause = function() { +HiveSql.prototype.expr_func_partition_by_clause = function() { var localctx = new Expr_func_partition_by_clauseContext(this, this._ctx, this.state); - this.enterRule(localctx, 408, HiveSqlParser.RULE_expr_func_partition_by_clause); + this.enterRule(localctx, 408, HiveSql.RULE_expr_func_partition_by_clause); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 2998; - this.match(HiveSqlParser.T_PARTITION); + this.match(HiveSql.T_PARTITION); this.state = 2999; - this.match(HiveSqlParser.T_BY); + this.match(HiveSql.T_BY); this.state = 3000; this.expr(0); this.state = 3005; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3001; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3002; this.expr(0); this.state = 3007; @@ -32288,7 +32288,7 @@ function Expr_spec_funcContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_spec_func; + this.ruleIndex = HiveSql.RULE_expr_spec_func; return this; } @@ -32296,15 +32296,15 @@ Expr_spec_funcContext.prototype = Object.create(antlr4.ParserRuleContext.prototy Expr_spec_funcContext.prototype.constructor = Expr_spec_funcContext; Expr_spec_funcContext.prototype.T_ACTIVITY_COUNT = function() { - return this.getToken(HiveSqlParser.T_ACTIVITY_COUNT, 0); + return this.getToken(HiveSql.T_ACTIVITY_COUNT, 0); }; Expr_spec_funcContext.prototype.T_CAST = function() { - return this.getToken(HiveSqlParser.T_CAST, 0); + return this.getToken(HiveSql.T_CAST, 0); }; Expr_spec_funcContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Expr_spec_funcContext.prototype.expr = function(i) { @@ -32319,7 +32319,7 @@ Expr_spec_funcContext.prototype.expr = function(i) { }; Expr_spec_funcContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Expr_spec_funcContext.prototype.dtype = function() { @@ -32327,7 +32327,7 @@ Expr_spec_funcContext.prototype.dtype = function() { }; Expr_spec_funcContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Expr_spec_funcContext.prototype.dtype_len = function() { @@ -32335,43 +32335,43 @@ Expr_spec_funcContext.prototype.dtype_len = function() { }; Expr_spec_funcContext.prototype.T_COUNT = function() { - return this.getToken(HiveSqlParser.T_COUNT, 0); + return this.getToken(HiveSql.T_COUNT, 0); }; Expr_spec_funcContext.prototype.T_MUL = function() { - return this.getToken(HiveSqlParser.T_MUL, 0); + return this.getToken(HiveSql.T_MUL, 0); }; Expr_spec_funcContext.prototype.T_CURRENT_DATE = function() { - return this.getToken(HiveSqlParser.T_CURRENT_DATE, 0); + return this.getToken(HiveSql.T_CURRENT_DATE, 0); }; Expr_spec_funcContext.prototype.T_CURRENT = function() { - return this.getToken(HiveSqlParser.T_CURRENT, 0); + return this.getToken(HiveSql.T_CURRENT, 0); }; Expr_spec_funcContext.prototype.T_DATE = function() { - return this.getToken(HiveSqlParser.T_DATE, 0); + return this.getToken(HiveSql.T_DATE, 0); }; Expr_spec_funcContext.prototype.T_CURRENT_TIMESTAMP = function() { - return this.getToken(HiveSqlParser.T_CURRENT_TIMESTAMP, 0); + return this.getToken(HiveSql.T_CURRENT_TIMESTAMP, 0); }; Expr_spec_funcContext.prototype.T_TIMESTAMP = function() { - return this.getToken(HiveSqlParser.T_TIMESTAMP, 0); + return this.getToken(HiveSql.T_TIMESTAMP, 0); }; Expr_spec_funcContext.prototype.T_CURRENT_USER = function() { - return this.getToken(HiveSqlParser.T_CURRENT_USER, 0); + return this.getToken(HiveSql.T_CURRENT_USER, 0); }; Expr_spec_funcContext.prototype.T_USER = function() { - return this.getToken(HiveSqlParser.T_USER, 0); + return this.getToken(HiveSql.T_USER, 0); }; Expr_spec_funcContext.prototype.T_MAX_PART_STRING = function() { - return this.getToken(HiveSqlParser.T_MAX_PART_STRING, 0); + return this.getToken(HiveSql.T_MAX_PART_STRING, 0); }; Expr_spec_funcContext.prototype.T_COMMA = function(i) { @@ -32379,9 +32379,9 @@ Expr_spec_funcContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; @@ -32391,75 +32391,75 @@ Expr_spec_funcContext.prototype.T_EQUAL = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_EQUAL); + return this.getTokens(HiveSql.T_EQUAL); } else { - return this.getToken(HiveSqlParser.T_EQUAL, i); + return this.getToken(HiveSql.T_EQUAL, i); } }; Expr_spec_funcContext.prototype.T_MIN_PART_STRING = function() { - return this.getToken(HiveSqlParser.T_MIN_PART_STRING, 0); + return this.getToken(HiveSql.T_MIN_PART_STRING, 0); }; Expr_spec_funcContext.prototype.T_MAX_PART_INT = function() { - return this.getToken(HiveSqlParser.T_MAX_PART_INT, 0); + return this.getToken(HiveSql.T_MAX_PART_INT, 0); }; Expr_spec_funcContext.prototype.T_MIN_PART_INT = function() { - return this.getToken(HiveSqlParser.T_MIN_PART_INT, 0); + return this.getToken(HiveSql.T_MIN_PART_INT, 0); }; Expr_spec_funcContext.prototype.T_MAX_PART_DATE = function() { - return this.getToken(HiveSqlParser.T_MAX_PART_DATE, 0); + return this.getToken(HiveSql.T_MAX_PART_DATE, 0); }; Expr_spec_funcContext.prototype.T_MIN_PART_DATE = function() { - return this.getToken(HiveSqlParser.T_MIN_PART_DATE, 0); + return this.getToken(HiveSql.T_MIN_PART_DATE, 0); }; Expr_spec_funcContext.prototype.T_PART_COUNT = function() { - return this.getToken(HiveSqlParser.T_PART_COUNT, 0); + return this.getToken(HiveSql.T_PART_COUNT, 0); }; Expr_spec_funcContext.prototype.T_PART_LOC = function() { - return this.getToken(HiveSqlParser.T_PART_LOC, 0); + return this.getToken(HiveSql.T_PART_LOC, 0); }; Expr_spec_funcContext.prototype.T_TRIM = function() { - return this.getToken(HiveSqlParser.T_TRIM, 0); + return this.getToken(HiveSql.T_TRIM, 0); }; Expr_spec_funcContext.prototype.T_SUBSTRING = function() { - return this.getToken(HiveSqlParser.T_SUBSTRING, 0); + return this.getToken(HiveSql.T_SUBSTRING, 0); }; Expr_spec_funcContext.prototype.T_FROM = function() { - return this.getToken(HiveSqlParser.T_FROM, 0); + return this.getToken(HiveSql.T_FROM, 0); }; Expr_spec_funcContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Expr_spec_funcContext.prototype.T_SYSDATE = function() { - return this.getToken(HiveSqlParser.T_SYSDATE, 0); + return this.getToken(HiveSql.T_SYSDATE, 0); }; Expr_spec_funcContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_spec_func(this); } }; Expr_spec_funcContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_spec_func(this); } }; Expr_spec_funcContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_spec_func(this); } else { return visitor.visitChildren(this); @@ -32469,12 +32469,12 @@ Expr_spec_funcContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_spec_funcContext = Expr_spec_funcContext; +HiveSql.Expr_spec_funcContext = Expr_spec_funcContext; -HiveSqlParser.prototype.expr_spec_func = function() { +HiveSql.prototype.expr_spec_func = function() { var localctx = new Expr_spec_funcContext(this, this._ctx, this.state); - this.enterRule(localctx, 410, HiveSqlParser.RULE_expr_spec_func); + this.enterRule(localctx, 410, HiveSql.RULE_expr_spec_func); var _la = 0; // Token type try { this.state = 3208; @@ -32484,401 +32484,401 @@ HiveSqlParser.prototype.expr_spec_func = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 3008; - this.match(HiveSqlParser.T_ACTIVITY_COUNT); + this.match(HiveSql.T_ACTIVITY_COUNT); break; case 2: this.enterOuterAlt(localctx, 2); this.state = 3009; - this.match(HiveSqlParser.T_CAST); + this.match(HiveSql.T_CAST); this.state = 3010; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3011; this.expr(0); this.state = 3012; - this.match(HiveSqlParser.T_AS); + this.match(HiveSql.T_AS); this.state = 3013; this.dtype(); this.state = 3015; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_OPEN_P) { + if(_la===HiveSql.T_OPEN_P) { this.state = 3014; this.dtype_len(); } this.state = 3017; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 3: this.enterOuterAlt(localctx, 3); this.state = 3019; - this.match(HiveSqlParser.T_COUNT); + this.match(HiveSql.T_COUNT); this.state = 3020; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3023; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NULL: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_MAX_PART_STRING: - case HiveSqlParser.T_MIN_PART_STRING: - case HiveSqlParser.T_MAX_PART_INT: - case HiveSqlParser.T_MIN_PART_INT: - case HiveSqlParser.T_MAX_PART_DATE: - case HiveSqlParser.T_MIN_PART_DATE: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.T_ADD: - case HiveSqlParser.T_OPEN_P: - case HiveSqlParser.T_SUB: - case HiveSqlParser.L_ID: - case HiveSqlParser.L_S_STRING: - case HiveSqlParser.L_D_STRING: - case HiveSqlParser.L_INT: - case HiveSqlParser.L_DEC: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NULL: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_MAX_PART_STRING: + case HiveSql.T_MIN_PART_STRING: + case HiveSql.T_MAX_PART_INT: + case HiveSql.T_MIN_PART_INT: + case HiveSql.T_MAX_PART_DATE: + case HiveSql.T_MIN_PART_DATE: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.T_ADD: + case HiveSql.T_OPEN_P: + case HiveSql.T_SUB: + case HiveSql.L_ID: + case HiveSql.L_S_STRING: + case HiveSql.L_D_STRING: + case HiveSql.L_INT: + case HiveSql.L_DEC: this.state = 3021; this.expr(0); break; - case HiveSqlParser.T_MUL: + case HiveSql.T_MUL: this.state = 3022; - this.match(HiveSqlParser.T_MUL); + this.match(HiveSql.T_MUL); break; default: throw new antlr4.error.NoViableAltException(this); } this.state = 3025; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 4: this.enterOuterAlt(localctx, 4); this.state = 3026; - this.match(HiveSqlParser.T_CURRENT_DATE); + this.match(HiveSql.T_CURRENT_DATE); break; case 5: this.enterOuterAlt(localctx, 5); this.state = 3027; - this.match(HiveSqlParser.T_CURRENT); + this.match(HiveSql.T_CURRENT); this.state = 3028; - this.match(HiveSqlParser.T_DATE); + this.match(HiveSql.T_DATE); break; case 6: @@ -32886,15 +32886,15 @@ HiveSqlParser.prototype.expr_spec_func = function() { this.state = 3032; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_TIMESTAMP: this.state = 3029; - this.match(HiveSqlParser.T_CURRENT_TIMESTAMP); + this.match(HiveSql.T_CURRENT_TIMESTAMP); break; - case HiveSqlParser.T_CURRENT: + case HiveSql.T_CURRENT: this.state = 3030; - this.match(HiveSqlParser.T_CURRENT); + this.match(HiveSql.T_CURRENT); this.state = 3031; - this.match(HiveSqlParser.T_TIMESTAMP); + this.match(HiveSql.T_TIMESTAMP); break; default: throw new antlr4.error.NoViableAltException(this); @@ -32904,11 +32904,11 @@ HiveSqlParser.prototype.expr_spec_func = function() { var la_ = this._interp.adaptivePredict(this._input,386,this._ctx); if(la_===1) { this.state = 3034; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3035; this.expr(0); this.state = 3036; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } break; @@ -32916,43 +32916,43 @@ HiveSqlParser.prototype.expr_spec_func = function() { case 7: this.enterOuterAlt(localctx, 7); this.state = 3040; - this.match(HiveSqlParser.T_CURRENT_USER); + this.match(HiveSql.T_CURRENT_USER); break; case 8: this.enterOuterAlt(localctx, 8); this.state = 3041; - this.match(HiveSqlParser.T_CURRENT); + this.match(HiveSql.T_CURRENT); this.state = 3042; - this.match(HiveSqlParser.T_USER); + this.match(HiveSql.T_USER); break; case 9: this.enterOuterAlt(localctx, 9); this.state = 3043; - this.match(HiveSqlParser.T_MAX_PART_STRING); + this.match(HiveSql.T_MAX_PART_STRING); this.state = 3044; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3045; this.expr(0); this.state = 3058; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 3046; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3047; this.expr(0); this.state = 3055; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3048; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3049; this.expr(0); this.state = 3050; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3051; this.expr(0); this.state = 3057; @@ -32962,35 +32962,35 @@ HiveSqlParser.prototype.expr_spec_func = function() { } this.state = 3060; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 10: this.enterOuterAlt(localctx, 10); this.state = 3062; - this.match(HiveSqlParser.T_MIN_PART_STRING); + this.match(HiveSql.T_MIN_PART_STRING); this.state = 3063; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3064; this.expr(0); this.state = 3077; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 3065; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3066; this.expr(0); this.state = 3074; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3067; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3068; this.expr(0); this.state = 3069; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3070; this.expr(0); this.state = 3076; @@ -33000,35 +33000,35 @@ HiveSqlParser.prototype.expr_spec_func = function() { } this.state = 3079; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 11: this.enterOuterAlt(localctx, 11); this.state = 3081; - this.match(HiveSqlParser.T_MAX_PART_INT); + this.match(HiveSql.T_MAX_PART_INT); this.state = 3082; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3083; this.expr(0); this.state = 3096; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 3084; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3085; this.expr(0); this.state = 3093; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3086; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3087; this.expr(0); this.state = 3088; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3089; this.expr(0); this.state = 3095; @@ -33038,35 +33038,35 @@ HiveSqlParser.prototype.expr_spec_func = function() { } this.state = 3098; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 12: this.enterOuterAlt(localctx, 12); this.state = 3100; - this.match(HiveSqlParser.T_MIN_PART_INT); + this.match(HiveSql.T_MIN_PART_INT); this.state = 3101; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3102; this.expr(0); this.state = 3115; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 3103; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3104; this.expr(0); this.state = 3112; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3105; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3106; this.expr(0); this.state = 3107; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3108; this.expr(0); this.state = 3114; @@ -33076,35 +33076,35 @@ HiveSqlParser.prototype.expr_spec_func = function() { } this.state = 3117; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 13: this.enterOuterAlt(localctx, 13); this.state = 3119; - this.match(HiveSqlParser.T_MAX_PART_DATE); + this.match(HiveSql.T_MAX_PART_DATE); this.state = 3120; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3121; this.expr(0); this.state = 3134; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 3122; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3123; this.expr(0); this.state = 3131; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3124; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3125; this.expr(0); this.state = 3126; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3127; this.expr(0); this.state = 3133; @@ -33114,35 +33114,35 @@ HiveSqlParser.prototype.expr_spec_func = function() { } this.state = 3136; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 14: this.enterOuterAlt(localctx, 14); this.state = 3138; - this.match(HiveSqlParser.T_MIN_PART_DATE); + this.match(HiveSql.T_MIN_PART_DATE); this.state = 3139; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3140; this.expr(0); this.state = 3153; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 3141; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3142; this.expr(0); this.state = 3150; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3143; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3144; this.expr(0); this.state = 3145; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3146; this.expr(0); this.state = 3152; @@ -33152,27 +33152,27 @@ HiveSqlParser.prototype.expr_spec_func = function() { } this.state = 3155; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 15: this.enterOuterAlt(localctx, 15); this.state = 3157; - this.match(HiveSqlParser.T_PART_COUNT); + this.match(HiveSql.T_PART_COUNT); this.state = 3158; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3159; this.expr(0); this.state = 3167; this._errHandler.sync(this); _la = this._input.LA(1); - while(_la===HiveSqlParser.T_COMMA) { + while(_la===HiveSql.T_COMMA) { this.state = 3160; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3161; this.expr(0); this.state = 3162; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3163; this.expr(0); this.state = 3169; @@ -33180,15 +33180,15 @@ HiveSqlParser.prototype.expr_spec_func = function() { _la = this._input.LA(1); } this.state = 3170; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 16: this.enterOuterAlt(localctx, 16); this.state = 3172; - this.match(HiveSqlParser.T_PART_LOC); + this.match(HiveSql.T_PART_LOC); this.state = 3173; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3174; this.expr(0); this.state = 3180; @@ -33198,11 +33198,11 @@ HiveSqlParser.prototype.expr_spec_func = function() { switch (_alt) { case 1: this.state = 3175; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3176; this.expr(0); this.state = 3177; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3178; this.expr(0); break; @@ -33216,65 +33216,65 @@ HiveSqlParser.prototype.expr_spec_func = function() { this.state = 3186; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_COMMA) { + if(_la===HiveSql.T_COMMA) { this.state = 3184; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3185; this.expr(0); } this.state = 3188; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 17: this.enterOuterAlt(localctx, 17); this.state = 3190; - this.match(HiveSqlParser.T_TRIM); + this.match(HiveSql.T_TRIM); this.state = 3191; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3192; this.expr(0); this.state = 3193; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 18: this.enterOuterAlt(localctx, 18); this.state = 3195; - this.match(HiveSqlParser.T_SUBSTRING); + this.match(HiveSql.T_SUBSTRING); this.state = 3196; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3197; this.expr(0); this.state = 3198; - this.match(HiveSqlParser.T_FROM); + this.match(HiveSql.T_FROM); this.state = 3199; this.expr(0); this.state = 3202; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_FOR) { + if(_la===HiveSql.T_FOR) { this.state = 3200; - this.match(HiveSqlParser.T_FOR); + this.match(HiveSql.T_FOR); this.state = 3201; this.expr(0); } this.state = 3204; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); break; case 19: this.enterOuterAlt(localctx, 19); this.state = 3206; - this.match(HiveSqlParser.T_SYSDATE); + this.match(HiveSql.T_SYSDATE); break; case 20: this.enterOuterAlt(localctx, 20); this.state = 3207; - this.match(HiveSqlParser.T_USER); + this.match(HiveSql.T_USER); break; } @@ -33302,7 +33302,7 @@ function Expr_funcContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_func; + this.ruleIndex = HiveSql.RULE_expr_func; return this; } @@ -33314,11 +33314,11 @@ Expr_funcContext.prototype.ident = function() { }; Expr_funcContext.prototype.T_OPEN_P = function() { - return this.getToken(HiveSqlParser.T_OPEN_P, 0); + return this.getToken(HiveSql.T_OPEN_P, 0); }; Expr_funcContext.prototype.T_CLOSE_P = function() { - return this.getToken(HiveSqlParser.T_CLOSE_P, 0); + return this.getToken(HiveSql.T_CLOSE_P, 0); }; Expr_funcContext.prototype.expr_func_params = function() { @@ -33326,19 +33326,19 @@ Expr_funcContext.prototype.expr_func_params = function() { }; Expr_funcContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_func(this); } }; Expr_funcContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_func(this); } }; Expr_funcContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_func(this); } else { return visitor.visitChildren(this); @@ -33348,18 +33348,18 @@ Expr_funcContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_funcContext = Expr_funcContext; +HiveSql.Expr_funcContext = Expr_funcContext; -HiveSqlParser.prototype.expr_func = function() { +HiveSql.prototype.expr_func = function() { var localctx = new Expr_funcContext(this, this._ctx, this.state); - this.enterRule(localctx, 412, HiveSqlParser.RULE_expr_func); + this.enterRule(localctx, 412, HiveSql.RULE_expr_func); try { this.enterOuterAlt(localctx, 1); this.state = 3210; this.ident(); this.state = 3211; - this.match(HiveSqlParser.T_OPEN_P); + this.match(HiveSql.T_OPEN_P); this.state = 3213; this._errHandler.sync(this); var la_ = this._interp.adaptivePredict(this._input,404,this._ctx); @@ -33369,7 +33369,7 @@ HiveSqlParser.prototype.expr_func = function() { } this.state = 3215; - this.match(HiveSqlParser.T_CLOSE_P); + this.match(HiveSql.T_CLOSE_P); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -33394,7 +33394,7 @@ function Expr_func_paramsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_func_params; + this.ruleIndex = HiveSql.RULE_expr_func_params; return this; } @@ -33417,27 +33417,27 @@ Expr_func_paramsContext.prototype.T_COMMA = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_COMMA); + return this.getTokens(HiveSql.T_COMMA); } else { - return this.getToken(HiveSqlParser.T_COMMA, i); + return this.getToken(HiveSql.T_COMMA, i); } }; Expr_func_paramsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_func_params(this); } }; Expr_func_paramsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_func_params(this); } }; Expr_func_paramsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_func_params(this); } else { return visitor.visitChildren(this); @@ -33447,12 +33447,12 @@ Expr_func_paramsContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_func_paramsContext = Expr_func_paramsContext; +HiveSql.Expr_func_paramsContext = Expr_func_paramsContext; -HiveSqlParser.prototype.expr_func_params = function() { +HiveSql.prototype.expr_func_params = function() { var localctx = new Expr_func_paramsContext(this, this._ctx, this.state); - this.enterRule(localctx, 414, HiveSqlParser.RULE_expr_func_params); + this.enterRule(localctx, 414, HiveSql.RULE_expr_func_params); try { this.enterOuterAlt(localctx, 1); this.state = 3217; @@ -33463,7 +33463,7 @@ HiveSqlParser.prototype.expr_func_params = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 3218; - this.match(HiveSqlParser.T_COMMA); + this.match(HiveSql.T_COMMA); this.state = 3219; this.func_param(); } @@ -33496,7 +33496,7 @@ function Func_paramContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_func_param; + this.ruleIndex = HiveSql.RULE_func_param; return this; } @@ -33512,27 +33512,27 @@ Func_paramContext.prototype.ident = function() { }; Func_paramContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Func_paramContext.prototype.T_GREATER = function() { - return this.getToken(HiveSqlParser.T_GREATER, 0); + return this.getToken(HiveSql.T_GREATER, 0); }; Func_paramContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFunc_param(this); } }; Func_paramContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFunc_param(this); } }; Func_paramContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFunc_param(this); } else { return visitor.visitChildren(this); @@ -33542,12 +33542,12 @@ Func_paramContext.prototype.accept = function(visitor) { -HiveSqlParser.Func_paramContext = Func_paramContext; +HiveSql.Func_paramContext = Func_paramContext; -HiveSqlParser.prototype.func_param = function() { +HiveSql.prototype.func_param = function() { var localctx = new Func_paramContext(this, this._ctx, this.state); - this.enterRule(localctx, 416, HiveSqlParser.RULE_func_param); + this.enterRule(localctx, 416, HiveSql.RULE_func_param); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); @@ -33562,13 +33562,13 @@ HiveSqlParser.prototype.func_param = function() { this.state = 3226; this.ident(); this.state = 3227; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3229; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_GREATER) { + if(_la===HiveSql.T_GREATER) { this.state = 3228; - this.match(HiveSqlParser.T_GREATER); + this.match(HiveSql.T_GREATER); } @@ -33599,7 +33599,7 @@ function Expr_selectContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_select; + this.ruleIndex = HiveSql.RULE_expr_select; return this; } @@ -33615,19 +33615,19 @@ Expr_selectContext.prototype.expr = function() { }; Expr_selectContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_select(this); } }; Expr_selectContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_select(this); } }; Expr_selectContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_select(this); } else { return visitor.visitChildren(this); @@ -33637,12 +33637,12 @@ Expr_selectContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_selectContext = Expr_selectContext; +HiveSql.Expr_selectContext = Expr_selectContext; -HiveSqlParser.prototype.expr_select = function() { +HiveSql.prototype.expr_select = function() { var localctx = new Expr_selectContext(this, this._ctx, this.state); - this.enterRule(localctx, 418, HiveSqlParser.RULE_expr_select); + this.enterRule(localctx, 418, HiveSql.RULE_expr_select); try { this.state = 3237; this._errHandler.sync(this); @@ -33685,7 +33685,7 @@ function Expr_fileContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_expr_file; + this.ruleIndex = HiveSql.RULE_expr_file; return this; } @@ -33701,19 +33701,19 @@ Expr_fileContext.prototype.expr = function() { }; Expr_fileContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterExpr_file(this); } }; Expr_fileContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitExpr_file(this); } }; Expr_fileContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitExpr_file(this); } else { return visitor.visitChildren(this); @@ -33723,12 +33723,12 @@ Expr_fileContext.prototype.accept = function(visitor) { -HiveSqlParser.Expr_fileContext = Expr_fileContext; +HiveSql.Expr_fileContext = Expr_fileContext; -HiveSqlParser.prototype.expr_file = function() { +HiveSql.prototype.expr_file = function() { var localctx = new Expr_fileContext(this, this._ctx, this.state); - this.enterRule(localctx, 420, HiveSqlParser.RULE_expr_file); + this.enterRule(localctx, 420, HiveSql.RULE_expr_file); try { this.state = 3241; this._errHandler.sync(this); @@ -33771,7 +33771,7 @@ function HiveContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_hive; + this.ruleIndex = HiveSql.RULE_hive; return this; } @@ -33779,7 +33779,7 @@ HiveContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); HiveContext.prototype.constructor = HiveContext; HiveContext.prototype.T_HIVE = function() { - return this.getToken(HiveSqlParser.T_HIVE, 0); + return this.getToken(HiveSql.T_HIVE, 0); }; HiveContext.prototype.hive_item = function(i) { @@ -33794,19 +33794,19 @@ HiveContext.prototype.hive_item = function(i) { }; HiveContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterHive(this); } }; HiveContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitHive(this); } }; HiveContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitHive(this); } else { return visitor.visitChildren(this); @@ -33816,16 +33816,16 @@ HiveContext.prototype.accept = function(visitor) { -HiveSqlParser.HiveContext = HiveContext; +HiveSql.HiveContext = HiveContext; -HiveSqlParser.prototype.hive = function() { +HiveSql.prototype.hive = function() { var localctx = new HiveContext(this, this._ctx, this.state); - this.enterRule(localctx, 422, HiveSqlParser.RULE_hive); + this.enterRule(localctx, 422, HiveSql.RULE_hive); try { this.enterOuterAlt(localctx, 1); this.state = 3243; - this.match(HiveSqlParser.T_HIVE); + this.match(HiveSql.T_HIVE); this.state = 3247; this._errHandler.sync(this); var _alt = this._interp.adaptivePredict(this._input,410,this._ctx) @@ -33863,7 +33863,7 @@ function Hive_itemContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_hive_item; + this.ruleIndex = HiveSql.RULE_hive_item; return this; } @@ -33871,7 +33871,7 @@ Hive_itemContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Hive_itemContext.prototype.constructor = Hive_itemContext; Hive_itemContext.prototype.T_SUB = function() { - return this.getToken(HiveSqlParser.T_SUB, 0); + return this.getToken(HiveSql.T_SUB, 0); }; Hive_itemContext.prototype.ident = function() { @@ -33883,27 +33883,27 @@ Hive_itemContext.prototype.expr = function() { }; Hive_itemContext.prototype.L_ID = function() { - return this.getToken(HiveSqlParser.L_ID, 0); + return this.getToken(HiveSql.L_ID, 0); }; Hive_itemContext.prototype.T_EQUAL = function() { - return this.getToken(HiveSqlParser.T_EQUAL, 0); + return this.getToken(HiveSql.T_EQUAL, 0); }; Hive_itemContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterHive_item(this); } }; Hive_itemContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitHive_item(this); } }; Hive_itemContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitHive_item(this); } else { return visitor.visitChildren(this); @@ -33913,12 +33913,12 @@ Hive_itemContext.prototype.accept = function(visitor) { -HiveSqlParser.Hive_itemContext = Hive_itemContext; +HiveSql.Hive_itemContext = Hive_itemContext; -HiveSqlParser.prototype.hive_item = function() { +HiveSql.prototype.hive_item = function() { var localctx = new Hive_itemContext(this, this._ctx, this.state); - this.enterRule(localctx, 424, HiveSqlParser.RULE_hive_item); + this.enterRule(localctx, 424, HiveSql.RULE_hive_item); try { this.state = 3262; this._errHandler.sync(this); @@ -33927,7 +33927,7 @@ HiveSqlParser.prototype.hive_item = function() { case 1: this.enterOuterAlt(localctx, 1); this.state = 3250; - this.match(HiveSqlParser.T_SUB); + this.match(HiveSql.T_SUB); this.state = 3251; this.ident(); this.state = 3252; @@ -33937,13 +33937,13 @@ HiveSqlParser.prototype.hive_item = function() { case 2: this.enterOuterAlt(localctx, 2); this.state = 3254; - this.match(HiveSqlParser.T_SUB); + this.match(HiveSql.T_SUB); this.state = 3255; this.ident(); this.state = 3256; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); this.state = 3257; - this.match(HiveSqlParser.T_EQUAL); + this.match(HiveSql.T_EQUAL); this.state = 3258; this.expr(0); break; @@ -33951,7 +33951,7 @@ HiveSqlParser.prototype.hive_item = function() { case 3: this.enterOuterAlt(localctx, 3); this.state = 3260; - this.match(HiveSqlParser.T_SUB); + this.match(HiveSql.T_SUB); this.state = 3261; this.ident(); break; @@ -33981,7 +33981,7 @@ function HostContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_host; + this.ruleIndex = HiveSql.RULE_host; return this; } @@ -33989,7 +33989,7 @@ HostContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); HostContext.prototype.constructor = HostContext; HostContext.prototype.T_NOTE = function() { - return this.getToken(HiveSqlParser.T_NOTE, 0); + return this.getToken(HiveSql.T_NOTE, 0); }; HostContext.prototype.host_cmd = function() { @@ -33997,7 +33997,7 @@ HostContext.prototype.host_cmd = function() { }; HostContext.prototype.T_SEMICOLON = function() { - return this.getToken(HiveSqlParser.T_SEMICOLON, 0); + return this.getToken(HiveSql.T_SEMICOLON, 0); }; HostContext.prototype.host_stmt = function() { @@ -34005,19 +34005,19 @@ HostContext.prototype.host_stmt = function() { }; HostContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterHost(this); } }; HostContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitHost(this); } }; HostContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitHost(this); } else { return visitor.visitChildren(this); @@ -34027,26 +34027,26 @@ HostContext.prototype.accept = function(visitor) { -HiveSqlParser.HostContext = HostContext; +HiveSql.HostContext = HostContext; -HiveSqlParser.prototype.host = function() { +HiveSql.prototype.host = function() { var localctx = new HostContext(this, this._ctx, this.state); - this.enterRule(localctx, 426, HiveSqlParser.RULE_host); + this.enterRule(localctx, 426, HiveSql.RULE_host); try { this.state = 3269; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.T_NOTE: + case HiveSql.T_NOTE: this.enterOuterAlt(localctx, 1); this.state = 3264; - this.match(HiveSqlParser.T_NOTE); + this.match(HiveSql.T_NOTE); this.state = 3265; this.host_cmd(); this.state = 3266; - this.match(HiveSqlParser.T_SEMICOLON); + this.match(HiveSql.T_SEMICOLON); break; - case HiveSqlParser.T_HOST: + case HiveSql.T_HOST: this.enterOuterAlt(localctx, 2); this.state = 3268; this.host_stmt(); @@ -34078,7 +34078,7 @@ function Host_cmdContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_host_cmd; + this.ruleIndex = HiveSql.RULE_host_cmd; return this; } @@ -34087,19 +34087,19 @@ Host_cmdContext.prototype.constructor = Host_cmdContext; Host_cmdContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterHost_cmd(this); } }; Host_cmdContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitHost_cmd(this); } }; Host_cmdContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitHost_cmd(this); } else { return visitor.visitChildren(this); @@ -34109,12 +34109,12 @@ Host_cmdContext.prototype.accept = function(visitor) { -HiveSqlParser.Host_cmdContext = Host_cmdContext; +HiveSql.Host_cmdContext = Host_cmdContext; -HiveSqlParser.prototype.host_cmd = function() { +HiveSql.prototype.host_cmd = function() { var localctx = new Host_cmdContext(this, this._ctx, this.state); - this.enterRule(localctx, 428, HiveSqlParser.RULE_host_cmd); + this.enterRule(localctx, 428, HiveSql.RULE_host_cmd); try { this.enterOuterAlt(localctx, 1); this.state = 3274; @@ -34154,7 +34154,7 @@ function Host_stmtContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_host_stmt; + this.ruleIndex = HiveSql.RULE_host_stmt; return this; } @@ -34162,7 +34162,7 @@ Host_stmtContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Host_stmtContext.prototype.constructor = Host_stmtContext; Host_stmtContext.prototype.T_HOST = function() { - return this.getToken(HiveSqlParser.T_HOST, 0); + return this.getToken(HiveSql.T_HOST, 0); }; Host_stmtContext.prototype.expr = function() { @@ -34170,19 +34170,19 @@ Host_stmtContext.prototype.expr = function() { }; Host_stmtContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterHost_stmt(this); } }; Host_stmtContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitHost_stmt(this); } }; Host_stmtContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitHost_stmt(this); } else { return visitor.visitChildren(this); @@ -34192,16 +34192,16 @@ Host_stmtContext.prototype.accept = function(visitor) { -HiveSqlParser.Host_stmtContext = Host_stmtContext; +HiveSql.Host_stmtContext = Host_stmtContext; -HiveSqlParser.prototype.host_stmt = function() { +HiveSql.prototype.host_stmt = function() { var localctx = new Host_stmtContext(this, this._ctx, this.state); - this.enterRule(localctx, 430, HiveSqlParser.RULE_host_stmt); + this.enterRule(localctx, 430, HiveSql.RULE_host_stmt); try { this.enterOuterAlt(localctx, 1); this.state = 3277; - this.match(HiveSqlParser.T_HOST); + this.match(HiveSql.T_HOST); this.state = 3278; this.expr(0); } catch (re) { @@ -34228,7 +34228,7 @@ function File_nameContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_file_name; + this.ruleIndex = HiveSql.RULE_file_name; return this; } @@ -34236,7 +34236,7 @@ File_nameContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); File_nameContext.prototype.constructor = File_nameContext; File_nameContext.prototype.L_FILE = function() { - return this.getToken(HiveSqlParser.L_FILE, 0); + return this.getToken(HiveSql.L_FILE, 0); }; File_nameContext.prototype.ident = function(i) { @@ -34255,31 +34255,31 @@ File_nameContext.prototype.T_DIV = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_DIV); + return this.getTokens(HiveSql.T_DIV); } else { - return this.getToken(HiveSqlParser.T_DIV, i); + return this.getToken(HiveSql.T_DIV, i); } }; File_nameContext.prototype.T_DOT = function() { - return this.getToken(HiveSqlParser.T_DOT, 0); + return this.getToken(HiveSql.T_DOT, 0); }; File_nameContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterFile_name(this); } }; File_nameContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitFile_name(this); } }; File_nameContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitFile_name(this); } else { return visitor.visitChildren(this); @@ -34289,675 +34289,675 @@ File_nameContext.prototype.accept = function(visitor) { -HiveSqlParser.File_nameContext = File_nameContext; +HiveSql.File_nameContext = File_nameContext; -HiveSqlParser.prototype.file_name = function() { +HiveSql.prototype.file_name = function() { var localctx = new File_nameContext(this, this._ctx, this.state); - this.enterRule(localctx, 432, HiveSqlParser.RULE_file_name); + this.enterRule(localctx, 432, HiveSql.RULE_file_name); try { this.state = 3294; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.L_FILE: + case HiveSql.L_FILE: this.enterOuterAlt(localctx, 1); this.state = 3280; - this.match(HiveSqlParser.L_FILE); + this.match(HiveSql.L_FILE); break; - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.T_DIV: - case HiveSqlParser.T_DOT: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.T_DIV: + case HiveSql.T_DOT: + case HiveSql.L_ID: this.enterOuterAlt(localctx, 2); this.state = 3284; this._errHandler.sync(this); switch (this._input.LA(1)) { - case HiveSqlParser.T_DIV: + case HiveSql.T_DIV: this.state = 3281; - this.match(HiveSqlParser.T_DIV); + this.match(HiveSql.T_DIV); break; - case HiveSqlParser.T_DOT: + case HiveSql.T_DOT: this.state = 3282; - this.match(HiveSqlParser.T_DOT); + this.match(HiveSql.T_DOT); this.state = 3283; - this.match(HiveSqlParser.T_DIV); + this.match(HiveSql.T_DIV); break; - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: - case HiveSqlParser.L_ID: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: + case HiveSql.L_ID: break; default: break; @@ -34970,7 +34970,7 @@ HiveSqlParser.prototype.file_name = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 3287; - this.match(HiveSqlParser.T_DIV); + this.match(HiveSql.T_DIV); this.state = 3288; this.ident(); } @@ -35007,7 +35007,7 @@ function Date_literalContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_date_literal; + this.ruleIndex = HiveSql.RULE_date_literal; return this; } @@ -35015,7 +35015,7 @@ Date_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Date_literalContext.prototype.constructor = Date_literalContext; Date_literalContext.prototype.T_DATE = function() { - return this.getToken(HiveSqlParser.T_DATE, 0); + return this.getToken(HiveSql.T_DATE, 0); }; Date_literalContext.prototype.string = function() { @@ -35023,19 +35023,19 @@ Date_literalContext.prototype.string = function() { }; Date_literalContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDate_literal(this); } }; Date_literalContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDate_literal(this); } }; Date_literalContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDate_literal(this); } else { return visitor.visitChildren(this); @@ -35045,16 +35045,16 @@ Date_literalContext.prototype.accept = function(visitor) { -HiveSqlParser.Date_literalContext = Date_literalContext; +HiveSql.Date_literalContext = Date_literalContext; -HiveSqlParser.prototype.date_literal = function() { +HiveSql.prototype.date_literal = function() { var localctx = new Date_literalContext(this, this._ctx, this.state); - this.enterRule(localctx, 434, HiveSqlParser.RULE_date_literal); + this.enterRule(localctx, 434, HiveSql.RULE_date_literal); try { this.enterOuterAlt(localctx, 1); this.state = 3296; - this.match(HiveSqlParser.T_DATE); + this.match(HiveSql.T_DATE); this.state = 3297; this.string(); } catch (re) { @@ -35081,7 +35081,7 @@ function Timestamp_literalContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_timestamp_literal; + this.ruleIndex = HiveSql.RULE_timestamp_literal; return this; } @@ -35089,7 +35089,7 @@ Timestamp_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prot Timestamp_literalContext.prototype.constructor = Timestamp_literalContext; Timestamp_literalContext.prototype.T_TIMESTAMP = function() { - return this.getToken(HiveSqlParser.T_TIMESTAMP, 0); + return this.getToken(HiveSql.T_TIMESTAMP, 0); }; Timestamp_literalContext.prototype.string = function() { @@ -35097,19 +35097,19 @@ Timestamp_literalContext.prototype.string = function() { }; Timestamp_literalContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterTimestamp_literal(this); } }; Timestamp_literalContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitTimestamp_literal(this); } }; Timestamp_literalContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitTimestamp_literal(this); } else { return visitor.visitChildren(this); @@ -35119,16 +35119,16 @@ Timestamp_literalContext.prototype.accept = function(visitor) { -HiveSqlParser.Timestamp_literalContext = Timestamp_literalContext; +HiveSql.Timestamp_literalContext = Timestamp_literalContext; -HiveSqlParser.prototype.timestamp_literal = function() { +HiveSql.prototype.timestamp_literal = function() { var localctx = new Timestamp_literalContext(this, this._ctx, this.state); - this.enterRule(localctx, 436, HiveSqlParser.RULE_timestamp_literal); + this.enterRule(localctx, 436, HiveSql.RULE_timestamp_literal); try { this.enterOuterAlt(localctx, 1); this.state = 3299; - this.match(HiveSqlParser.T_TIMESTAMP); + this.match(HiveSql.T_TIMESTAMP); this.state = 3300; this.string(); } catch (re) { @@ -35155,7 +35155,7 @@ function IdentContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_ident; + this.ruleIndex = HiveSql.RULE_ident; return this; } @@ -35167,9 +35167,9 @@ IdentContext.prototype.L_ID = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.L_ID); + return this.getTokens(HiveSql.L_ID); } else { - return this.getToken(HiveSqlParser.L_ID, i); + return this.getToken(HiveSql.L_ID, i); } }; @@ -35190,27 +35190,27 @@ IdentContext.prototype.T_DOT = function(i) { i = null; } if(i===null) { - return this.getTokens(HiveSqlParser.T_DOT); + return this.getTokens(HiveSql.T_DOT); } else { - return this.getToken(HiveSqlParser.T_DOT, i); + return this.getToken(HiveSql.T_DOT, i); } }; IdentContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterIdent(this); } }; IdentContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitIdent(this); } }; IdentContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitIdent(this); } else { return visitor.visitChildren(this); @@ -35220,339 +35220,339 @@ IdentContext.prototype.accept = function(visitor) { -HiveSqlParser.IdentContext = IdentContext; +HiveSql.IdentContext = IdentContext; -HiveSqlParser.prototype.ident = function() { +HiveSql.prototype.ident = function() { var localctx = new IdentContext(this, this._ctx, this.state); - this.enterRule(localctx, 438, HiveSqlParser.RULE_ident); + this.enterRule(localctx, 438, HiveSql.RULE_ident); try { this.enterOuterAlt(localctx, 1); this.state = 3304; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.L_ID: + case HiveSql.L_ID: this.state = 3302; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); break; - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: this.state = 3303; this.non_reserved_words(); break; @@ -35565,332 +35565,332 @@ HiveSqlParser.prototype.ident = function() { while(_alt!=2 && _alt!=antlr4.atn.ATN.INVALID_ALT_NUMBER) { if(_alt===1) { this.state = 3306; - this.match(HiveSqlParser.T_DOT); + this.match(HiveSql.T_DOT); this.state = 3309; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.L_ID: + case HiveSql.L_ID: this.state = 3307; - this.match(HiveSqlParser.L_ID); + this.match(HiveSql.L_ID); break; - case HiveSqlParser.T_ACTION: - case HiveSqlParser.T_ADD2: - case HiveSqlParser.T_ALL: - case HiveSqlParser.T_ALLOCATE: - case HiveSqlParser.T_ALTER: - case HiveSqlParser.T_AND: - case HiveSqlParser.T_ANSI_NULLS: - case HiveSqlParser.T_ANSI_PADDING: - case HiveSqlParser.T_AS: - case HiveSqlParser.T_ASC: - case HiveSqlParser.T_ASSOCIATE: - case HiveSqlParser.T_AT: - case HiveSqlParser.T_AUTO_INCREMENT: - case HiveSqlParser.T_AVG: - case HiveSqlParser.T_BATCHSIZE: - case HiveSqlParser.T_BEGIN: - case HiveSqlParser.T_BETWEEN: - case HiveSqlParser.T_BIGINT: - case HiveSqlParser.T_BINARY_DOUBLE: - case HiveSqlParser.T_BINARY_FLOAT: - case HiveSqlParser.T_BIT: - case HiveSqlParser.T_BODY: - case HiveSqlParser.T_BREAK: - case HiveSqlParser.T_BY: - case HiveSqlParser.T_BYTE: - case HiveSqlParser.T_CALL: - case HiveSqlParser.T_CALLER: - case HiveSqlParser.T_CASCADE: - case HiveSqlParser.T_CASE: - case HiveSqlParser.T_CASESPECIFIC: - case HiveSqlParser.T_CAST: - case HiveSqlParser.T_CHAR: - case HiveSqlParser.T_CHARACTER: - case HiveSqlParser.T_CHARSET: - case HiveSqlParser.T_CLIENT: - case HiveSqlParser.T_CLOSE: - case HiveSqlParser.T_CLUSTERED: - case HiveSqlParser.T_CMP: - case HiveSqlParser.T_COLLECT: - case HiveSqlParser.T_COLLECTION: - case HiveSqlParser.T_COLUMN: - case HiveSqlParser.T_COMMENT: - case HiveSqlParser.T_CONSTANT: - case HiveSqlParser.T_COMMIT: - case HiveSqlParser.T_COMPRESS: - case HiveSqlParser.T_CONCAT: - case HiveSqlParser.T_CONDITION: - case HiveSqlParser.T_CONSTRAINT: - case HiveSqlParser.T_CONTINUE: - case HiveSqlParser.T_COPY: - case HiveSqlParser.T_COUNT: - case HiveSqlParser.T_COUNT_BIG: - case HiveSqlParser.T_CREATE: - case HiveSqlParser.T_CREATION: - case HiveSqlParser.T_CREATOR: - case HiveSqlParser.T_CS: - case HiveSqlParser.T_CURRENT: - case HiveSqlParser.T_CURRENT_SCHEMA: - case HiveSqlParser.T_CURSOR: - case HiveSqlParser.T_DATABASE: - case HiveSqlParser.T_DATA: - case HiveSqlParser.T_DATE: - case HiveSqlParser.T_DATETIME: - case HiveSqlParser.T_DAY: - case HiveSqlParser.T_DAYS: - case HiveSqlParser.T_DEC: - case HiveSqlParser.T_DECIMAL: - case HiveSqlParser.T_DECLARE: - case HiveSqlParser.T_DEFAULT: - case HiveSqlParser.T_DEFERRED: - case HiveSqlParser.T_DEFINED: - case HiveSqlParser.T_DEFINER: - case HiveSqlParser.T_DEFINITION: - case HiveSqlParser.T_DELETE: - case HiveSqlParser.T_DELIMITED: - case HiveSqlParser.T_DELIMITER: - case HiveSqlParser.T_DESC: - case HiveSqlParser.T_DESCRIBE: - case HiveSqlParser.T_DIAGNOSTICS: - case HiveSqlParser.T_DIR: - case HiveSqlParser.T_DIRECTORY: - case HiveSqlParser.T_DISTINCT: - case HiveSqlParser.T_DISTRIBUTE: - case HiveSqlParser.T_DO: - case HiveSqlParser.T_DOUBLE: - case HiveSqlParser.T_DROP: - case HiveSqlParser.T_DYNAMIC: - case HiveSqlParser.T_ENABLE: - case HiveSqlParser.T_ENGINE: - case HiveSqlParser.T_ESCAPED: - case HiveSqlParser.T_EXCEPT: - case HiveSqlParser.T_EXEC: - case HiveSqlParser.T_EXECUTE: - case HiveSqlParser.T_EXCEPTION: - case HiveSqlParser.T_EXCLUSIVE: - case HiveSqlParser.T_EXISTS: - case HiveSqlParser.T_EXIT: - case HiveSqlParser.T_FALLBACK: - case HiveSqlParser.T_FALSE: - case HiveSqlParser.T_FETCH: - case HiveSqlParser.T_FIELDS: - case HiveSqlParser.T_FILE: - case HiveSqlParser.T_FILES: - case HiveSqlParser.T_FLOAT: - case HiveSqlParser.T_FOR: - case HiveSqlParser.T_FOREIGN: - case HiveSqlParser.T_FORMAT: - case HiveSqlParser.T_FOUND: - case HiveSqlParser.T_FROM: - case HiveSqlParser.T_FULL: - case HiveSqlParser.T_FUNCTION: - case HiveSqlParser.T_GET: - case HiveSqlParser.T_GLOBAL: - case HiveSqlParser.T_GO: - case HiveSqlParser.T_GRANT: - case HiveSqlParser.T_GROUP: - case HiveSqlParser.T_HANDLER: - case HiveSqlParser.T_HASH: - case HiveSqlParser.T_HAVING: - case HiveSqlParser.T_HDFS: - case HiveSqlParser.T_HIVE: - case HiveSqlParser.T_HOST: - case HiveSqlParser.T_IDENTITY: - case HiveSqlParser.T_IF: - case HiveSqlParser.T_IGNORE: - case HiveSqlParser.T_IMMEDIATE: - case HiveSqlParser.T_IN: - case HiveSqlParser.T_INCLUDE: - case HiveSqlParser.T_INDEX: - case HiveSqlParser.T_INITRANS: - case HiveSqlParser.T_INNER: - case HiveSqlParser.T_INOUT: - case HiveSqlParser.T_INSERT: - case HiveSqlParser.T_INT: - case HiveSqlParser.T_INT2: - case HiveSqlParser.T_INT4: - case HiveSqlParser.T_INT8: - case HiveSqlParser.T_INTEGER: - case HiveSqlParser.T_INTERSECT: - case HiveSqlParser.T_INTERVAL: - case HiveSqlParser.T_INTO: - case HiveSqlParser.T_INVOKER: - case HiveSqlParser.T_IS: - case HiveSqlParser.T_ISOPEN: - case HiveSqlParser.T_ITEMS: - case HiveSqlParser.T_JOIN: - case HiveSqlParser.T_KEEP: - case HiveSqlParser.T_KEY: - case HiveSqlParser.T_KEYS: - case HiveSqlParser.T_LANGUAGE: - case HiveSqlParser.T_LEAVE: - case HiveSqlParser.T_LEFT: - case HiveSqlParser.T_LIKE: - case HiveSqlParser.T_LIMIT: - case HiveSqlParser.T_LINES: - case HiveSqlParser.T_LOCAL: - case HiveSqlParser.T_LOCATION: - case HiveSqlParser.T_LOCATOR: - case HiveSqlParser.T_LOCATORS: - case HiveSqlParser.T_LOCKS: - case HiveSqlParser.T_LOG: - case HiveSqlParser.T_LOGGED: - case HiveSqlParser.T_LOGGING: - case HiveSqlParser.T_LOOP: - case HiveSqlParser.T_MAP: - case HiveSqlParser.T_MATCHED: - case HiveSqlParser.T_MAX: - case HiveSqlParser.T_MAXTRANS: - case HiveSqlParser.T_MERGE: - case HiveSqlParser.T_MESSAGE_TEXT: - case HiveSqlParser.T_MICROSECOND: - case HiveSqlParser.T_MICROSECONDS: - case HiveSqlParser.T_MIN: - case HiveSqlParser.T_MULTISET: - case HiveSqlParser.T_NCHAR: - case HiveSqlParser.T_NEW: - case HiveSqlParser.T_NVARCHAR: - case HiveSqlParser.T_NO: - case HiveSqlParser.T_NOCOUNT: - case HiveSqlParser.T_NOCOMPRESS: - case HiveSqlParser.T_NOLOGGING: - case HiveSqlParser.T_NONE: - case HiveSqlParser.T_NOT: - case HiveSqlParser.T_NOTFOUND: - case HiveSqlParser.T_NUMERIC: - case HiveSqlParser.T_NUMBER: - case HiveSqlParser.T_OBJECT: - case HiveSqlParser.T_OFF: - case HiveSqlParser.T_ON: - case HiveSqlParser.T_ONLY: - case HiveSqlParser.T_OPEN: - case HiveSqlParser.T_OR: - case HiveSqlParser.T_ORDER: - case HiveSqlParser.T_OUT: - case HiveSqlParser.T_OUTER: - case HiveSqlParser.T_OVER: - case HiveSqlParser.T_OVERWRITE: - case HiveSqlParser.T_OWNER: - case HiveSqlParser.T_PACKAGE: - case HiveSqlParser.T_PARTITION: - case HiveSqlParser.T_PCTFREE: - case HiveSqlParser.T_PCTUSED: - case HiveSqlParser.T_PRECISION: - case HiveSqlParser.T_PRESERVE: - case HiveSqlParser.T_PRIMARY: - case HiveSqlParser.T_PRINT: - case HiveSqlParser.T_PROC: - case HiveSqlParser.T_PROCEDURE: - case HiveSqlParser.T_QUALIFY: - case HiveSqlParser.T_QUERY_BAND: - case HiveSqlParser.T_QUIT: - case HiveSqlParser.T_QUOTED_IDENTIFIER: - case HiveSqlParser.T_RAISE: - case HiveSqlParser.T_REAL: - case HiveSqlParser.T_REFERENCES: - case HiveSqlParser.T_REGEXP: - case HiveSqlParser.T_REPLACE: - case HiveSqlParser.T_RESIGNAL: - case HiveSqlParser.T_RESTRICT: - case HiveSqlParser.T_RESULT: - case HiveSqlParser.T_RESULT_SET_LOCATOR: - case HiveSqlParser.T_RETURN: - case HiveSqlParser.T_RETURNS: - case HiveSqlParser.T_REVERSE: - case HiveSqlParser.T_RIGHT: - case HiveSqlParser.T_RLIKE: - case HiveSqlParser.T_ROLE: - case HiveSqlParser.T_ROLLBACK: - case HiveSqlParser.T_ROW: - case HiveSqlParser.T_ROWS: - case HiveSqlParser.T_ROW_COUNT: - case HiveSqlParser.T_RR: - case HiveSqlParser.T_RS: - case HiveSqlParser.T_PWD: - case HiveSqlParser.T_TRIM: - case HiveSqlParser.T_SCHEMA: - case HiveSqlParser.T_SECOND: - case HiveSqlParser.T_SECONDS: - case HiveSqlParser.T_SECURITY: - case HiveSqlParser.T_SEGMENT: - case HiveSqlParser.T_SEL: - case HiveSqlParser.T_SELECT: - case HiveSqlParser.T_SET: - case HiveSqlParser.T_SESSION: - case HiveSqlParser.T_SESSIONS: - case HiveSqlParser.T_SETS: - case HiveSqlParser.T_SHARE: - case HiveSqlParser.T_SIGNAL: - case HiveSqlParser.T_SIMPLE_DOUBLE: - case HiveSqlParser.T_SIMPLE_FLOAT: - case HiveSqlParser.T_SMALLDATETIME: - case HiveSqlParser.T_SMALLINT: - case HiveSqlParser.T_SQL: - case HiveSqlParser.T_SQLEXCEPTION: - case HiveSqlParser.T_SQLINSERT: - case HiveSqlParser.T_SQLSTATE: - case HiveSqlParser.T_SQLWARNING: - case HiveSqlParser.T_STATS: - case HiveSqlParser.T_STATISTICS: - case HiveSqlParser.T_STEP: - case HiveSqlParser.T_STORAGE: - case HiveSqlParser.T_STORED: - case HiveSqlParser.T_STRING: - case HiveSqlParser.T_SUBDIR: - case HiveSqlParser.T_SUBSTRING: - case HiveSqlParser.T_SUM: - case HiveSqlParser.T_SUMMARY: - case HiveSqlParser.T_SYS_REFCURSOR: - case HiveSqlParser.T_TABLE: - case HiveSqlParser.T_TABLESPACE: - case HiveSqlParser.T_TEMPORARY: - case HiveSqlParser.T_TERMINATED: - case HiveSqlParser.T_TEXTIMAGE_ON: - case HiveSqlParser.T_THEN: - case HiveSqlParser.T_TIMESTAMP: - case HiveSqlParser.T_TITLE: - case HiveSqlParser.T_TO: - case HiveSqlParser.T_TOP: - case HiveSqlParser.T_TRANSACTION: - case HiveSqlParser.T_TRUE: - case HiveSqlParser.T_TRUNCATE: - case HiveSqlParser.T_UNIQUE: - case HiveSqlParser.T_UPDATE: - case HiveSqlParser.T_UR: - case HiveSqlParser.T_USE: - case HiveSqlParser.T_USING: - case HiveSqlParser.T_VALUE: - case HiveSqlParser.T_VALUES: - case HiveSqlParser.T_VAR: - case HiveSqlParser.T_VARCHAR: - case HiveSqlParser.T_VARCHAR2: - case HiveSqlParser.T_VARYING: - case HiveSqlParser.T_VOLATILE: - case HiveSqlParser.T_WHILE: - case HiveSqlParser.T_WITH: - case HiveSqlParser.T_WITHOUT: - case HiveSqlParser.T_WORK: - case HiveSqlParser.T_XACT_ABORT: - case HiveSqlParser.T_XML: - case HiveSqlParser.T_YES: - case HiveSqlParser.T_ACTIVITY_COUNT: - case HiveSqlParser.T_CUME_DIST: - case HiveSqlParser.T_CURRENT_DATE: - case HiveSqlParser.T_CURRENT_TIMESTAMP: - case HiveSqlParser.T_CURRENT_USER: - case HiveSqlParser.T_DENSE_RANK: - case HiveSqlParser.T_FIRST_VALUE: - case HiveSqlParser.T_LAG: - case HiveSqlParser.T_LAST_VALUE: - case HiveSqlParser.T_LEAD: - case HiveSqlParser.T_PART_COUNT: - case HiveSqlParser.T_PART_LOC: - case HiveSqlParser.T_RANK: - case HiveSqlParser.T_ROW_NUMBER: - case HiveSqlParser.T_STDEV: - case HiveSqlParser.T_SYSDATE: - case HiveSqlParser.T_VARIANCE: - case HiveSqlParser.T_USER: + case HiveSql.T_ACTION: + case HiveSql.T_ADD2: + case HiveSql.T_ALL: + case HiveSql.T_ALLOCATE: + case HiveSql.T_ALTER: + case HiveSql.T_AND: + case HiveSql.T_ANSI_NULLS: + case HiveSql.T_ANSI_PADDING: + case HiveSql.T_AS: + case HiveSql.T_ASC: + case HiveSql.T_ASSOCIATE: + case HiveSql.T_AT: + case HiveSql.T_AUTO_INCREMENT: + case HiveSql.T_AVG: + case HiveSql.T_BATCHSIZE: + case HiveSql.T_BEGIN: + case HiveSql.T_BETWEEN: + case HiveSql.T_BIGINT: + case HiveSql.T_BINARY_DOUBLE: + case HiveSql.T_BINARY_FLOAT: + case HiveSql.T_BIT: + case HiveSql.T_BODY: + case HiveSql.T_BREAK: + case HiveSql.T_BY: + case HiveSql.T_BYTE: + case HiveSql.T_CALL: + case HiveSql.T_CALLER: + case HiveSql.T_CASCADE: + case HiveSql.T_CASE: + case HiveSql.T_CASESPECIFIC: + case HiveSql.T_CAST: + case HiveSql.T_CHAR: + case HiveSql.T_CHARACTER: + case HiveSql.T_CHARSET: + case HiveSql.T_CLIENT: + case HiveSql.T_CLOSE: + case HiveSql.T_CLUSTERED: + case HiveSql.T_CMP: + case HiveSql.T_COLLECT: + case HiveSql.T_COLLECTION: + case HiveSql.T_COLUMN: + case HiveSql.T_COMMENT: + case HiveSql.T_CONSTANT: + case HiveSql.T_COMMIT: + case HiveSql.T_COMPRESS: + case HiveSql.T_CONCAT: + case HiveSql.T_CONDITION: + case HiveSql.T_CONSTRAINT: + case HiveSql.T_CONTINUE: + case HiveSql.T_COPY: + case HiveSql.T_COUNT: + case HiveSql.T_COUNT_BIG: + case HiveSql.T_CREATE: + case HiveSql.T_CREATION: + case HiveSql.T_CREATOR: + case HiveSql.T_CS: + case HiveSql.T_CURRENT: + case HiveSql.T_CURRENT_SCHEMA: + case HiveSql.T_CURSOR: + case HiveSql.T_DATABASE: + case HiveSql.T_DATA: + case HiveSql.T_DATE: + case HiveSql.T_DATETIME: + case HiveSql.T_DAY: + case HiveSql.T_DAYS: + case HiveSql.T_DEC: + case HiveSql.T_DECIMAL: + case HiveSql.T_DECLARE: + case HiveSql.T_DEFAULT: + case HiveSql.T_DEFERRED: + case HiveSql.T_DEFINED: + case HiveSql.T_DEFINER: + case HiveSql.T_DEFINITION: + case HiveSql.T_DELETE: + case HiveSql.T_DELIMITED: + case HiveSql.T_DELIMITER: + case HiveSql.T_DESC: + case HiveSql.T_DESCRIBE: + case HiveSql.T_DIAGNOSTICS: + case HiveSql.T_DIR: + case HiveSql.T_DIRECTORY: + case HiveSql.T_DISTINCT: + case HiveSql.T_DISTRIBUTE: + case HiveSql.T_DO: + case HiveSql.T_DOUBLE: + case HiveSql.T_DROP: + case HiveSql.T_DYNAMIC: + case HiveSql.T_ENABLE: + case HiveSql.T_ENGINE: + case HiveSql.T_ESCAPED: + case HiveSql.T_EXCEPT: + case HiveSql.T_EXEC: + case HiveSql.T_EXECUTE: + case HiveSql.T_EXCEPTION: + case HiveSql.T_EXCLUSIVE: + case HiveSql.T_EXISTS: + case HiveSql.T_EXIT: + case HiveSql.T_FALLBACK: + case HiveSql.T_FALSE: + case HiveSql.T_FETCH: + case HiveSql.T_FIELDS: + case HiveSql.T_FILE: + case HiveSql.T_FILES: + case HiveSql.T_FLOAT: + case HiveSql.T_FOR: + case HiveSql.T_FOREIGN: + case HiveSql.T_FORMAT: + case HiveSql.T_FOUND: + case HiveSql.T_FROM: + case HiveSql.T_FULL: + case HiveSql.T_FUNCTION: + case HiveSql.T_GET: + case HiveSql.T_GLOBAL: + case HiveSql.T_GO: + case HiveSql.T_GRANT: + case HiveSql.T_GROUP: + case HiveSql.T_HANDLER: + case HiveSql.T_HASH: + case HiveSql.T_HAVING: + case HiveSql.T_HDFS: + case HiveSql.T_HIVE: + case HiveSql.T_HOST: + case HiveSql.T_IDENTITY: + case HiveSql.T_IF: + case HiveSql.T_IGNORE: + case HiveSql.T_IMMEDIATE: + case HiveSql.T_IN: + case HiveSql.T_INCLUDE: + case HiveSql.T_INDEX: + case HiveSql.T_INITRANS: + case HiveSql.T_INNER: + case HiveSql.T_INOUT: + case HiveSql.T_INSERT: + case HiveSql.T_INT: + case HiveSql.T_INT2: + case HiveSql.T_INT4: + case HiveSql.T_INT8: + case HiveSql.T_INTEGER: + case HiveSql.T_INTERSECT: + case HiveSql.T_INTERVAL: + case HiveSql.T_INTO: + case HiveSql.T_INVOKER: + case HiveSql.T_IS: + case HiveSql.T_ISOPEN: + case HiveSql.T_ITEMS: + case HiveSql.T_JOIN: + case HiveSql.T_KEEP: + case HiveSql.T_KEY: + case HiveSql.T_KEYS: + case HiveSql.T_LANGUAGE: + case HiveSql.T_LEAVE: + case HiveSql.T_LEFT: + case HiveSql.T_LIKE: + case HiveSql.T_LIMIT: + case HiveSql.T_LINES: + case HiveSql.T_LOCAL: + case HiveSql.T_LOCATION: + case HiveSql.T_LOCATOR: + case HiveSql.T_LOCATORS: + case HiveSql.T_LOCKS: + case HiveSql.T_LOG: + case HiveSql.T_LOGGED: + case HiveSql.T_LOGGING: + case HiveSql.T_LOOP: + case HiveSql.T_MAP: + case HiveSql.T_MATCHED: + case HiveSql.T_MAX: + case HiveSql.T_MAXTRANS: + case HiveSql.T_MERGE: + case HiveSql.T_MESSAGE_TEXT: + case HiveSql.T_MICROSECOND: + case HiveSql.T_MICROSECONDS: + case HiveSql.T_MIN: + case HiveSql.T_MULTISET: + case HiveSql.T_NCHAR: + case HiveSql.T_NEW: + case HiveSql.T_NVARCHAR: + case HiveSql.T_NO: + case HiveSql.T_NOCOUNT: + case HiveSql.T_NOCOMPRESS: + case HiveSql.T_NOLOGGING: + case HiveSql.T_NONE: + case HiveSql.T_NOT: + case HiveSql.T_NOTFOUND: + case HiveSql.T_NUMERIC: + case HiveSql.T_NUMBER: + case HiveSql.T_OBJECT: + case HiveSql.T_OFF: + case HiveSql.T_ON: + case HiveSql.T_ONLY: + case HiveSql.T_OPEN: + case HiveSql.T_OR: + case HiveSql.T_ORDER: + case HiveSql.T_OUT: + case HiveSql.T_OUTER: + case HiveSql.T_OVER: + case HiveSql.T_OVERWRITE: + case HiveSql.T_OWNER: + case HiveSql.T_PACKAGE: + case HiveSql.T_PARTITION: + case HiveSql.T_PCTFREE: + case HiveSql.T_PCTUSED: + case HiveSql.T_PRECISION: + case HiveSql.T_PRESERVE: + case HiveSql.T_PRIMARY: + case HiveSql.T_PRINT: + case HiveSql.T_PROC: + case HiveSql.T_PROCEDURE: + case HiveSql.T_QUALIFY: + case HiveSql.T_QUERY_BAND: + case HiveSql.T_QUIT: + case HiveSql.T_QUOTED_IDENTIFIER: + case HiveSql.T_RAISE: + case HiveSql.T_REAL: + case HiveSql.T_REFERENCES: + case HiveSql.T_REGEXP: + case HiveSql.T_REPLACE: + case HiveSql.T_RESIGNAL: + case HiveSql.T_RESTRICT: + case HiveSql.T_RESULT: + case HiveSql.T_RESULT_SET_LOCATOR: + case HiveSql.T_RETURN: + case HiveSql.T_RETURNS: + case HiveSql.T_REVERSE: + case HiveSql.T_RIGHT: + case HiveSql.T_RLIKE: + case HiveSql.T_ROLE: + case HiveSql.T_ROLLBACK: + case HiveSql.T_ROW: + case HiveSql.T_ROWS: + case HiveSql.T_ROW_COUNT: + case HiveSql.T_RR: + case HiveSql.T_RS: + case HiveSql.T_PWD: + case HiveSql.T_TRIM: + case HiveSql.T_SCHEMA: + case HiveSql.T_SECOND: + case HiveSql.T_SECONDS: + case HiveSql.T_SECURITY: + case HiveSql.T_SEGMENT: + case HiveSql.T_SEL: + case HiveSql.T_SELECT: + case HiveSql.T_SET: + case HiveSql.T_SESSION: + case HiveSql.T_SESSIONS: + case HiveSql.T_SETS: + case HiveSql.T_SHARE: + case HiveSql.T_SIGNAL: + case HiveSql.T_SIMPLE_DOUBLE: + case HiveSql.T_SIMPLE_FLOAT: + case HiveSql.T_SMALLDATETIME: + case HiveSql.T_SMALLINT: + case HiveSql.T_SQL: + case HiveSql.T_SQLEXCEPTION: + case HiveSql.T_SQLINSERT: + case HiveSql.T_SQLSTATE: + case HiveSql.T_SQLWARNING: + case HiveSql.T_STATS: + case HiveSql.T_STATISTICS: + case HiveSql.T_STEP: + case HiveSql.T_STORAGE: + case HiveSql.T_STORED: + case HiveSql.T_STRING: + case HiveSql.T_SUBDIR: + case HiveSql.T_SUBSTRING: + case HiveSql.T_SUM: + case HiveSql.T_SUMMARY: + case HiveSql.T_SYS_REFCURSOR: + case HiveSql.T_TABLE: + case HiveSql.T_TABLESPACE: + case HiveSql.T_TEMPORARY: + case HiveSql.T_TERMINATED: + case HiveSql.T_TEXTIMAGE_ON: + case HiveSql.T_THEN: + case HiveSql.T_TIMESTAMP: + case HiveSql.T_TITLE: + case HiveSql.T_TO: + case HiveSql.T_TOP: + case HiveSql.T_TRANSACTION: + case HiveSql.T_TRUE: + case HiveSql.T_TRUNCATE: + case HiveSql.T_UNIQUE: + case HiveSql.T_UPDATE: + case HiveSql.T_UR: + case HiveSql.T_USE: + case HiveSql.T_USING: + case HiveSql.T_VALUE: + case HiveSql.T_VALUES: + case HiveSql.T_VAR: + case HiveSql.T_VARCHAR: + case HiveSql.T_VARCHAR2: + case HiveSql.T_VARYING: + case HiveSql.T_VOLATILE: + case HiveSql.T_WHILE: + case HiveSql.T_WITH: + case HiveSql.T_WITHOUT: + case HiveSql.T_WORK: + case HiveSql.T_XACT_ABORT: + case HiveSql.T_XML: + case HiveSql.T_YES: + case HiveSql.T_ACTIVITY_COUNT: + case HiveSql.T_CUME_DIST: + case HiveSql.T_CURRENT_DATE: + case HiveSql.T_CURRENT_TIMESTAMP: + case HiveSql.T_CURRENT_USER: + case HiveSql.T_DENSE_RANK: + case HiveSql.T_FIRST_VALUE: + case HiveSql.T_LAG: + case HiveSql.T_LAST_VALUE: + case HiveSql.T_LEAD: + case HiveSql.T_PART_COUNT: + case HiveSql.T_PART_LOC: + case HiveSql.T_RANK: + case HiveSql.T_ROW_NUMBER: + case HiveSql.T_STDEV: + case HiveSql.T_SYSDATE: + case HiveSql.T_VARIANCE: + case HiveSql.T_USER: this.state = 3308; this.non_reserved_words(); break; @@ -35927,7 +35927,7 @@ function StringContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_string; + this.ruleIndex = HiveSql.RULE_string; return this; } @@ -35950,25 +35950,25 @@ function Double_quotedStringContext(parser, ctx) { Double_quotedStringContext.prototype = Object.create(StringContext.prototype); Double_quotedStringContext.prototype.constructor = Double_quotedStringContext; -HiveSqlParser.Double_quotedStringContext = Double_quotedStringContext; +HiveSql.Double_quotedStringContext = Double_quotedStringContext; Double_quotedStringContext.prototype.L_D_STRING = function() { - return this.getToken(HiveSqlParser.L_D_STRING, 0); + return this.getToken(HiveSql.L_D_STRING, 0); }; Double_quotedStringContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDouble_quotedString(this); } }; Double_quotedStringContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDouble_quotedString(this); } }; Double_quotedStringContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDouble_quotedString(this); } else { return visitor.visitChildren(this); @@ -35985,25 +35985,25 @@ function Single_quotedStringContext(parser, ctx) { Single_quotedStringContext.prototype = Object.create(StringContext.prototype); Single_quotedStringContext.prototype.constructor = Single_quotedStringContext; -HiveSqlParser.Single_quotedStringContext = Single_quotedStringContext; +HiveSql.Single_quotedStringContext = Single_quotedStringContext; Single_quotedStringContext.prototype.L_S_STRING = function() { - return this.getToken(HiveSqlParser.L_S_STRING, 0); + return this.getToken(HiveSql.L_S_STRING, 0); }; Single_quotedStringContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterSingle_quotedString(this); } }; Single_quotedStringContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitSingle_quotedString(this); } }; Single_quotedStringContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitSingle_quotedString(this); } else { return visitor.visitChildren(this); @@ -36012,27 +36012,27 @@ Single_quotedStringContext.prototype.accept = function(visitor) { -HiveSqlParser.StringContext = StringContext; +HiveSql.StringContext = StringContext; -HiveSqlParser.prototype.string = function() { +HiveSql.prototype.string = function() { var localctx = new StringContext(this, this._ctx, this.state); - this.enterRule(localctx, 440, HiveSqlParser.RULE_string); + this.enterRule(localctx, 440, HiveSql.RULE_string); try { this.state = 3318; this._errHandler.sync(this); switch(this._input.LA(1)) { - case HiveSqlParser.L_S_STRING: + case HiveSql.L_S_STRING: localctx = new Single_quotedStringContext(this, localctx); this.enterOuterAlt(localctx, 1); this.state = 3316; - this.match(HiveSqlParser.L_S_STRING); + this.match(HiveSql.L_S_STRING); break; - case HiveSqlParser.L_D_STRING: + case HiveSql.L_D_STRING: localctx = new Double_quotedStringContext(this, localctx); this.enterOuterAlt(localctx, 2); this.state = 3317; - this.match(HiveSqlParser.L_D_STRING); + this.match(HiveSql.L_D_STRING); break; default: throw new antlr4.error.NoViableAltException(this); @@ -36061,7 +36061,7 @@ function Int_numberContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_int_number; + this.ruleIndex = HiveSql.RULE_int_number; return this; } @@ -36069,31 +36069,31 @@ Int_numberContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Int_numberContext.prototype.constructor = Int_numberContext; Int_numberContext.prototype.L_INT = function() { - return this.getToken(HiveSqlParser.L_INT, 0); + return this.getToken(HiveSql.L_INT, 0); }; Int_numberContext.prototype.T_SUB = function() { - return this.getToken(HiveSqlParser.T_SUB, 0); + return this.getToken(HiveSql.T_SUB, 0); }; Int_numberContext.prototype.T_ADD = function() { - return this.getToken(HiveSqlParser.T_ADD, 0); + return this.getToken(HiveSql.T_ADD, 0); }; Int_numberContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterInt_number(this); } }; Int_numberContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitInt_number(this); } }; Int_numberContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitInt_number(this); } else { return visitor.visitChildren(this); @@ -36103,22 +36103,22 @@ Int_numberContext.prototype.accept = function(visitor) { -HiveSqlParser.Int_numberContext = Int_numberContext; +HiveSql.Int_numberContext = Int_numberContext; -HiveSqlParser.prototype.int_number = function() { +HiveSql.prototype.int_number = function() { var localctx = new Int_numberContext(this, this._ctx, this.state); - this.enterRule(localctx, 442, HiveSqlParser.RULE_int_number); + this.enterRule(localctx, 442, HiveSql.RULE_int_number); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 3321; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ADD || _la===HiveSqlParser.T_SUB) { + if(_la===HiveSql.T_ADD || _la===HiveSql.T_SUB) { this.state = 3320; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ADD || _la===HiveSqlParser.T_SUB)) { + if(!(_la===HiveSql.T_ADD || _la===HiveSql.T_SUB)) { this._errHandler.recoverInline(this); } else { @@ -36128,7 +36128,7 @@ HiveSqlParser.prototype.int_number = function() { } this.state = 3323; - this.match(HiveSqlParser.L_INT); + this.match(HiveSql.L_INT); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -36153,7 +36153,7 @@ function Dec_numberContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_dec_number; + this.ruleIndex = HiveSql.RULE_dec_number; return this; } @@ -36161,31 +36161,31 @@ Dec_numberContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Dec_numberContext.prototype.constructor = Dec_numberContext; Dec_numberContext.prototype.L_DEC = function() { - return this.getToken(HiveSqlParser.L_DEC, 0); + return this.getToken(HiveSql.L_DEC, 0); }; Dec_numberContext.prototype.T_SUB = function() { - return this.getToken(HiveSqlParser.T_SUB, 0); + return this.getToken(HiveSql.T_SUB, 0); }; Dec_numberContext.prototype.T_ADD = function() { - return this.getToken(HiveSqlParser.T_ADD, 0); + return this.getToken(HiveSql.T_ADD, 0); }; Dec_numberContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterDec_number(this); } }; Dec_numberContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitDec_number(this); } }; Dec_numberContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitDec_number(this); } else { return visitor.visitChildren(this); @@ -36195,22 +36195,22 @@ Dec_numberContext.prototype.accept = function(visitor) { -HiveSqlParser.Dec_numberContext = Dec_numberContext; +HiveSql.Dec_numberContext = Dec_numberContext; -HiveSqlParser.prototype.dec_number = function() { +HiveSql.prototype.dec_number = function() { var localctx = new Dec_numberContext(this, this._ctx, this.state); - this.enterRule(localctx, 444, HiveSqlParser.RULE_dec_number); + this.enterRule(localctx, 444, HiveSql.RULE_dec_number); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 3326; this._errHandler.sync(this); _la = this._input.LA(1); - if(_la===HiveSqlParser.T_ADD || _la===HiveSqlParser.T_SUB) { + if(_la===HiveSql.T_ADD || _la===HiveSql.T_SUB) { this.state = 3325; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_ADD || _la===HiveSqlParser.T_SUB)) { + if(!(_la===HiveSql.T_ADD || _la===HiveSql.T_SUB)) { this._errHandler.recoverInline(this); } else { @@ -36220,7 +36220,7 @@ HiveSqlParser.prototype.dec_number = function() { } this.state = 3328; - this.match(HiveSqlParser.L_DEC); + this.match(HiveSql.L_DEC); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -36245,7 +36245,7 @@ function Bool_literalContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_bool_literal; + this.ruleIndex = HiveSql.RULE_bool_literal; return this; } @@ -36253,27 +36253,27 @@ Bool_literalContext.prototype = Object.create(antlr4.ParserRuleContext.prototype Bool_literalContext.prototype.constructor = Bool_literalContext; Bool_literalContext.prototype.T_TRUE = function() { - return this.getToken(HiveSqlParser.T_TRUE, 0); + return this.getToken(HiveSql.T_TRUE, 0); }; Bool_literalContext.prototype.T_FALSE = function() { - return this.getToken(HiveSqlParser.T_FALSE, 0); + return this.getToken(HiveSql.T_FALSE, 0); }; Bool_literalContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterBool_literal(this); } }; Bool_literalContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitBool_literal(this); } }; Bool_literalContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitBool_literal(this); } else { return visitor.visitChildren(this); @@ -36283,18 +36283,18 @@ Bool_literalContext.prototype.accept = function(visitor) { -HiveSqlParser.Bool_literalContext = Bool_literalContext; +HiveSql.Bool_literalContext = Bool_literalContext; -HiveSqlParser.prototype.bool_literal = function() { +HiveSql.prototype.bool_literal = function() { var localctx = new Bool_literalContext(this, this._ctx, this.state); - this.enterRule(localctx, 446, HiveSqlParser.RULE_bool_literal); + this.enterRule(localctx, 446, HiveSql.RULE_bool_literal); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 3330; _la = this._input.LA(1); - if(!(_la===HiveSqlParser.T_FALSE || _la===HiveSqlParser.T_TRUE)) { + if(!(_la===HiveSql.T_FALSE || _la===HiveSql.T_TRUE)) { this._errHandler.recoverInline(this); } else { @@ -36325,7 +36325,7 @@ function Null_constContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_null_const; + this.ruleIndex = HiveSql.RULE_null_const; return this; } @@ -36333,23 +36333,23 @@ Null_constContext.prototype = Object.create(antlr4.ParserRuleContext.prototype); Null_constContext.prototype.constructor = Null_constContext; Null_constContext.prototype.T_NULL = function() { - return this.getToken(HiveSqlParser.T_NULL, 0); + return this.getToken(HiveSql.T_NULL, 0); }; Null_constContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterNull_const(this); } }; Null_constContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitNull_const(this); } }; Null_constContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitNull_const(this); } else { return visitor.visitChildren(this); @@ -36359,16 +36359,16 @@ Null_constContext.prototype.accept = function(visitor) { -HiveSqlParser.Null_constContext = Null_constContext; +HiveSql.Null_constContext = Null_constContext; -HiveSqlParser.prototype.null_const = function() { +HiveSql.prototype.null_const = function() { var localctx = new Null_constContext(this, this._ctx, this.state); - this.enterRule(localctx, 448, HiveSqlParser.RULE_null_const); + this.enterRule(localctx, 448, HiveSql.RULE_null_const); try { this.enterOuterAlt(localctx, 1); this.state = 3332; - this.match(HiveSqlParser.T_NULL); + this.match(HiveSql.T_NULL); } catch (re) { if(re instanceof antlr4.error.RecognitionException) { localctx.exception = re; @@ -36393,7 +36393,7 @@ function Non_reserved_wordsContext(parser, parent, invokingState) { } antlr4.ParserRuleContext.call(this, parent, invokingState); this.parser = parser; - this.ruleIndex = HiveSqlParser.RULE_non_reserved_words; + this.ruleIndex = HiveSql.RULE_non_reserved_words; return this; } @@ -36401,1291 +36401,1291 @@ Non_reserved_wordsContext.prototype = Object.create(antlr4.ParserRuleContext.pro Non_reserved_wordsContext.prototype.constructor = Non_reserved_wordsContext; Non_reserved_wordsContext.prototype.T_ACTION = function() { - return this.getToken(HiveSqlParser.T_ACTION, 0); + return this.getToken(HiveSql.T_ACTION, 0); }; Non_reserved_wordsContext.prototype.T_ACTIVITY_COUNT = function() { - return this.getToken(HiveSqlParser.T_ACTIVITY_COUNT, 0); + return this.getToken(HiveSql.T_ACTIVITY_COUNT, 0); }; Non_reserved_wordsContext.prototype.T_ADD2 = function() { - return this.getToken(HiveSqlParser.T_ADD2, 0); + return this.getToken(HiveSql.T_ADD2, 0); }; Non_reserved_wordsContext.prototype.T_ALL = function() { - return this.getToken(HiveSqlParser.T_ALL, 0); + return this.getToken(HiveSql.T_ALL, 0); }; Non_reserved_wordsContext.prototype.T_ALLOCATE = function() { - return this.getToken(HiveSqlParser.T_ALLOCATE, 0); + return this.getToken(HiveSql.T_ALLOCATE, 0); }; Non_reserved_wordsContext.prototype.T_ALTER = function() { - return this.getToken(HiveSqlParser.T_ALTER, 0); + return this.getToken(HiveSql.T_ALTER, 0); }; Non_reserved_wordsContext.prototype.T_AND = function() { - return this.getToken(HiveSqlParser.T_AND, 0); + return this.getToken(HiveSql.T_AND, 0); }; Non_reserved_wordsContext.prototype.T_ANSI_NULLS = function() { - return this.getToken(HiveSqlParser.T_ANSI_NULLS, 0); + return this.getToken(HiveSql.T_ANSI_NULLS, 0); }; Non_reserved_wordsContext.prototype.T_ANSI_PADDING = function() { - return this.getToken(HiveSqlParser.T_ANSI_PADDING, 0); + return this.getToken(HiveSql.T_ANSI_PADDING, 0); }; Non_reserved_wordsContext.prototype.T_AS = function() { - return this.getToken(HiveSqlParser.T_AS, 0); + return this.getToken(HiveSql.T_AS, 0); }; Non_reserved_wordsContext.prototype.T_ASC = function() { - return this.getToken(HiveSqlParser.T_ASC, 0); + return this.getToken(HiveSql.T_ASC, 0); }; Non_reserved_wordsContext.prototype.T_ASSOCIATE = function() { - return this.getToken(HiveSqlParser.T_ASSOCIATE, 0); + return this.getToken(HiveSql.T_ASSOCIATE, 0); }; Non_reserved_wordsContext.prototype.T_AT = function() { - return this.getToken(HiveSqlParser.T_AT, 0); + return this.getToken(HiveSql.T_AT, 0); }; Non_reserved_wordsContext.prototype.T_AUTO_INCREMENT = function() { - return this.getToken(HiveSqlParser.T_AUTO_INCREMENT, 0); + return this.getToken(HiveSql.T_AUTO_INCREMENT, 0); }; Non_reserved_wordsContext.prototype.T_AVG = function() { - return this.getToken(HiveSqlParser.T_AVG, 0); + return this.getToken(HiveSql.T_AVG, 0); }; Non_reserved_wordsContext.prototype.T_BATCHSIZE = function() { - return this.getToken(HiveSqlParser.T_BATCHSIZE, 0); + return this.getToken(HiveSql.T_BATCHSIZE, 0); }; Non_reserved_wordsContext.prototype.T_BEGIN = function() { - return this.getToken(HiveSqlParser.T_BEGIN, 0); + return this.getToken(HiveSql.T_BEGIN, 0); }; Non_reserved_wordsContext.prototype.T_BETWEEN = function() { - return this.getToken(HiveSqlParser.T_BETWEEN, 0); + return this.getToken(HiveSql.T_BETWEEN, 0); }; Non_reserved_wordsContext.prototype.T_BIGINT = function() { - return this.getToken(HiveSqlParser.T_BIGINT, 0); + return this.getToken(HiveSql.T_BIGINT, 0); }; Non_reserved_wordsContext.prototype.T_BINARY_DOUBLE = function() { - return this.getToken(HiveSqlParser.T_BINARY_DOUBLE, 0); + return this.getToken(HiveSql.T_BINARY_DOUBLE, 0); }; Non_reserved_wordsContext.prototype.T_BINARY_FLOAT = function() { - return this.getToken(HiveSqlParser.T_BINARY_FLOAT, 0); + return this.getToken(HiveSql.T_BINARY_FLOAT, 0); }; Non_reserved_wordsContext.prototype.T_BIT = function() { - return this.getToken(HiveSqlParser.T_BIT, 0); + return this.getToken(HiveSql.T_BIT, 0); }; Non_reserved_wordsContext.prototype.T_BODY = function() { - return this.getToken(HiveSqlParser.T_BODY, 0); + return this.getToken(HiveSql.T_BODY, 0); }; Non_reserved_wordsContext.prototype.T_BREAK = function() { - return this.getToken(HiveSqlParser.T_BREAK, 0); + return this.getToken(HiveSql.T_BREAK, 0); }; Non_reserved_wordsContext.prototype.T_BY = function() { - return this.getToken(HiveSqlParser.T_BY, 0); + return this.getToken(HiveSql.T_BY, 0); }; Non_reserved_wordsContext.prototype.T_BYTE = function() { - return this.getToken(HiveSqlParser.T_BYTE, 0); + return this.getToken(HiveSql.T_BYTE, 0); }; Non_reserved_wordsContext.prototype.T_CALL = function() { - return this.getToken(HiveSqlParser.T_CALL, 0); + return this.getToken(HiveSql.T_CALL, 0); }; Non_reserved_wordsContext.prototype.T_CALLER = function() { - return this.getToken(HiveSqlParser.T_CALLER, 0); + return this.getToken(HiveSql.T_CALLER, 0); }; Non_reserved_wordsContext.prototype.T_CASCADE = function() { - return this.getToken(HiveSqlParser.T_CASCADE, 0); + return this.getToken(HiveSql.T_CASCADE, 0); }; Non_reserved_wordsContext.prototype.T_CASE = function() { - return this.getToken(HiveSqlParser.T_CASE, 0); + return this.getToken(HiveSql.T_CASE, 0); }; Non_reserved_wordsContext.prototype.T_CASESPECIFIC = function() { - return this.getToken(HiveSqlParser.T_CASESPECIFIC, 0); + return this.getToken(HiveSql.T_CASESPECIFIC, 0); }; Non_reserved_wordsContext.prototype.T_CAST = function() { - return this.getToken(HiveSqlParser.T_CAST, 0); + return this.getToken(HiveSql.T_CAST, 0); }; Non_reserved_wordsContext.prototype.T_CHAR = function() { - return this.getToken(HiveSqlParser.T_CHAR, 0); + return this.getToken(HiveSql.T_CHAR, 0); }; Non_reserved_wordsContext.prototype.T_CHARACTER = function() { - return this.getToken(HiveSqlParser.T_CHARACTER, 0); + return this.getToken(HiveSql.T_CHARACTER, 0); }; Non_reserved_wordsContext.prototype.T_CHARSET = function() { - return this.getToken(HiveSqlParser.T_CHARSET, 0); + return this.getToken(HiveSql.T_CHARSET, 0); }; Non_reserved_wordsContext.prototype.T_CLIENT = function() { - return this.getToken(HiveSqlParser.T_CLIENT, 0); + return this.getToken(HiveSql.T_CLIENT, 0); }; Non_reserved_wordsContext.prototype.T_CLOSE = function() { - return this.getToken(HiveSqlParser.T_CLOSE, 0); + return this.getToken(HiveSql.T_CLOSE, 0); }; Non_reserved_wordsContext.prototype.T_CLUSTERED = function() { - return this.getToken(HiveSqlParser.T_CLUSTERED, 0); + return this.getToken(HiveSql.T_CLUSTERED, 0); }; Non_reserved_wordsContext.prototype.T_CMP = function() { - return this.getToken(HiveSqlParser.T_CMP, 0); + return this.getToken(HiveSql.T_CMP, 0); }; Non_reserved_wordsContext.prototype.T_COLLECT = function() { - return this.getToken(HiveSqlParser.T_COLLECT, 0); + return this.getToken(HiveSql.T_COLLECT, 0); }; Non_reserved_wordsContext.prototype.T_COLLECTION = function() { - return this.getToken(HiveSqlParser.T_COLLECTION, 0); + return this.getToken(HiveSql.T_COLLECTION, 0); }; Non_reserved_wordsContext.prototype.T_COLUMN = function() { - return this.getToken(HiveSqlParser.T_COLUMN, 0); + return this.getToken(HiveSql.T_COLUMN, 0); }; Non_reserved_wordsContext.prototype.T_COMMENT = function() { - return this.getToken(HiveSqlParser.T_COMMENT, 0); + return this.getToken(HiveSql.T_COMMENT, 0); }; Non_reserved_wordsContext.prototype.T_COMPRESS = function() { - return this.getToken(HiveSqlParser.T_COMPRESS, 0); + return this.getToken(HiveSql.T_COMPRESS, 0); }; Non_reserved_wordsContext.prototype.T_CONSTANT = function() { - return this.getToken(HiveSqlParser.T_CONSTANT, 0); + return this.getToken(HiveSql.T_CONSTANT, 0); }; Non_reserved_wordsContext.prototype.T_COPY = function() { - return this.getToken(HiveSqlParser.T_COPY, 0); + return this.getToken(HiveSql.T_COPY, 0); }; Non_reserved_wordsContext.prototype.T_COMMIT = function() { - return this.getToken(HiveSqlParser.T_COMMIT, 0); + return this.getToken(HiveSql.T_COMMIT, 0); }; Non_reserved_wordsContext.prototype.T_CONCAT = function() { - return this.getToken(HiveSqlParser.T_CONCAT, 0); + return this.getToken(HiveSql.T_CONCAT, 0); }; Non_reserved_wordsContext.prototype.T_CONDITION = function() { - return this.getToken(HiveSqlParser.T_CONDITION, 0); + return this.getToken(HiveSql.T_CONDITION, 0); }; Non_reserved_wordsContext.prototype.T_CONSTRAINT = function() { - return this.getToken(HiveSqlParser.T_CONSTRAINT, 0); + return this.getToken(HiveSql.T_CONSTRAINT, 0); }; Non_reserved_wordsContext.prototype.T_CONTINUE = function() { - return this.getToken(HiveSqlParser.T_CONTINUE, 0); + return this.getToken(HiveSql.T_CONTINUE, 0); }; Non_reserved_wordsContext.prototype.T_COUNT = function() { - return this.getToken(HiveSqlParser.T_COUNT, 0); + return this.getToken(HiveSql.T_COUNT, 0); }; Non_reserved_wordsContext.prototype.T_COUNT_BIG = function() { - return this.getToken(HiveSqlParser.T_COUNT_BIG, 0); + return this.getToken(HiveSql.T_COUNT_BIG, 0); }; Non_reserved_wordsContext.prototype.T_CREATE = function() { - return this.getToken(HiveSqlParser.T_CREATE, 0); + return this.getToken(HiveSql.T_CREATE, 0); }; Non_reserved_wordsContext.prototype.T_CREATION = function() { - return this.getToken(HiveSqlParser.T_CREATION, 0); + return this.getToken(HiveSql.T_CREATION, 0); }; Non_reserved_wordsContext.prototype.T_CREATOR = function() { - return this.getToken(HiveSqlParser.T_CREATOR, 0); + return this.getToken(HiveSql.T_CREATOR, 0); }; Non_reserved_wordsContext.prototype.T_CS = function() { - return this.getToken(HiveSqlParser.T_CS, 0); + return this.getToken(HiveSql.T_CS, 0); }; Non_reserved_wordsContext.prototype.T_CUME_DIST = function() { - return this.getToken(HiveSqlParser.T_CUME_DIST, 0); + return this.getToken(HiveSql.T_CUME_DIST, 0); }; Non_reserved_wordsContext.prototype.T_CURRENT = function() { - return this.getToken(HiveSqlParser.T_CURRENT, 0); + return this.getToken(HiveSql.T_CURRENT, 0); }; Non_reserved_wordsContext.prototype.T_CURRENT_DATE = function() { - return this.getToken(HiveSqlParser.T_CURRENT_DATE, 0); + return this.getToken(HiveSql.T_CURRENT_DATE, 0); }; Non_reserved_wordsContext.prototype.T_CURRENT_SCHEMA = function() { - return this.getToken(HiveSqlParser.T_CURRENT_SCHEMA, 0); + return this.getToken(HiveSql.T_CURRENT_SCHEMA, 0); }; Non_reserved_wordsContext.prototype.T_CURRENT_TIMESTAMP = function() { - return this.getToken(HiveSqlParser.T_CURRENT_TIMESTAMP, 0); + return this.getToken(HiveSql.T_CURRENT_TIMESTAMP, 0); }; Non_reserved_wordsContext.prototype.T_CURRENT_USER = function() { - return this.getToken(HiveSqlParser.T_CURRENT_USER, 0); + return this.getToken(HiveSql.T_CURRENT_USER, 0); }; Non_reserved_wordsContext.prototype.T_CURSOR = function() { - return this.getToken(HiveSqlParser.T_CURSOR, 0); + return this.getToken(HiveSql.T_CURSOR, 0); }; Non_reserved_wordsContext.prototype.T_DATA = function() { - return this.getToken(HiveSqlParser.T_DATA, 0); + return this.getToken(HiveSql.T_DATA, 0); }; Non_reserved_wordsContext.prototype.T_DATABASE = function() { - return this.getToken(HiveSqlParser.T_DATABASE, 0); + return this.getToken(HiveSql.T_DATABASE, 0); }; Non_reserved_wordsContext.prototype.T_DATE = function() { - return this.getToken(HiveSqlParser.T_DATE, 0); + return this.getToken(HiveSql.T_DATE, 0); }; Non_reserved_wordsContext.prototype.T_DATETIME = function() { - return this.getToken(HiveSqlParser.T_DATETIME, 0); + return this.getToken(HiveSql.T_DATETIME, 0); }; Non_reserved_wordsContext.prototype.T_DAY = function() { - return this.getToken(HiveSqlParser.T_DAY, 0); + return this.getToken(HiveSql.T_DAY, 0); }; Non_reserved_wordsContext.prototype.T_DAYS = function() { - return this.getToken(HiveSqlParser.T_DAYS, 0); + return this.getToken(HiveSql.T_DAYS, 0); }; Non_reserved_wordsContext.prototype.T_DEC = function() { - return this.getToken(HiveSqlParser.T_DEC, 0); + return this.getToken(HiveSql.T_DEC, 0); }; Non_reserved_wordsContext.prototype.T_DECIMAL = function() { - return this.getToken(HiveSqlParser.T_DECIMAL, 0); + return this.getToken(HiveSql.T_DECIMAL, 0); }; Non_reserved_wordsContext.prototype.T_DECLARE = function() { - return this.getToken(HiveSqlParser.T_DECLARE, 0); + return this.getToken(HiveSql.T_DECLARE, 0); }; Non_reserved_wordsContext.prototype.T_DEFAULT = function() { - return this.getToken(HiveSqlParser.T_DEFAULT, 0); + return this.getToken(HiveSql.T_DEFAULT, 0); }; Non_reserved_wordsContext.prototype.T_DEFERRED = function() { - return this.getToken(HiveSqlParser.T_DEFERRED, 0); + return this.getToken(HiveSql.T_DEFERRED, 0); }; Non_reserved_wordsContext.prototype.T_DEFINED = function() { - return this.getToken(HiveSqlParser.T_DEFINED, 0); + return this.getToken(HiveSql.T_DEFINED, 0); }; Non_reserved_wordsContext.prototype.T_DEFINER = function() { - return this.getToken(HiveSqlParser.T_DEFINER, 0); + return this.getToken(HiveSql.T_DEFINER, 0); }; Non_reserved_wordsContext.prototype.T_DEFINITION = function() { - return this.getToken(HiveSqlParser.T_DEFINITION, 0); + return this.getToken(HiveSql.T_DEFINITION, 0); }; Non_reserved_wordsContext.prototype.T_DELETE = function() { - return this.getToken(HiveSqlParser.T_DELETE, 0); + return this.getToken(HiveSql.T_DELETE, 0); }; Non_reserved_wordsContext.prototype.T_DELIMITED = function() { - return this.getToken(HiveSqlParser.T_DELIMITED, 0); + return this.getToken(HiveSql.T_DELIMITED, 0); }; Non_reserved_wordsContext.prototype.T_DELIMITER = function() { - return this.getToken(HiveSqlParser.T_DELIMITER, 0); + return this.getToken(HiveSql.T_DELIMITER, 0); }; Non_reserved_wordsContext.prototype.T_DENSE_RANK = function() { - return this.getToken(HiveSqlParser.T_DENSE_RANK, 0); + return this.getToken(HiveSql.T_DENSE_RANK, 0); }; Non_reserved_wordsContext.prototype.T_DESC = function() { - return this.getToken(HiveSqlParser.T_DESC, 0); + return this.getToken(HiveSql.T_DESC, 0); }; Non_reserved_wordsContext.prototype.T_DESCRIBE = function() { - return this.getToken(HiveSqlParser.T_DESCRIBE, 0); + return this.getToken(HiveSql.T_DESCRIBE, 0); }; Non_reserved_wordsContext.prototype.T_DIAGNOSTICS = function() { - return this.getToken(HiveSqlParser.T_DIAGNOSTICS, 0); + return this.getToken(HiveSql.T_DIAGNOSTICS, 0); }; Non_reserved_wordsContext.prototype.T_DIR = function() { - return this.getToken(HiveSqlParser.T_DIR, 0); + return this.getToken(HiveSql.T_DIR, 0); }; Non_reserved_wordsContext.prototype.T_DIRECTORY = function() { - return this.getToken(HiveSqlParser.T_DIRECTORY, 0); + return this.getToken(HiveSql.T_DIRECTORY, 0); }; Non_reserved_wordsContext.prototype.T_DISTINCT = function() { - return this.getToken(HiveSqlParser.T_DISTINCT, 0); + return this.getToken(HiveSql.T_DISTINCT, 0); }; Non_reserved_wordsContext.prototype.T_DISTRIBUTE = function() { - return this.getToken(HiveSqlParser.T_DISTRIBUTE, 0); + return this.getToken(HiveSql.T_DISTRIBUTE, 0); }; Non_reserved_wordsContext.prototype.T_DO = function() { - return this.getToken(HiveSqlParser.T_DO, 0); + return this.getToken(HiveSql.T_DO, 0); }; Non_reserved_wordsContext.prototype.T_DOUBLE = function() { - return this.getToken(HiveSqlParser.T_DOUBLE, 0); + return this.getToken(HiveSql.T_DOUBLE, 0); }; Non_reserved_wordsContext.prototype.T_DROP = function() { - return this.getToken(HiveSqlParser.T_DROP, 0); + return this.getToken(HiveSql.T_DROP, 0); }; Non_reserved_wordsContext.prototype.T_DYNAMIC = function() { - return this.getToken(HiveSqlParser.T_DYNAMIC, 0); + return this.getToken(HiveSql.T_DYNAMIC, 0); }; Non_reserved_wordsContext.prototype.T_ENABLE = function() { - return this.getToken(HiveSqlParser.T_ENABLE, 0); + return this.getToken(HiveSql.T_ENABLE, 0); }; Non_reserved_wordsContext.prototype.T_ENGINE = function() { - return this.getToken(HiveSqlParser.T_ENGINE, 0); + return this.getToken(HiveSql.T_ENGINE, 0); }; Non_reserved_wordsContext.prototype.T_ESCAPED = function() { - return this.getToken(HiveSqlParser.T_ESCAPED, 0); + return this.getToken(HiveSql.T_ESCAPED, 0); }; Non_reserved_wordsContext.prototype.T_EXCEPT = function() { - return this.getToken(HiveSqlParser.T_EXCEPT, 0); + return this.getToken(HiveSql.T_EXCEPT, 0); }; Non_reserved_wordsContext.prototype.T_EXEC = function() { - return this.getToken(HiveSqlParser.T_EXEC, 0); + return this.getToken(HiveSql.T_EXEC, 0); }; Non_reserved_wordsContext.prototype.T_EXECUTE = function() { - return this.getToken(HiveSqlParser.T_EXECUTE, 0); + return this.getToken(HiveSql.T_EXECUTE, 0); }; Non_reserved_wordsContext.prototype.T_EXCEPTION = function() { - return this.getToken(HiveSqlParser.T_EXCEPTION, 0); + return this.getToken(HiveSql.T_EXCEPTION, 0); }; Non_reserved_wordsContext.prototype.T_EXCLUSIVE = function() { - return this.getToken(HiveSqlParser.T_EXCLUSIVE, 0); + return this.getToken(HiveSql.T_EXCLUSIVE, 0); }; Non_reserved_wordsContext.prototype.T_EXISTS = function() { - return this.getToken(HiveSqlParser.T_EXISTS, 0); + return this.getToken(HiveSql.T_EXISTS, 0); }; Non_reserved_wordsContext.prototype.T_EXIT = function() { - return this.getToken(HiveSqlParser.T_EXIT, 0); + return this.getToken(HiveSql.T_EXIT, 0); }; Non_reserved_wordsContext.prototype.T_FALLBACK = function() { - return this.getToken(HiveSqlParser.T_FALLBACK, 0); + return this.getToken(HiveSql.T_FALLBACK, 0); }; Non_reserved_wordsContext.prototype.T_FALSE = function() { - return this.getToken(HiveSqlParser.T_FALSE, 0); + return this.getToken(HiveSql.T_FALSE, 0); }; Non_reserved_wordsContext.prototype.T_FETCH = function() { - return this.getToken(HiveSqlParser.T_FETCH, 0); + return this.getToken(HiveSql.T_FETCH, 0); }; Non_reserved_wordsContext.prototype.T_FIELDS = function() { - return this.getToken(HiveSqlParser.T_FIELDS, 0); + return this.getToken(HiveSql.T_FIELDS, 0); }; Non_reserved_wordsContext.prototype.T_FILE = function() { - return this.getToken(HiveSqlParser.T_FILE, 0); + return this.getToken(HiveSql.T_FILE, 0); }; Non_reserved_wordsContext.prototype.T_FILES = function() { - return this.getToken(HiveSqlParser.T_FILES, 0); + return this.getToken(HiveSql.T_FILES, 0); }; Non_reserved_wordsContext.prototype.T_FIRST_VALUE = function() { - return this.getToken(HiveSqlParser.T_FIRST_VALUE, 0); + return this.getToken(HiveSql.T_FIRST_VALUE, 0); }; Non_reserved_wordsContext.prototype.T_FLOAT = function() { - return this.getToken(HiveSqlParser.T_FLOAT, 0); + return this.getToken(HiveSql.T_FLOAT, 0); }; Non_reserved_wordsContext.prototype.T_FOR = function() { - return this.getToken(HiveSqlParser.T_FOR, 0); + return this.getToken(HiveSql.T_FOR, 0); }; Non_reserved_wordsContext.prototype.T_FOREIGN = function() { - return this.getToken(HiveSqlParser.T_FOREIGN, 0); + return this.getToken(HiveSql.T_FOREIGN, 0); }; Non_reserved_wordsContext.prototype.T_FORMAT = function() { - return this.getToken(HiveSqlParser.T_FORMAT, 0); + return this.getToken(HiveSql.T_FORMAT, 0); }; Non_reserved_wordsContext.prototype.T_FOUND = function() { - return this.getToken(HiveSqlParser.T_FOUND, 0); + return this.getToken(HiveSql.T_FOUND, 0); }; Non_reserved_wordsContext.prototype.T_FROM = function() { - return this.getToken(HiveSqlParser.T_FROM, 0); + return this.getToken(HiveSql.T_FROM, 0); }; Non_reserved_wordsContext.prototype.T_FULL = function() { - return this.getToken(HiveSqlParser.T_FULL, 0); + return this.getToken(HiveSql.T_FULL, 0); }; Non_reserved_wordsContext.prototype.T_FUNCTION = function() { - return this.getToken(HiveSqlParser.T_FUNCTION, 0); + return this.getToken(HiveSql.T_FUNCTION, 0); }; Non_reserved_wordsContext.prototype.T_GET = function() { - return this.getToken(HiveSqlParser.T_GET, 0); + return this.getToken(HiveSql.T_GET, 0); }; Non_reserved_wordsContext.prototype.T_GLOBAL = function() { - return this.getToken(HiveSqlParser.T_GLOBAL, 0); + return this.getToken(HiveSql.T_GLOBAL, 0); }; Non_reserved_wordsContext.prototype.T_GO = function() { - return this.getToken(HiveSqlParser.T_GO, 0); + return this.getToken(HiveSql.T_GO, 0); }; Non_reserved_wordsContext.prototype.T_GRANT = function() { - return this.getToken(HiveSqlParser.T_GRANT, 0); + return this.getToken(HiveSql.T_GRANT, 0); }; Non_reserved_wordsContext.prototype.T_GROUP = function() { - return this.getToken(HiveSqlParser.T_GROUP, 0); + return this.getToken(HiveSql.T_GROUP, 0); }; Non_reserved_wordsContext.prototype.T_HANDLER = function() { - return this.getToken(HiveSqlParser.T_HANDLER, 0); + return this.getToken(HiveSql.T_HANDLER, 0); }; Non_reserved_wordsContext.prototype.T_HASH = function() { - return this.getToken(HiveSqlParser.T_HASH, 0); + return this.getToken(HiveSql.T_HASH, 0); }; Non_reserved_wordsContext.prototype.T_HAVING = function() { - return this.getToken(HiveSqlParser.T_HAVING, 0); + return this.getToken(HiveSql.T_HAVING, 0); }; Non_reserved_wordsContext.prototype.T_HDFS = function() { - return this.getToken(HiveSqlParser.T_HDFS, 0); + return this.getToken(HiveSql.T_HDFS, 0); }; Non_reserved_wordsContext.prototype.T_HIVE = function() { - return this.getToken(HiveSqlParser.T_HIVE, 0); + return this.getToken(HiveSql.T_HIVE, 0); }; Non_reserved_wordsContext.prototype.T_HOST = function() { - return this.getToken(HiveSqlParser.T_HOST, 0); + return this.getToken(HiveSql.T_HOST, 0); }; Non_reserved_wordsContext.prototype.T_IDENTITY = function() { - return this.getToken(HiveSqlParser.T_IDENTITY, 0); + return this.getToken(HiveSql.T_IDENTITY, 0); }; Non_reserved_wordsContext.prototype.T_IF = function() { - return this.getToken(HiveSqlParser.T_IF, 0); + return this.getToken(HiveSql.T_IF, 0); }; Non_reserved_wordsContext.prototype.T_IGNORE = function() { - return this.getToken(HiveSqlParser.T_IGNORE, 0); + return this.getToken(HiveSql.T_IGNORE, 0); }; Non_reserved_wordsContext.prototype.T_IMMEDIATE = function() { - return this.getToken(HiveSqlParser.T_IMMEDIATE, 0); + return this.getToken(HiveSql.T_IMMEDIATE, 0); }; Non_reserved_wordsContext.prototype.T_IN = function() { - return this.getToken(HiveSqlParser.T_IN, 0); + return this.getToken(HiveSql.T_IN, 0); }; Non_reserved_wordsContext.prototype.T_INCLUDE = function() { - return this.getToken(HiveSqlParser.T_INCLUDE, 0); + return this.getToken(HiveSql.T_INCLUDE, 0); }; Non_reserved_wordsContext.prototype.T_INDEX = function() { - return this.getToken(HiveSqlParser.T_INDEX, 0); + return this.getToken(HiveSql.T_INDEX, 0); }; Non_reserved_wordsContext.prototype.T_INITRANS = function() { - return this.getToken(HiveSqlParser.T_INITRANS, 0); + return this.getToken(HiveSql.T_INITRANS, 0); }; Non_reserved_wordsContext.prototype.T_INNER = function() { - return this.getToken(HiveSqlParser.T_INNER, 0); + return this.getToken(HiveSql.T_INNER, 0); }; Non_reserved_wordsContext.prototype.T_INOUT = function() { - return this.getToken(HiveSqlParser.T_INOUT, 0); + return this.getToken(HiveSql.T_INOUT, 0); }; Non_reserved_wordsContext.prototype.T_INSERT = function() { - return this.getToken(HiveSqlParser.T_INSERT, 0); + return this.getToken(HiveSql.T_INSERT, 0); }; Non_reserved_wordsContext.prototype.T_INT = function() { - return this.getToken(HiveSqlParser.T_INT, 0); + return this.getToken(HiveSql.T_INT, 0); }; Non_reserved_wordsContext.prototype.T_INT2 = function() { - return this.getToken(HiveSqlParser.T_INT2, 0); + return this.getToken(HiveSql.T_INT2, 0); }; Non_reserved_wordsContext.prototype.T_INT4 = function() { - return this.getToken(HiveSqlParser.T_INT4, 0); + return this.getToken(HiveSql.T_INT4, 0); }; Non_reserved_wordsContext.prototype.T_INT8 = function() { - return this.getToken(HiveSqlParser.T_INT8, 0); + return this.getToken(HiveSql.T_INT8, 0); }; Non_reserved_wordsContext.prototype.T_INTEGER = function() { - return this.getToken(HiveSqlParser.T_INTEGER, 0); + return this.getToken(HiveSql.T_INTEGER, 0); }; Non_reserved_wordsContext.prototype.T_INTERSECT = function() { - return this.getToken(HiveSqlParser.T_INTERSECT, 0); + return this.getToken(HiveSql.T_INTERSECT, 0); }; Non_reserved_wordsContext.prototype.T_INTERVAL = function() { - return this.getToken(HiveSqlParser.T_INTERVAL, 0); + return this.getToken(HiveSql.T_INTERVAL, 0); }; Non_reserved_wordsContext.prototype.T_INTO = function() { - return this.getToken(HiveSqlParser.T_INTO, 0); + return this.getToken(HiveSql.T_INTO, 0); }; Non_reserved_wordsContext.prototype.T_INVOKER = function() { - return this.getToken(HiveSqlParser.T_INVOKER, 0); + return this.getToken(HiveSql.T_INVOKER, 0); }; Non_reserved_wordsContext.prototype.T_ITEMS = function() { - return this.getToken(HiveSqlParser.T_ITEMS, 0); + return this.getToken(HiveSql.T_ITEMS, 0); }; Non_reserved_wordsContext.prototype.T_IS = function() { - return this.getToken(HiveSqlParser.T_IS, 0); + return this.getToken(HiveSql.T_IS, 0); }; Non_reserved_wordsContext.prototype.T_ISOPEN = function() { - return this.getToken(HiveSqlParser.T_ISOPEN, 0); + return this.getToken(HiveSql.T_ISOPEN, 0); }; Non_reserved_wordsContext.prototype.T_JOIN = function() { - return this.getToken(HiveSqlParser.T_JOIN, 0); + return this.getToken(HiveSql.T_JOIN, 0); }; Non_reserved_wordsContext.prototype.T_KEEP = function() { - return this.getToken(HiveSqlParser.T_KEEP, 0); + return this.getToken(HiveSql.T_KEEP, 0); }; Non_reserved_wordsContext.prototype.T_KEY = function() { - return this.getToken(HiveSqlParser.T_KEY, 0); + return this.getToken(HiveSql.T_KEY, 0); }; Non_reserved_wordsContext.prototype.T_KEYS = function() { - return this.getToken(HiveSqlParser.T_KEYS, 0); + return this.getToken(HiveSql.T_KEYS, 0); }; Non_reserved_wordsContext.prototype.T_LAG = function() { - return this.getToken(HiveSqlParser.T_LAG, 0); + return this.getToken(HiveSql.T_LAG, 0); }; Non_reserved_wordsContext.prototype.T_LANGUAGE = function() { - return this.getToken(HiveSqlParser.T_LANGUAGE, 0); + return this.getToken(HiveSql.T_LANGUAGE, 0); }; Non_reserved_wordsContext.prototype.T_LAST_VALUE = function() { - return this.getToken(HiveSqlParser.T_LAST_VALUE, 0); + return this.getToken(HiveSql.T_LAST_VALUE, 0); }; Non_reserved_wordsContext.prototype.T_LEAD = function() { - return this.getToken(HiveSqlParser.T_LEAD, 0); + return this.getToken(HiveSql.T_LEAD, 0); }; Non_reserved_wordsContext.prototype.T_LEAVE = function() { - return this.getToken(HiveSqlParser.T_LEAVE, 0); + return this.getToken(HiveSql.T_LEAVE, 0); }; Non_reserved_wordsContext.prototype.T_LEFT = function() { - return this.getToken(HiveSqlParser.T_LEFT, 0); + return this.getToken(HiveSql.T_LEFT, 0); }; Non_reserved_wordsContext.prototype.T_LIKE = function() { - return this.getToken(HiveSqlParser.T_LIKE, 0); + return this.getToken(HiveSql.T_LIKE, 0); }; Non_reserved_wordsContext.prototype.T_LIMIT = function() { - return this.getToken(HiveSqlParser.T_LIMIT, 0); + return this.getToken(HiveSql.T_LIMIT, 0); }; Non_reserved_wordsContext.prototype.T_LINES = function() { - return this.getToken(HiveSqlParser.T_LINES, 0); + return this.getToken(HiveSql.T_LINES, 0); }; Non_reserved_wordsContext.prototype.T_LOCAL = function() { - return this.getToken(HiveSqlParser.T_LOCAL, 0); + return this.getToken(HiveSql.T_LOCAL, 0); }; Non_reserved_wordsContext.prototype.T_LOCATION = function() { - return this.getToken(HiveSqlParser.T_LOCATION, 0); + return this.getToken(HiveSql.T_LOCATION, 0); }; Non_reserved_wordsContext.prototype.T_LOCATOR = function() { - return this.getToken(HiveSqlParser.T_LOCATOR, 0); + return this.getToken(HiveSql.T_LOCATOR, 0); }; Non_reserved_wordsContext.prototype.T_LOCATORS = function() { - return this.getToken(HiveSqlParser.T_LOCATORS, 0); + return this.getToken(HiveSql.T_LOCATORS, 0); }; Non_reserved_wordsContext.prototype.T_LOCKS = function() { - return this.getToken(HiveSqlParser.T_LOCKS, 0); + return this.getToken(HiveSql.T_LOCKS, 0); }; Non_reserved_wordsContext.prototype.T_LOG = function() { - return this.getToken(HiveSqlParser.T_LOG, 0); + return this.getToken(HiveSql.T_LOG, 0); }; Non_reserved_wordsContext.prototype.T_LOGGED = function() { - return this.getToken(HiveSqlParser.T_LOGGED, 0); + return this.getToken(HiveSql.T_LOGGED, 0); }; Non_reserved_wordsContext.prototype.T_LOGGING = function() { - return this.getToken(HiveSqlParser.T_LOGGING, 0); + return this.getToken(HiveSql.T_LOGGING, 0); }; Non_reserved_wordsContext.prototype.T_LOOP = function() { - return this.getToken(HiveSqlParser.T_LOOP, 0); + return this.getToken(HiveSql.T_LOOP, 0); }; Non_reserved_wordsContext.prototype.T_MAP = function() { - return this.getToken(HiveSqlParser.T_MAP, 0); + return this.getToken(HiveSql.T_MAP, 0); }; Non_reserved_wordsContext.prototype.T_MATCHED = function() { - return this.getToken(HiveSqlParser.T_MATCHED, 0); + return this.getToken(HiveSql.T_MATCHED, 0); }; Non_reserved_wordsContext.prototype.T_MAX = function() { - return this.getToken(HiveSqlParser.T_MAX, 0); + return this.getToken(HiveSql.T_MAX, 0); }; Non_reserved_wordsContext.prototype.T_MAXTRANS = function() { - return this.getToken(HiveSqlParser.T_MAXTRANS, 0); + return this.getToken(HiveSql.T_MAXTRANS, 0); }; Non_reserved_wordsContext.prototype.T_MERGE = function() { - return this.getToken(HiveSqlParser.T_MERGE, 0); + return this.getToken(HiveSql.T_MERGE, 0); }; Non_reserved_wordsContext.prototype.T_MESSAGE_TEXT = function() { - return this.getToken(HiveSqlParser.T_MESSAGE_TEXT, 0); + return this.getToken(HiveSql.T_MESSAGE_TEXT, 0); }; Non_reserved_wordsContext.prototype.T_MICROSECOND = function() { - return this.getToken(HiveSqlParser.T_MICROSECOND, 0); + return this.getToken(HiveSql.T_MICROSECOND, 0); }; Non_reserved_wordsContext.prototype.T_MICROSECONDS = function() { - return this.getToken(HiveSqlParser.T_MICROSECONDS, 0); + return this.getToken(HiveSql.T_MICROSECONDS, 0); }; Non_reserved_wordsContext.prototype.T_MIN = function() { - return this.getToken(HiveSqlParser.T_MIN, 0); + return this.getToken(HiveSql.T_MIN, 0); }; Non_reserved_wordsContext.prototype.T_MULTISET = function() { - return this.getToken(HiveSqlParser.T_MULTISET, 0); + return this.getToken(HiveSql.T_MULTISET, 0); }; Non_reserved_wordsContext.prototype.T_NCHAR = function() { - return this.getToken(HiveSqlParser.T_NCHAR, 0); + return this.getToken(HiveSql.T_NCHAR, 0); }; Non_reserved_wordsContext.prototype.T_NEW = function() { - return this.getToken(HiveSqlParser.T_NEW, 0); + return this.getToken(HiveSql.T_NEW, 0); }; Non_reserved_wordsContext.prototype.T_NVARCHAR = function() { - return this.getToken(HiveSqlParser.T_NVARCHAR, 0); + return this.getToken(HiveSql.T_NVARCHAR, 0); }; Non_reserved_wordsContext.prototype.T_NO = function() { - return this.getToken(HiveSqlParser.T_NO, 0); + return this.getToken(HiveSql.T_NO, 0); }; Non_reserved_wordsContext.prototype.T_NOCOMPRESS = function() { - return this.getToken(HiveSqlParser.T_NOCOMPRESS, 0); + return this.getToken(HiveSql.T_NOCOMPRESS, 0); }; Non_reserved_wordsContext.prototype.T_NOCOUNT = function() { - return this.getToken(HiveSqlParser.T_NOCOUNT, 0); + return this.getToken(HiveSql.T_NOCOUNT, 0); }; Non_reserved_wordsContext.prototype.T_NOLOGGING = function() { - return this.getToken(HiveSqlParser.T_NOLOGGING, 0); + return this.getToken(HiveSql.T_NOLOGGING, 0); }; Non_reserved_wordsContext.prototype.T_NONE = function() { - return this.getToken(HiveSqlParser.T_NONE, 0); + return this.getToken(HiveSql.T_NONE, 0); }; Non_reserved_wordsContext.prototype.T_NOT = function() { - return this.getToken(HiveSqlParser.T_NOT, 0); + return this.getToken(HiveSql.T_NOT, 0); }; Non_reserved_wordsContext.prototype.T_NOTFOUND = function() { - return this.getToken(HiveSqlParser.T_NOTFOUND, 0); + return this.getToken(HiveSql.T_NOTFOUND, 0); }; Non_reserved_wordsContext.prototype.T_NUMERIC = function() { - return this.getToken(HiveSqlParser.T_NUMERIC, 0); + return this.getToken(HiveSql.T_NUMERIC, 0); }; Non_reserved_wordsContext.prototype.T_NUMBER = function() { - return this.getToken(HiveSqlParser.T_NUMBER, 0); + return this.getToken(HiveSql.T_NUMBER, 0); }; Non_reserved_wordsContext.prototype.T_OBJECT = function() { - return this.getToken(HiveSqlParser.T_OBJECT, 0); + return this.getToken(HiveSql.T_OBJECT, 0); }; Non_reserved_wordsContext.prototype.T_OFF = function() { - return this.getToken(HiveSqlParser.T_OFF, 0); + return this.getToken(HiveSql.T_OFF, 0); }; Non_reserved_wordsContext.prototype.T_ON = function() { - return this.getToken(HiveSqlParser.T_ON, 0); + return this.getToken(HiveSql.T_ON, 0); }; Non_reserved_wordsContext.prototype.T_ONLY = function() { - return this.getToken(HiveSqlParser.T_ONLY, 0); + return this.getToken(HiveSql.T_ONLY, 0); }; Non_reserved_wordsContext.prototype.T_OPEN = function() { - return this.getToken(HiveSqlParser.T_OPEN, 0); + return this.getToken(HiveSql.T_OPEN, 0); }; Non_reserved_wordsContext.prototype.T_OR = function() { - return this.getToken(HiveSqlParser.T_OR, 0); + return this.getToken(HiveSql.T_OR, 0); }; Non_reserved_wordsContext.prototype.T_ORDER = function() { - return this.getToken(HiveSqlParser.T_ORDER, 0); + return this.getToken(HiveSql.T_ORDER, 0); }; Non_reserved_wordsContext.prototype.T_OUT = function() { - return this.getToken(HiveSqlParser.T_OUT, 0); + return this.getToken(HiveSql.T_OUT, 0); }; Non_reserved_wordsContext.prototype.T_OUTER = function() { - return this.getToken(HiveSqlParser.T_OUTER, 0); + return this.getToken(HiveSql.T_OUTER, 0); }; Non_reserved_wordsContext.prototype.T_OVER = function() { - return this.getToken(HiveSqlParser.T_OVER, 0); + return this.getToken(HiveSql.T_OVER, 0); }; Non_reserved_wordsContext.prototype.T_OVERWRITE = function() { - return this.getToken(HiveSqlParser.T_OVERWRITE, 0); + return this.getToken(HiveSql.T_OVERWRITE, 0); }; Non_reserved_wordsContext.prototype.T_OWNER = function() { - return this.getToken(HiveSqlParser.T_OWNER, 0); + return this.getToken(HiveSql.T_OWNER, 0); }; Non_reserved_wordsContext.prototype.T_PACKAGE = function() { - return this.getToken(HiveSqlParser.T_PACKAGE, 0); + return this.getToken(HiveSql.T_PACKAGE, 0); }; Non_reserved_wordsContext.prototype.T_PART_COUNT = function() { - return this.getToken(HiveSqlParser.T_PART_COUNT, 0); + return this.getToken(HiveSql.T_PART_COUNT, 0); }; Non_reserved_wordsContext.prototype.T_PART_LOC = function() { - return this.getToken(HiveSqlParser.T_PART_LOC, 0); + return this.getToken(HiveSql.T_PART_LOC, 0); }; Non_reserved_wordsContext.prototype.T_PARTITION = function() { - return this.getToken(HiveSqlParser.T_PARTITION, 0); + return this.getToken(HiveSql.T_PARTITION, 0); }; Non_reserved_wordsContext.prototype.T_PCTFREE = function() { - return this.getToken(HiveSqlParser.T_PCTFREE, 0); + return this.getToken(HiveSql.T_PCTFREE, 0); }; Non_reserved_wordsContext.prototype.T_PCTUSED = function() { - return this.getToken(HiveSqlParser.T_PCTUSED, 0); + return this.getToken(HiveSql.T_PCTUSED, 0); }; Non_reserved_wordsContext.prototype.T_PRECISION = function() { - return this.getToken(HiveSqlParser.T_PRECISION, 0); + return this.getToken(HiveSql.T_PRECISION, 0); }; Non_reserved_wordsContext.prototype.T_PRESERVE = function() { - return this.getToken(HiveSqlParser.T_PRESERVE, 0); + return this.getToken(HiveSql.T_PRESERVE, 0); }; Non_reserved_wordsContext.prototype.T_PRIMARY = function() { - return this.getToken(HiveSqlParser.T_PRIMARY, 0); + return this.getToken(HiveSql.T_PRIMARY, 0); }; Non_reserved_wordsContext.prototype.T_PRINT = function() { - return this.getToken(HiveSqlParser.T_PRINT, 0); + return this.getToken(HiveSql.T_PRINT, 0); }; Non_reserved_wordsContext.prototype.T_PROC = function() { - return this.getToken(HiveSqlParser.T_PROC, 0); + return this.getToken(HiveSql.T_PROC, 0); }; Non_reserved_wordsContext.prototype.T_PROCEDURE = function() { - return this.getToken(HiveSqlParser.T_PROCEDURE, 0); + return this.getToken(HiveSql.T_PROCEDURE, 0); }; Non_reserved_wordsContext.prototype.T_PWD = function() { - return this.getToken(HiveSqlParser.T_PWD, 0); + return this.getToken(HiveSql.T_PWD, 0); }; Non_reserved_wordsContext.prototype.T_QUALIFY = function() { - return this.getToken(HiveSqlParser.T_QUALIFY, 0); + return this.getToken(HiveSql.T_QUALIFY, 0); }; Non_reserved_wordsContext.prototype.T_QUERY_BAND = function() { - return this.getToken(HiveSqlParser.T_QUERY_BAND, 0); + return this.getToken(HiveSql.T_QUERY_BAND, 0); }; Non_reserved_wordsContext.prototype.T_QUIT = function() { - return this.getToken(HiveSqlParser.T_QUIT, 0); + return this.getToken(HiveSql.T_QUIT, 0); }; Non_reserved_wordsContext.prototype.T_QUOTED_IDENTIFIER = function() { - return this.getToken(HiveSqlParser.T_QUOTED_IDENTIFIER, 0); + return this.getToken(HiveSql.T_QUOTED_IDENTIFIER, 0); }; Non_reserved_wordsContext.prototype.T_RAISE = function() { - return this.getToken(HiveSqlParser.T_RAISE, 0); + return this.getToken(HiveSql.T_RAISE, 0); }; Non_reserved_wordsContext.prototype.T_RANK = function() { - return this.getToken(HiveSqlParser.T_RANK, 0); + return this.getToken(HiveSql.T_RANK, 0); }; Non_reserved_wordsContext.prototype.T_REAL = function() { - return this.getToken(HiveSqlParser.T_REAL, 0); + return this.getToken(HiveSql.T_REAL, 0); }; Non_reserved_wordsContext.prototype.T_REFERENCES = function() { - return this.getToken(HiveSqlParser.T_REFERENCES, 0); + return this.getToken(HiveSql.T_REFERENCES, 0); }; Non_reserved_wordsContext.prototype.T_REGEXP = function() { - return this.getToken(HiveSqlParser.T_REGEXP, 0); + return this.getToken(HiveSql.T_REGEXP, 0); }; Non_reserved_wordsContext.prototype.T_RR = function() { - return this.getToken(HiveSqlParser.T_RR, 0); + return this.getToken(HiveSql.T_RR, 0); }; Non_reserved_wordsContext.prototype.T_REPLACE = function() { - return this.getToken(HiveSqlParser.T_REPLACE, 0); + return this.getToken(HiveSql.T_REPLACE, 0); }; Non_reserved_wordsContext.prototype.T_RESIGNAL = function() { - return this.getToken(HiveSqlParser.T_RESIGNAL, 0); + return this.getToken(HiveSql.T_RESIGNAL, 0); }; Non_reserved_wordsContext.prototype.T_RESTRICT = function() { - return this.getToken(HiveSqlParser.T_RESTRICT, 0); + return this.getToken(HiveSql.T_RESTRICT, 0); }; Non_reserved_wordsContext.prototype.T_RESULT = function() { - return this.getToken(HiveSqlParser.T_RESULT, 0); + return this.getToken(HiveSql.T_RESULT, 0); }; Non_reserved_wordsContext.prototype.T_RESULT_SET_LOCATOR = function() { - return this.getToken(HiveSqlParser.T_RESULT_SET_LOCATOR, 0); + return this.getToken(HiveSql.T_RESULT_SET_LOCATOR, 0); }; Non_reserved_wordsContext.prototype.T_RETURN = function() { - return this.getToken(HiveSqlParser.T_RETURN, 0); + return this.getToken(HiveSql.T_RETURN, 0); }; Non_reserved_wordsContext.prototype.T_RETURNS = function() { - return this.getToken(HiveSqlParser.T_RETURNS, 0); + return this.getToken(HiveSql.T_RETURNS, 0); }; Non_reserved_wordsContext.prototype.T_REVERSE = function() { - return this.getToken(HiveSqlParser.T_REVERSE, 0); + return this.getToken(HiveSql.T_REVERSE, 0); }; Non_reserved_wordsContext.prototype.T_RIGHT = function() { - return this.getToken(HiveSqlParser.T_RIGHT, 0); + return this.getToken(HiveSql.T_RIGHT, 0); }; Non_reserved_wordsContext.prototype.T_RLIKE = function() { - return this.getToken(HiveSqlParser.T_RLIKE, 0); + return this.getToken(HiveSql.T_RLIKE, 0); }; Non_reserved_wordsContext.prototype.T_RS = function() { - return this.getToken(HiveSqlParser.T_RS, 0); + return this.getToken(HiveSql.T_RS, 0); }; Non_reserved_wordsContext.prototype.T_ROLE = function() { - return this.getToken(HiveSqlParser.T_ROLE, 0); + return this.getToken(HiveSql.T_ROLE, 0); }; Non_reserved_wordsContext.prototype.T_ROLLBACK = function() { - return this.getToken(HiveSqlParser.T_ROLLBACK, 0); + return this.getToken(HiveSql.T_ROLLBACK, 0); }; Non_reserved_wordsContext.prototype.T_ROW = function() { - return this.getToken(HiveSqlParser.T_ROW, 0); + return this.getToken(HiveSql.T_ROW, 0); }; Non_reserved_wordsContext.prototype.T_ROWS = function() { - return this.getToken(HiveSqlParser.T_ROWS, 0); + return this.getToken(HiveSql.T_ROWS, 0); }; Non_reserved_wordsContext.prototype.T_ROW_COUNT = function() { - return this.getToken(HiveSqlParser.T_ROW_COUNT, 0); + return this.getToken(HiveSql.T_ROW_COUNT, 0); }; Non_reserved_wordsContext.prototype.T_ROW_NUMBER = function() { - return this.getToken(HiveSqlParser.T_ROW_NUMBER, 0); + return this.getToken(HiveSql.T_ROW_NUMBER, 0); }; Non_reserved_wordsContext.prototype.T_SCHEMA = function() { - return this.getToken(HiveSqlParser.T_SCHEMA, 0); + return this.getToken(HiveSql.T_SCHEMA, 0); }; Non_reserved_wordsContext.prototype.T_SECOND = function() { - return this.getToken(HiveSqlParser.T_SECOND, 0); + return this.getToken(HiveSql.T_SECOND, 0); }; Non_reserved_wordsContext.prototype.T_SECONDS = function() { - return this.getToken(HiveSqlParser.T_SECONDS, 0); + return this.getToken(HiveSql.T_SECONDS, 0); }; Non_reserved_wordsContext.prototype.T_SECURITY = function() { - return this.getToken(HiveSqlParser.T_SECURITY, 0); + return this.getToken(HiveSql.T_SECURITY, 0); }; Non_reserved_wordsContext.prototype.T_SEGMENT = function() { - return this.getToken(HiveSqlParser.T_SEGMENT, 0); + return this.getToken(HiveSql.T_SEGMENT, 0); }; Non_reserved_wordsContext.prototype.T_SEL = function() { - return this.getToken(HiveSqlParser.T_SEL, 0); + return this.getToken(HiveSql.T_SEL, 0); }; Non_reserved_wordsContext.prototype.T_SELECT = function() { - return this.getToken(HiveSqlParser.T_SELECT, 0); + return this.getToken(HiveSql.T_SELECT, 0); }; Non_reserved_wordsContext.prototype.T_SESSION = function() { - return this.getToken(HiveSqlParser.T_SESSION, 0); + return this.getToken(HiveSql.T_SESSION, 0); }; Non_reserved_wordsContext.prototype.T_SESSIONS = function() { - return this.getToken(HiveSqlParser.T_SESSIONS, 0); + return this.getToken(HiveSql.T_SESSIONS, 0); }; Non_reserved_wordsContext.prototype.T_SET = function() { - return this.getToken(HiveSqlParser.T_SET, 0); + return this.getToken(HiveSql.T_SET, 0); }; Non_reserved_wordsContext.prototype.T_SETS = function() { - return this.getToken(HiveSqlParser.T_SETS, 0); + return this.getToken(HiveSql.T_SETS, 0); }; Non_reserved_wordsContext.prototype.T_SHARE = function() { - return this.getToken(HiveSqlParser.T_SHARE, 0); + return this.getToken(HiveSql.T_SHARE, 0); }; Non_reserved_wordsContext.prototype.T_SIGNAL = function() { - return this.getToken(HiveSqlParser.T_SIGNAL, 0); + return this.getToken(HiveSql.T_SIGNAL, 0); }; Non_reserved_wordsContext.prototype.T_SIMPLE_DOUBLE = function() { - return this.getToken(HiveSqlParser.T_SIMPLE_DOUBLE, 0); + return this.getToken(HiveSql.T_SIMPLE_DOUBLE, 0); }; Non_reserved_wordsContext.prototype.T_SIMPLE_FLOAT = function() { - return this.getToken(HiveSqlParser.T_SIMPLE_FLOAT, 0); + return this.getToken(HiveSql.T_SIMPLE_FLOAT, 0); }; Non_reserved_wordsContext.prototype.T_SMALLDATETIME = function() { - return this.getToken(HiveSqlParser.T_SMALLDATETIME, 0); + return this.getToken(HiveSql.T_SMALLDATETIME, 0); }; Non_reserved_wordsContext.prototype.T_SMALLINT = function() { - return this.getToken(HiveSqlParser.T_SMALLINT, 0); + return this.getToken(HiveSql.T_SMALLINT, 0); }; Non_reserved_wordsContext.prototype.T_SQL = function() { - return this.getToken(HiveSqlParser.T_SQL, 0); + return this.getToken(HiveSql.T_SQL, 0); }; Non_reserved_wordsContext.prototype.T_SQLEXCEPTION = function() { - return this.getToken(HiveSqlParser.T_SQLEXCEPTION, 0); + return this.getToken(HiveSql.T_SQLEXCEPTION, 0); }; Non_reserved_wordsContext.prototype.T_SQLINSERT = function() { - return this.getToken(HiveSqlParser.T_SQLINSERT, 0); + return this.getToken(HiveSql.T_SQLINSERT, 0); }; Non_reserved_wordsContext.prototype.T_SQLSTATE = function() { - return this.getToken(HiveSqlParser.T_SQLSTATE, 0); + return this.getToken(HiveSql.T_SQLSTATE, 0); }; Non_reserved_wordsContext.prototype.T_SQLWARNING = function() { - return this.getToken(HiveSqlParser.T_SQLWARNING, 0); + return this.getToken(HiveSql.T_SQLWARNING, 0); }; Non_reserved_wordsContext.prototype.T_STATS = function() { - return this.getToken(HiveSqlParser.T_STATS, 0); + return this.getToken(HiveSql.T_STATS, 0); }; Non_reserved_wordsContext.prototype.T_STATISTICS = function() { - return this.getToken(HiveSqlParser.T_STATISTICS, 0); + return this.getToken(HiveSql.T_STATISTICS, 0); }; Non_reserved_wordsContext.prototype.T_STEP = function() { - return this.getToken(HiveSqlParser.T_STEP, 0); + return this.getToken(HiveSql.T_STEP, 0); }; Non_reserved_wordsContext.prototype.T_STDEV = function() { - return this.getToken(HiveSqlParser.T_STDEV, 0); + return this.getToken(HiveSql.T_STDEV, 0); }; Non_reserved_wordsContext.prototype.T_STORAGE = function() { - return this.getToken(HiveSqlParser.T_STORAGE, 0); + return this.getToken(HiveSql.T_STORAGE, 0); }; Non_reserved_wordsContext.prototype.T_STORED = function() { - return this.getToken(HiveSqlParser.T_STORED, 0); + return this.getToken(HiveSql.T_STORED, 0); }; Non_reserved_wordsContext.prototype.T_STRING = function() { - return this.getToken(HiveSqlParser.T_STRING, 0); + return this.getToken(HiveSql.T_STRING, 0); }; Non_reserved_wordsContext.prototype.T_SUBDIR = function() { - return this.getToken(HiveSqlParser.T_SUBDIR, 0); + return this.getToken(HiveSql.T_SUBDIR, 0); }; Non_reserved_wordsContext.prototype.T_SUBSTRING = function() { - return this.getToken(HiveSqlParser.T_SUBSTRING, 0); + return this.getToken(HiveSql.T_SUBSTRING, 0); }; Non_reserved_wordsContext.prototype.T_SUM = function() { - return this.getToken(HiveSqlParser.T_SUM, 0); + return this.getToken(HiveSql.T_SUM, 0); }; Non_reserved_wordsContext.prototype.T_SUMMARY = function() { - return this.getToken(HiveSqlParser.T_SUMMARY, 0); + return this.getToken(HiveSql.T_SUMMARY, 0); }; Non_reserved_wordsContext.prototype.T_SYSDATE = function() { - return this.getToken(HiveSqlParser.T_SYSDATE, 0); + return this.getToken(HiveSql.T_SYSDATE, 0); }; Non_reserved_wordsContext.prototype.T_SYS_REFCURSOR = function() { - return this.getToken(HiveSqlParser.T_SYS_REFCURSOR, 0); + return this.getToken(HiveSql.T_SYS_REFCURSOR, 0); }; Non_reserved_wordsContext.prototype.T_TABLE = function() { - return this.getToken(HiveSqlParser.T_TABLE, 0); + return this.getToken(HiveSql.T_TABLE, 0); }; Non_reserved_wordsContext.prototype.T_TABLESPACE = function() { - return this.getToken(HiveSqlParser.T_TABLESPACE, 0); + return this.getToken(HiveSql.T_TABLESPACE, 0); }; Non_reserved_wordsContext.prototype.T_TEMPORARY = function() { - return this.getToken(HiveSqlParser.T_TEMPORARY, 0); + return this.getToken(HiveSql.T_TEMPORARY, 0); }; Non_reserved_wordsContext.prototype.T_TERMINATED = function() { - return this.getToken(HiveSqlParser.T_TERMINATED, 0); + return this.getToken(HiveSql.T_TERMINATED, 0); }; Non_reserved_wordsContext.prototype.T_TEXTIMAGE_ON = function() { - return this.getToken(HiveSqlParser.T_TEXTIMAGE_ON, 0); + return this.getToken(HiveSql.T_TEXTIMAGE_ON, 0); }; Non_reserved_wordsContext.prototype.T_THEN = function() { - return this.getToken(HiveSqlParser.T_THEN, 0); + return this.getToken(HiveSql.T_THEN, 0); }; Non_reserved_wordsContext.prototype.T_TIMESTAMP = function() { - return this.getToken(HiveSqlParser.T_TIMESTAMP, 0); + return this.getToken(HiveSql.T_TIMESTAMP, 0); }; Non_reserved_wordsContext.prototype.T_TITLE = function() { - return this.getToken(HiveSqlParser.T_TITLE, 0); + return this.getToken(HiveSql.T_TITLE, 0); }; Non_reserved_wordsContext.prototype.T_TO = function() { - return this.getToken(HiveSqlParser.T_TO, 0); + return this.getToken(HiveSql.T_TO, 0); }; Non_reserved_wordsContext.prototype.T_TOP = function() { - return this.getToken(HiveSqlParser.T_TOP, 0); + return this.getToken(HiveSql.T_TOP, 0); }; Non_reserved_wordsContext.prototype.T_TRANSACTION = function() { - return this.getToken(HiveSqlParser.T_TRANSACTION, 0); + return this.getToken(HiveSql.T_TRANSACTION, 0); }; Non_reserved_wordsContext.prototype.T_TRIM = function() { - return this.getToken(HiveSqlParser.T_TRIM, 0); + return this.getToken(HiveSql.T_TRIM, 0); }; Non_reserved_wordsContext.prototype.T_TRUE = function() { - return this.getToken(HiveSqlParser.T_TRUE, 0); + return this.getToken(HiveSql.T_TRUE, 0); }; Non_reserved_wordsContext.prototype.T_TRUNCATE = function() { - return this.getToken(HiveSqlParser.T_TRUNCATE, 0); + return this.getToken(HiveSql.T_TRUNCATE, 0); }; Non_reserved_wordsContext.prototype.T_UNIQUE = function() { - return this.getToken(HiveSqlParser.T_UNIQUE, 0); + return this.getToken(HiveSql.T_UNIQUE, 0); }; Non_reserved_wordsContext.prototype.T_UPDATE = function() { - return this.getToken(HiveSqlParser.T_UPDATE, 0); + return this.getToken(HiveSql.T_UPDATE, 0); }; Non_reserved_wordsContext.prototype.T_UR = function() { - return this.getToken(HiveSqlParser.T_UR, 0); + return this.getToken(HiveSql.T_UR, 0); }; Non_reserved_wordsContext.prototype.T_USE = function() { - return this.getToken(HiveSqlParser.T_USE, 0); + return this.getToken(HiveSql.T_USE, 0); }; Non_reserved_wordsContext.prototype.T_USER = function() { - return this.getToken(HiveSqlParser.T_USER, 0); + return this.getToken(HiveSql.T_USER, 0); }; Non_reserved_wordsContext.prototype.T_USING = function() { - return this.getToken(HiveSqlParser.T_USING, 0); + return this.getToken(HiveSql.T_USING, 0); }; Non_reserved_wordsContext.prototype.T_VALUE = function() { - return this.getToken(HiveSqlParser.T_VALUE, 0); + return this.getToken(HiveSql.T_VALUE, 0); }; Non_reserved_wordsContext.prototype.T_VALUES = function() { - return this.getToken(HiveSqlParser.T_VALUES, 0); + return this.getToken(HiveSql.T_VALUES, 0); }; Non_reserved_wordsContext.prototype.T_VAR = function() { - return this.getToken(HiveSqlParser.T_VAR, 0); + return this.getToken(HiveSql.T_VAR, 0); }; Non_reserved_wordsContext.prototype.T_VARCHAR = function() { - return this.getToken(HiveSqlParser.T_VARCHAR, 0); + return this.getToken(HiveSql.T_VARCHAR, 0); }; Non_reserved_wordsContext.prototype.T_VARCHAR2 = function() { - return this.getToken(HiveSqlParser.T_VARCHAR2, 0); + return this.getToken(HiveSql.T_VARCHAR2, 0); }; Non_reserved_wordsContext.prototype.T_VARYING = function() { - return this.getToken(HiveSqlParser.T_VARYING, 0); + return this.getToken(HiveSql.T_VARYING, 0); }; Non_reserved_wordsContext.prototype.T_VARIANCE = function() { - return this.getToken(HiveSqlParser.T_VARIANCE, 0); + return this.getToken(HiveSql.T_VARIANCE, 0); }; Non_reserved_wordsContext.prototype.T_VOLATILE = function() { - return this.getToken(HiveSqlParser.T_VOLATILE, 0); + return this.getToken(HiveSql.T_VOLATILE, 0); }; Non_reserved_wordsContext.prototype.T_WHILE = function() { - return this.getToken(HiveSqlParser.T_WHILE, 0); + return this.getToken(HiveSql.T_WHILE, 0); }; Non_reserved_wordsContext.prototype.T_WITH = function() { - return this.getToken(HiveSqlParser.T_WITH, 0); + return this.getToken(HiveSql.T_WITH, 0); }; Non_reserved_wordsContext.prototype.T_WITHOUT = function() { - return this.getToken(HiveSqlParser.T_WITHOUT, 0); + return this.getToken(HiveSql.T_WITHOUT, 0); }; Non_reserved_wordsContext.prototype.T_WORK = function() { - return this.getToken(HiveSqlParser.T_WORK, 0); + return this.getToken(HiveSql.T_WORK, 0); }; Non_reserved_wordsContext.prototype.T_XACT_ABORT = function() { - return this.getToken(HiveSqlParser.T_XACT_ABORT, 0); + return this.getToken(HiveSql.T_XACT_ABORT, 0); }; Non_reserved_wordsContext.prototype.T_XML = function() { - return this.getToken(HiveSqlParser.T_XML, 0); + return this.getToken(HiveSql.T_XML, 0); }; Non_reserved_wordsContext.prototype.T_YES = function() { - return this.getToken(HiveSqlParser.T_YES, 0); + return this.getToken(HiveSql.T_YES, 0); }; Non_reserved_wordsContext.prototype.enterRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.enterNon_reserved_words(this); } }; Non_reserved_wordsContext.prototype.exitRule = function(listener) { - if(listener instanceof HiveSqlParserListener ) { + if(listener instanceof HiveSqlListener ) { listener.exitNon_reserved_words(this); } }; Non_reserved_wordsContext.prototype.accept = function(visitor) { - if ( visitor instanceof HiveSqlParserVisitor ) { + if ( visitor instanceof HiveSqlVisitor ) { return visitor.visitNon_reserved_words(this); } else { return visitor.visitChildren(this); @@ -37695,18 +37695,18 @@ Non_reserved_wordsContext.prototype.accept = function(visitor) { -HiveSqlParser.Non_reserved_wordsContext = Non_reserved_wordsContext; +HiveSql.Non_reserved_wordsContext = Non_reserved_wordsContext; -HiveSqlParser.prototype.non_reserved_words = function() { +HiveSql.prototype.non_reserved_words = function() { var localctx = new Non_reserved_wordsContext(this, this._ctx, this.state); - this.enterRule(localctx, 450, HiveSqlParser.RULE_non_reserved_words); + this.enterRule(localctx, 450, HiveSql.RULE_non_reserved_words); var _la = 0; // Token type try { this.enterOuterAlt(localctx, 1); this.state = 3334; _la = this._input.LA(1); - if(!((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSqlParser.T_ACTION) | (1 << HiveSqlParser.T_ADD2) | (1 << HiveSqlParser.T_ALL) | (1 << HiveSqlParser.T_ALLOCATE) | (1 << HiveSqlParser.T_ALTER) | (1 << HiveSqlParser.T_AND) | (1 << HiveSqlParser.T_ANSI_NULLS) | (1 << HiveSqlParser.T_ANSI_PADDING) | (1 << HiveSqlParser.T_AS) | (1 << HiveSqlParser.T_ASC) | (1 << HiveSqlParser.T_ASSOCIATE) | (1 << HiveSqlParser.T_AT) | (1 << HiveSqlParser.T_AUTO_INCREMENT) | (1 << HiveSqlParser.T_AVG) | (1 << HiveSqlParser.T_BATCHSIZE) | (1 << HiveSqlParser.T_BEGIN) | (1 << HiveSqlParser.T_BETWEEN) | (1 << HiveSqlParser.T_BIGINT) | (1 << HiveSqlParser.T_BINARY_DOUBLE) | (1 << HiveSqlParser.T_BINARY_FLOAT) | (1 << HiveSqlParser.T_BIT) | (1 << HiveSqlParser.T_BODY) | (1 << HiveSqlParser.T_BREAK) | (1 << HiveSqlParser.T_BY) | (1 << HiveSqlParser.T_BYTE) | (1 << HiveSqlParser.T_CALL) | (1 << HiveSqlParser.T_CALLER) | (1 << HiveSqlParser.T_CASCADE) | (1 << HiveSqlParser.T_CASE) | (1 << HiveSqlParser.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSqlParser.T_CAST - 32)) | (1 << (HiveSqlParser.T_CHAR - 32)) | (1 << (HiveSqlParser.T_CHARACTER - 32)) | (1 << (HiveSqlParser.T_CHARSET - 32)) | (1 << (HiveSqlParser.T_CLIENT - 32)) | (1 << (HiveSqlParser.T_CLOSE - 32)) | (1 << (HiveSqlParser.T_CLUSTERED - 32)) | (1 << (HiveSqlParser.T_CMP - 32)) | (1 << (HiveSqlParser.T_COLLECT - 32)) | (1 << (HiveSqlParser.T_COLLECTION - 32)) | (1 << (HiveSqlParser.T_COLUMN - 32)) | (1 << (HiveSqlParser.T_COMMENT - 32)) | (1 << (HiveSqlParser.T_CONSTANT - 32)) | (1 << (HiveSqlParser.T_COMMIT - 32)) | (1 << (HiveSqlParser.T_COMPRESS - 32)) | (1 << (HiveSqlParser.T_CONCAT - 32)) | (1 << (HiveSqlParser.T_CONDITION - 32)) | (1 << (HiveSqlParser.T_CONSTRAINT - 32)) | (1 << (HiveSqlParser.T_CONTINUE - 32)) | (1 << (HiveSqlParser.T_COPY - 32)) | (1 << (HiveSqlParser.T_COUNT - 32)) | (1 << (HiveSqlParser.T_COUNT_BIG - 32)) | (1 << (HiveSqlParser.T_CREATE - 32)) | (1 << (HiveSqlParser.T_CREATION - 32)) | (1 << (HiveSqlParser.T_CREATOR - 32)) | (1 << (HiveSqlParser.T_CS - 32)) | (1 << (HiveSqlParser.T_CURRENT - 32)) | (1 << (HiveSqlParser.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSqlParser.T_CURSOR - 32)) | (1 << (HiveSqlParser.T_DATABASE - 32)) | (1 << (HiveSqlParser.T_DATA - 32)) | (1 << (HiveSqlParser.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSqlParser.T_DATETIME - 64)) | (1 << (HiveSqlParser.T_DAY - 64)) | (1 << (HiveSqlParser.T_DAYS - 64)) | (1 << (HiveSqlParser.T_DEC - 64)) | (1 << (HiveSqlParser.T_DECIMAL - 64)) | (1 << (HiveSqlParser.T_DECLARE - 64)) | (1 << (HiveSqlParser.T_DEFAULT - 64)) | (1 << (HiveSqlParser.T_DEFERRED - 64)) | (1 << (HiveSqlParser.T_DEFINED - 64)) | (1 << (HiveSqlParser.T_DEFINER - 64)) | (1 << (HiveSqlParser.T_DEFINITION - 64)) | (1 << (HiveSqlParser.T_DELETE - 64)) | (1 << (HiveSqlParser.T_DELIMITED - 64)) | (1 << (HiveSqlParser.T_DELIMITER - 64)) | (1 << (HiveSqlParser.T_DESC - 64)) | (1 << (HiveSqlParser.T_DESCRIBE - 64)) | (1 << (HiveSqlParser.T_DIAGNOSTICS - 64)) | (1 << (HiveSqlParser.T_DIR - 64)) | (1 << (HiveSqlParser.T_DIRECTORY - 64)) | (1 << (HiveSqlParser.T_DISTINCT - 64)) | (1 << (HiveSqlParser.T_DISTRIBUTE - 64)) | (1 << (HiveSqlParser.T_DO - 64)) | (1 << (HiveSqlParser.T_DOUBLE - 64)) | (1 << (HiveSqlParser.T_DROP - 64)) | (1 << (HiveSqlParser.T_DYNAMIC - 64)) | (1 << (HiveSqlParser.T_ENABLE - 64)) | (1 << (HiveSqlParser.T_ENGINE - 64)) | (1 << (HiveSqlParser.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSqlParser.T_EXCEPT - 96)) | (1 << (HiveSqlParser.T_EXEC - 96)) | (1 << (HiveSqlParser.T_EXECUTE - 96)) | (1 << (HiveSqlParser.T_EXCEPTION - 96)) | (1 << (HiveSqlParser.T_EXCLUSIVE - 96)) | (1 << (HiveSqlParser.T_EXISTS - 96)) | (1 << (HiveSqlParser.T_EXIT - 96)) | (1 << (HiveSqlParser.T_FALLBACK - 96)) | (1 << (HiveSqlParser.T_FALSE - 96)) | (1 << (HiveSqlParser.T_FETCH - 96)) | (1 << (HiveSqlParser.T_FIELDS - 96)) | (1 << (HiveSqlParser.T_FILE - 96)) | (1 << (HiveSqlParser.T_FILES - 96)) | (1 << (HiveSqlParser.T_FLOAT - 96)) | (1 << (HiveSqlParser.T_FOR - 96)) | (1 << (HiveSqlParser.T_FOREIGN - 96)) | (1 << (HiveSqlParser.T_FORMAT - 96)) | (1 << (HiveSqlParser.T_FOUND - 96)) | (1 << (HiveSqlParser.T_FROM - 96)) | (1 << (HiveSqlParser.T_FULL - 96)) | (1 << (HiveSqlParser.T_FUNCTION - 96)) | (1 << (HiveSqlParser.T_GET - 96)) | (1 << (HiveSqlParser.T_GLOBAL - 96)) | (1 << (HiveSqlParser.T_GO - 96)) | (1 << (HiveSqlParser.T_GRANT - 96)) | (1 << (HiveSqlParser.T_GROUP - 96)) | (1 << (HiveSqlParser.T_HANDLER - 96)) | (1 << (HiveSqlParser.T_HASH - 96)) | (1 << (HiveSqlParser.T_HAVING - 96)) | (1 << (HiveSqlParser.T_HDFS - 96)) | (1 << (HiveSqlParser.T_HIVE - 96)) | (1 << (HiveSqlParser.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSqlParser.T_IDENTITY - 128)) | (1 << (HiveSqlParser.T_IF - 128)) | (1 << (HiveSqlParser.T_IGNORE - 128)) | (1 << (HiveSqlParser.T_IMMEDIATE - 128)) | (1 << (HiveSqlParser.T_IN - 128)) | (1 << (HiveSqlParser.T_INCLUDE - 128)) | (1 << (HiveSqlParser.T_INDEX - 128)) | (1 << (HiveSqlParser.T_INITRANS - 128)) | (1 << (HiveSqlParser.T_INNER - 128)) | (1 << (HiveSqlParser.T_INOUT - 128)) | (1 << (HiveSqlParser.T_INSERT - 128)) | (1 << (HiveSqlParser.T_INT - 128)) | (1 << (HiveSqlParser.T_INT2 - 128)) | (1 << (HiveSqlParser.T_INT4 - 128)) | (1 << (HiveSqlParser.T_INT8 - 128)) | (1 << (HiveSqlParser.T_INTEGER - 128)) | (1 << (HiveSqlParser.T_INTERSECT - 128)) | (1 << (HiveSqlParser.T_INTERVAL - 128)) | (1 << (HiveSqlParser.T_INTO - 128)) | (1 << (HiveSqlParser.T_INVOKER - 128)) | (1 << (HiveSqlParser.T_IS - 128)) | (1 << (HiveSqlParser.T_ISOPEN - 128)) | (1 << (HiveSqlParser.T_ITEMS - 128)) | (1 << (HiveSqlParser.T_JOIN - 128)) | (1 << (HiveSqlParser.T_KEEP - 128)) | (1 << (HiveSqlParser.T_KEY - 128)) | (1 << (HiveSqlParser.T_KEYS - 128)) | (1 << (HiveSqlParser.T_LANGUAGE - 128)) | (1 << (HiveSqlParser.T_LEAVE - 128)) | (1 << (HiveSqlParser.T_LEFT - 128)) | (1 << (HiveSqlParser.T_LIKE - 128)) | (1 << (HiveSqlParser.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSqlParser.T_LINES - 160)) | (1 << (HiveSqlParser.T_LOCAL - 160)) | (1 << (HiveSqlParser.T_LOCATION - 160)) | (1 << (HiveSqlParser.T_LOCATOR - 160)) | (1 << (HiveSqlParser.T_LOCATORS - 160)) | (1 << (HiveSqlParser.T_LOCKS - 160)) | (1 << (HiveSqlParser.T_LOG - 160)) | (1 << (HiveSqlParser.T_LOGGED - 160)) | (1 << (HiveSqlParser.T_LOGGING - 160)) | (1 << (HiveSqlParser.T_LOOP - 160)) | (1 << (HiveSqlParser.T_MAP - 160)) | (1 << (HiveSqlParser.T_MATCHED - 160)) | (1 << (HiveSqlParser.T_MAX - 160)) | (1 << (HiveSqlParser.T_MAXTRANS - 160)) | (1 << (HiveSqlParser.T_MERGE - 160)) | (1 << (HiveSqlParser.T_MESSAGE_TEXT - 160)) | (1 << (HiveSqlParser.T_MICROSECOND - 160)) | (1 << (HiveSqlParser.T_MICROSECONDS - 160)) | (1 << (HiveSqlParser.T_MIN - 160)) | (1 << (HiveSqlParser.T_MULTISET - 160)) | (1 << (HiveSqlParser.T_NCHAR - 160)) | (1 << (HiveSqlParser.T_NEW - 160)) | (1 << (HiveSqlParser.T_NVARCHAR - 160)) | (1 << (HiveSqlParser.T_NO - 160)) | (1 << (HiveSqlParser.T_NOCOUNT - 160)) | (1 << (HiveSqlParser.T_NOCOMPRESS - 160)) | (1 << (HiveSqlParser.T_NOLOGGING - 160)) | (1 << (HiveSqlParser.T_NONE - 160)) | (1 << (HiveSqlParser.T_NOT - 160)) | (1 << (HiveSqlParser.T_NOTFOUND - 160)) | (1 << (HiveSqlParser.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSqlParser.T_NUMBER - 192)) | (1 << (HiveSqlParser.T_OBJECT - 192)) | (1 << (HiveSqlParser.T_OFF - 192)) | (1 << (HiveSqlParser.T_ON - 192)) | (1 << (HiveSqlParser.T_ONLY - 192)) | (1 << (HiveSqlParser.T_OPEN - 192)) | (1 << (HiveSqlParser.T_OR - 192)) | (1 << (HiveSqlParser.T_ORDER - 192)) | (1 << (HiveSqlParser.T_OUT - 192)) | (1 << (HiveSqlParser.T_OUTER - 192)) | (1 << (HiveSqlParser.T_OVER - 192)) | (1 << (HiveSqlParser.T_OVERWRITE - 192)) | (1 << (HiveSqlParser.T_OWNER - 192)) | (1 << (HiveSqlParser.T_PACKAGE - 192)) | (1 << (HiveSqlParser.T_PARTITION - 192)) | (1 << (HiveSqlParser.T_PCTFREE - 192)) | (1 << (HiveSqlParser.T_PCTUSED - 192)) | (1 << (HiveSqlParser.T_PRECISION - 192)) | (1 << (HiveSqlParser.T_PRESERVE - 192)) | (1 << (HiveSqlParser.T_PRIMARY - 192)) | (1 << (HiveSqlParser.T_PRINT - 192)) | (1 << (HiveSqlParser.T_PROC - 192)) | (1 << (HiveSqlParser.T_PROCEDURE - 192)) | (1 << (HiveSqlParser.T_QUALIFY - 192)) | (1 << (HiveSqlParser.T_QUERY_BAND - 192)) | (1 << (HiveSqlParser.T_QUIT - 192)) | (1 << (HiveSqlParser.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSqlParser.T_RAISE - 192)) | (1 << (HiveSqlParser.T_REAL - 192)) | (1 << (HiveSqlParser.T_REFERENCES - 192)) | (1 << (HiveSqlParser.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSqlParser.T_REPLACE - 224)) | (1 << (HiveSqlParser.T_RESIGNAL - 224)) | (1 << (HiveSqlParser.T_RESTRICT - 224)) | (1 << (HiveSqlParser.T_RESULT - 224)) | (1 << (HiveSqlParser.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSqlParser.T_RETURN - 224)) | (1 << (HiveSqlParser.T_RETURNS - 224)) | (1 << (HiveSqlParser.T_REVERSE - 224)) | (1 << (HiveSqlParser.T_RIGHT - 224)) | (1 << (HiveSqlParser.T_RLIKE - 224)) | (1 << (HiveSqlParser.T_ROLE - 224)) | (1 << (HiveSqlParser.T_ROLLBACK - 224)) | (1 << (HiveSqlParser.T_ROW - 224)) | (1 << (HiveSqlParser.T_ROWS - 224)) | (1 << (HiveSqlParser.T_ROW_COUNT - 224)) | (1 << (HiveSqlParser.T_RR - 224)) | (1 << (HiveSqlParser.T_RS - 224)) | (1 << (HiveSqlParser.T_PWD - 224)) | (1 << (HiveSqlParser.T_TRIM - 224)) | (1 << (HiveSqlParser.T_SCHEMA - 224)) | (1 << (HiveSqlParser.T_SECOND - 224)) | (1 << (HiveSqlParser.T_SECONDS - 224)) | (1 << (HiveSqlParser.T_SECURITY - 224)) | (1 << (HiveSqlParser.T_SEGMENT - 224)) | (1 << (HiveSqlParser.T_SEL - 224)) | (1 << (HiveSqlParser.T_SELECT - 224)) | (1 << (HiveSqlParser.T_SET - 224)) | (1 << (HiveSqlParser.T_SESSION - 224)) | (1 << (HiveSqlParser.T_SESSIONS - 224)) | (1 << (HiveSqlParser.T_SETS - 224)) | (1 << (HiveSqlParser.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSqlParser.T_SIGNAL - 256)) | (1 << (HiveSqlParser.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSqlParser.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSqlParser.T_SMALLDATETIME - 256)) | (1 << (HiveSqlParser.T_SMALLINT - 256)) | (1 << (HiveSqlParser.T_SQL - 256)) | (1 << (HiveSqlParser.T_SQLEXCEPTION - 256)) | (1 << (HiveSqlParser.T_SQLINSERT - 256)) | (1 << (HiveSqlParser.T_SQLSTATE - 256)) | (1 << (HiveSqlParser.T_SQLWARNING - 256)) | (1 << (HiveSqlParser.T_STATS - 256)) | (1 << (HiveSqlParser.T_STATISTICS - 256)) | (1 << (HiveSqlParser.T_STEP - 256)) | (1 << (HiveSqlParser.T_STORAGE - 256)) | (1 << (HiveSqlParser.T_STORED - 256)) | (1 << (HiveSqlParser.T_STRING - 256)) | (1 << (HiveSqlParser.T_SUBDIR - 256)) | (1 << (HiveSqlParser.T_SUBSTRING - 256)) | (1 << (HiveSqlParser.T_SUM - 256)) | (1 << (HiveSqlParser.T_SUMMARY - 256)) | (1 << (HiveSqlParser.T_SYS_REFCURSOR - 256)) | (1 << (HiveSqlParser.T_TABLE - 256)) | (1 << (HiveSqlParser.T_TABLESPACE - 256)) | (1 << (HiveSqlParser.T_TEMPORARY - 256)) | (1 << (HiveSqlParser.T_TERMINATED - 256)) | (1 << (HiveSqlParser.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSqlParser.T_THEN - 256)) | (1 << (HiveSqlParser.T_TIMESTAMP - 256)) | (1 << (HiveSqlParser.T_TITLE - 256)) | (1 << (HiveSqlParser.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSqlParser.T_TOP - 288)) | (1 << (HiveSqlParser.T_TRANSACTION - 288)) | (1 << (HiveSqlParser.T_TRUE - 288)) | (1 << (HiveSqlParser.T_TRUNCATE - 288)) | (1 << (HiveSqlParser.T_UNIQUE - 288)) | (1 << (HiveSqlParser.T_UPDATE - 288)) | (1 << (HiveSqlParser.T_UR - 288)) | (1 << (HiveSqlParser.T_USE - 288)) | (1 << (HiveSqlParser.T_USING - 288)) | (1 << (HiveSqlParser.T_VALUE - 288)) | (1 << (HiveSqlParser.T_VALUES - 288)) | (1 << (HiveSqlParser.T_VAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR - 288)) | (1 << (HiveSqlParser.T_VARCHAR2 - 288)) | (1 << (HiveSqlParser.T_VARYING - 288)) | (1 << (HiveSqlParser.T_VOLATILE - 288)) | (1 << (HiveSqlParser.T_WHILE - 288)) | (1 << (HiveSqlParser.T_WITH - 288)) | (1 << (HiveSqlParser.T_WITHOUT - 288)) | (1 << (HiveSqlParser.T_WORK - 288)) | (1 << (HiveSqlParser.T_XACT_ABORT - 288)) | (1 << (HiveSqlParser.T_XML - 288)) | (1 << (HiveSqlParser.T_YES - 288)) | (1 << (HiveSqlParser.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSqlParser.T_CUME_DIST - 288)) | (1 << (HiveSqlParser.T_CURRENT_DATE - 288)) | (1 << (HiveSqlParser.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSqlParser.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSqlParser.T_DENSE_RANK - 320)) | (1 << (HiveSqlParser.T_FIRST_VALUE - 320)) | (1 << (HiveSqlParser.T_LAG - 320)) | (1 << (HiveSqlParser.T_LAST_VALUE - 320)) | (1 << (HiveSqlParser.T_LEAD - 320)) | (1 << (HiveSqlParser.T_PART_COUNT - 320)) | (1 << (HiveSqlParser.T_PART_LOC - 320)) | (1 << (HiveSqlParser.T_RANK - 320)) | (1 << (HiveSqlParser.T_ROW_NUMBER - 320)) | (1 << (HiveSqlParser.T_STDEV - 320)) | (1 << (HiveSqlParser.T_SYSDATE - 320)) | (1 << (HiveSqlParser.T_VARIANCE - 320)) | (1 << (HiveSqlParser.T_USER - 320)))) !== 0))) { + if(!((((_la) & ~0x1f) == 0 && ((1 << _la) & ((1 << HiveSql.T_ACTION) | (1 << HiveSql.T_ADD2) | (1 << HiveSql.T_ALL) | (1 << HiveSql.T_ALLOCATE) | (1 << HiveSql.T_ALTER) | (1 << HiveSql.T_AND) | (1 << HiveSql.T_ANSI_NULLS) | (1 << HiveSql.T_ANSI_PADDING) | (1 << HiveSql.T_AS) | (1 << HiveSql.T_ASC) | (1 << HiveSql.T_ASSOCIATE) | (1 << HiveSql.T_AT) | (1 << HiveSql.T_AUTO_INCREMENT) | (1 << HiveSql.T_AVG) | (1 << HiveSql.T_BATCHSIZE) | (1 << HiveSql.T_BEGIN) | (1 << HiveSql.T_BETWEEN) | (1 << HiveSql.T_BIGINT) | (1 << HiveSql.T_BINARY_DOUBLE) | (1 << HiveSql.T_BINARY_FLOAT) | (1 << HiveSql.T_BIT) | (1 << HiveSql.T_BODY) | (1 << HiveSql.T_BREAK) | (1 << HiveSql.T_BY) | (1 << HiveSql.T_BYTE) | (1 << HiveSql.T_CALL) | (1 << HiveSql.T_CALLER) | (1 << HiveSql.T_CASCADE) | (1 << HiveSql.T_CASE) | (1 << HiveSql.T_CASESPECIFIC))) !== 0) || ((((_la - 32)) & ~0x1f) == 0 && ((1 << (_la - 32)) & ((1 << (HiveSql.T_CAST - 32)) | (1 << (HiveSql.T_CHAR - 32)) | (1 << (HiveSql.T_CHARACTER - 32)) | (1 << (HiveSql.T_CHARSET - 32)) | (1 << (HiveSql.T_CLIENT - 32)) | (1 << (HiveSql.T_CLOSE - 32)) | (1 << (HiveSql.T_CLUSTERED - 32)) | (1 << (HiveSql.T_CMP - 32)) | (1 << (HiveSql.T_COLLECT - 32)) | (1 << (HiveSql.T_COLLECTION - 32)) | (1 << (HiveSql.T_COLUMN - 32)) | (1 << (HiveSql.T_COMMENT - 32)) | (1 << (HiveSql.T_CONSTANT - 32)) | (1 << (HiveSql.T_COMMIT - 32)) | (1 << (HiveSql.T_COMPRESS - 32)) | (1 << (HiveSql.T_CONCAT - 32)) | (1 << (HiveSql.T_CONDITION - 32)) | (1 << (HiveSql.T_CONSTRAINT - 32)) | (1 << (HiveSql.T_CONTINUE - 32)) | (1 << (HiveSql.T_COPY - 32)) | (1 << (HiveSql.T_COUNT - 32)) | (1 << (HiveSql.T_COUNT_BIG - 32)) | (1 << (HiveSql.T_CREATE - 32)) | (1 << (HiveSql.T_CREATION - 32)) | (1 << (HiveSql.T_CREATOR - 32)) | (1 << (HiveSql.T_CS - 32)) | (1 << (HiveSql.T_CURRENT - 32)) | (1 << (HiveSql.T_CURRENT_SCHEMA - 32)) | (1 << (HiveSql.T_CURSOR - 32)) | (1 << (HiveSql.T_DATABASE - 32)) | (1 << (HiveSql.T_DATA - 32)) | (1 << (HiveSql.T_DATE - 32)))) !== 0) || ((((_la - 64)) & ~0x1f) == 0 && ((1 << (_la - 64)) & ((1 << (HiveSql.T_DATETIME - 64)) | (1 << (HiveSql.T_DAY - 64)) | (1 << (HiveSql.T_DAYS - 64)) | (1 << (HiveSql.T_DEC - 64)) | (1 << (HiveSql.T_DECIMAL - 64)) | (1 << (HiveSql.T_DECLARE - 64)) | (1 << (HiveSql.T_DEFAULT - 64)) | (1 << (HiveSql.T_DEFERRED - 64)) | (1 << (HiveSql.T_DEFINED - 64)) | (1 << (HiveSql.T_DEFINER - 64)) | (1 << (HiveSql.T_DEFINITION - 64)) | (1 << (HiveSql.T_DELETE - 64)) | (1 << (HiveSql.T_DELIMITED - 64)) | (1 << (HiveSql.T_DELIMITER - 64)) | (1 << (HiveSql.T_DESC - 64)) | (1 << (HiveSql.T_DESCRIBE - 64)) | (1 << (HiveSql.T_DIAGNOSTICS - 64)) | (1 << (HiveSql.T_DIR - 64)) | (1 << (HiveSql.T_DIRECTORY - 64)) | (1 << (HiveSql.T_DISTINCT - 64)) | (1 << (HiveSql.T_DISTRIBUTE - 64)) | (1 << (HiveSql.T_DO - 64)) | (1 << (HiveSql.T_DOUBLE - 64)) | (1 << (HiveSql.T_DROP - 64)) | (1 << (HiveSql.T_DYNAMIC - 64)) | (1 << (HiveSql.T_ENABLE - 64)) | (1 << (HiveSql.T_ENGINE - 64)) | (1 << (HiveSql.T_ESCAPED - 64)))) !== 0) || ((((_la - 96)) & ~0x1f) == 0 && ((1 << (_la - 96)) & ((1 << (HiveSql.T_EXCEPT - 96)) | (1 << (HiveSql.T_EXEC - 96)) | (1 << (HiveSql.T_EXECUTE - 96)) | (1 << (HiveSql.T_EXCEPTION - 96)) | (1 << (HiveSql.T_EXCLUSIVE - 96)) | (1 << (HiveSql.T_EXISTS - 96)) | (1 << (HiveSql.T_EXIT - 96)) | (1 << (HiveSql.T_FALLBACK - 96)) | (1 << (HiveSql.T_FALSE - 96)) | (1 << (HiveSql.T_FETCH - 96)) | (1 << (HiveSql.T_FIELDS - 96)) | (1 << (HiveSql.T_FILE - 96)) | (1 << (HiveSql.T_FILES - 96)) | (1 << (HiveSql.T_FLOAT - 96)) | (1 << (HiveSql.T_FOR - 96)) | (1 << (HiveSql.T_FOREIGN - 96)) | (1 << (HiveSql.T_FORMAT - 96)) | (1 << (HiveSql.T_FOUND - 96)) | (1 << (HiveSql.T_FROM - 96)) | (1 << (HiveSql.T_FULL - 96)) | (1 << (HiveSql.T_FUNCTION - 96)) | (1 << (HiveSql.T_GET - 96)) | (1 << (HiveSql.T_GLOBAL - 96)) | (1 << (HiveSql.T_GO - 96)) | (1 << (HiveSql.T_GRANT - 96)) | (1 << (HiveSql.T_GROUP - 96)) | (1 << (HiveSql.T_HANDLER - 96)) | (1 << (HiveSql.T_HASH - 96)) | (1 << (HiveSql.T_HAVING - 96)) | (1 << (HiveSql.T_HDFS - 96)) | (1 << (HiveSql.T_HIVE - 96)) | (1 << (HiveSql.T_HOST - 96)))) !== 0) || ((((_la - 128)) & ~0x1f) == 0 && ((1 << (_la - 128)) & ((1 << (HiveSql.T_IDENTITY - 128)) | (1 << (HiveSql.T_IF - 128)) | (1 << (HiveSql.T_IGNORE - 128)) | (1 << (HiveSql.T_IMMEDIATE - 128)) | (1 << (HiveSql.T_IN - 128)) | (1 << (HiveSql.T_INCLUDE - 128)) | (1 << (HiveSql.T_INDEX - 128)) | (1 << (HiveSql.T_INITRANS - 128)) | (1 << (HiveSql.T_INNER - 128)) | (1 << (HiveSql.T_INOUT - 128)) | (1 << (HiveSql.T_INSERT - 128)) | (1 << (HiveSql.T_INT - 128)) | (1 << (HiveSql.T_INT2 - 128)) | (1 << (HiveSql.T_INT4 - 128)) | (1 << (HiveSql.T_INT8 - 128)) | (1 << (HiveSql.T_INTEGER - 128)) | (1 << (HiveSql.T_INTERSECT - 128)) | (1 << (HiveSql.T_INTERVAL - 128)) | (1 << (HiveSql.T_INTO - 128)) | (1 << (HiveSql.T_INVOKER - 128)) | (1 << (HiveSql.T_IS - 128)) | (1 << (HiveSql.T_ISOPEN - 128)) | (1 << (HiveSql.T_ITEMS - 128)) | (1 << (HiveSql.T_JOIN - 128)) | (1 << (HiveSql.T_KEEP - 128)) | (1 << (HiveSql.T_KEY - 128)) | (1 << (HiveSql.T_KEYS - 128)) | (1 << (HiveSql.T_LANGUAGE - 128)) | (1 << (HiveSql.T_LEAVE - 128)) | (1 << (HiveSql.T_LEFT - 128)) | (1 << (HiveSql.T_LIKE - 128)) | (1 << (HiveSql.T_LIMIT - 128)))) !== 0) || ((((_la - 160)) & ~0x1f) == 0 && ((1 << (_la - 160)) & ((1 << (HiveSql.T_LINES - 160)) | (1 << (HiveSql.T_LOCAL - 160)) | (1 << (HiveSql.T_LOCATION - 160)) | (1 << (HiveSql.T_LOCATOR - 160)) | (1 << (HiveSql.T_LOCATORS - 160)) | (1 << (HiveSql.T_LOCKS - 160)) | (1 << (HiveSql.T_LOG - 160)) | (1 << (HiveSql.T_LOGGED - 160)) | (1 << (HiveSql.T_LOGGING - 160)) | (1 << (HiveSql.T_LOOP - 160)) | (1 << (HiveSql.T_MAP - 160)) | (1 << (HiveSql.T_MATCHED - 160)) | (1 << (HiveSql.T_MAX - 160)) | (1 << (HiveSql.T_MAXTRANS - 160)) | (1 << (HiveSql.T_MERGE - 160)) | (1 << (HiveSql.T_MESSAGE_TEXT - 160)) | (1 << (HiveSql.T_MICROSECOND - 160)) | (1 << (HiveSql.T_MICROSECONDS - 160)) | (1 << (HiveSql.T_MIN - 160)) | (1 << (HiveSql.T_MULTISET - 160)) | (1 << (HiveSql.T_NCHAR - 160)) | (1 << (HiveSql.T_NEW - 160)) | (1 << (HiveSql.T_NVARCHAR - 160)) | (1 << (HiveSql.T_NO - 160)) | (1 << (HiveSql.T_NOCOUNT - 160)) | (1 << (HiveSql.T_NOCOMPRESS - 160)) | (1 << (HiveSql.T_NOLOGGING - 160)) | (1 << (HiveSql.T_NONE - 160)) | (1 << (HiveSql.T_NOT - 160)) | (1 << (HiveSql.T_NOTFOUND - 160)) | (1 << (HiveSql.T_NUMERIC - 160)))) !== 0) || ((((_la - 192)) & ~0x1f) == 0 && ((1 << (_la - 192)) & ((1 << (HiveSql.T_NUMBER - 192)) | (1 << (HiveSql.T_OBJECT - 192)) | (1 << (HiveSql.T_OFF - 192)) | (1 << (HiveSql.T_ON - 192)) | (1 << (HiveSql.T_ONLY - 192)) | (1 << (HiveSql.T_OPEN - 192)) | (1 << (HiveSql.T_OR - 192)) | (1 << (HiveSql.T_ORDER - 192)) | (1 << (HiveSql.T_OUT - 192)) | (1 << (HiveSql.T_OUTER - 192)) | (1 << (HiveSql.T_OVER - 192)) | (1 << (HiveSql.T_OVERWRITE - 192)) | (1 << (HiveSql.T_OWNER - 192)) | (1 << (HiveSql.T_PACKAGE - 192)) | (1 << (HiveSql.T_PARTITION - 192)) | (1 << (HiveSql.T_PCTFREE - 192)) | (1 << (HiveSql.T_PCTUSED - 192)) | (1 << (HiveSql.T_PRECISION - 192)) | (1 << (HiveSql.T_PRESERVE - 192)) | (1 << (HiveSql.T_PRIMARY - 192)) | (1 << (HiveSql.T_PRINT - 192)) | (1 << (HiveSql.T_PROC - 192)) | (1 << (HiveSql.T_PROCEDURE - 192)) | (1 << (HiveSql.T_QUALIFY - 192)) | (1 << (HiveSql.T_QUERY_BAND - 192)) | (1 << (HiveSql.T_QUIT - 192)) | (1 << (HiveSql.T_QUOTED_IDENTIFIER - 192)) | (1 << (HiveSql.T_RAISE - 192)) | (1 << (HiveSql.T_REAL - 192)) | (1 << (HiveSql.T_REFERENCES - 192)) | (1 << (HiveSql.T_REGEXP - 192)))) !== 0) || ((((_la - 224)) & ~0x1f) == 0 && ((1 << (_la - 224)) & ((1 << (HiveSql.T_REPLACE - 224)) | (1 << (HiveSql.T_RESIGNAL - 224)) | (1 << (HiveSql.T_RESTRICT - 224)) | (1 << (HiveSql.T_RESULT - 224)) | (1 << (HiveSql.T_RESULT_SET_LOCATOR - 224)) | (1 << (HiveSql.T_RETURN - 224)) | (1 << (HiveSql.T_RETURNS - 224)) | (1 << (HiveSql.T_REVERSE - 224)) | (1 << (HiveSql.T_RIGHT - 224)) | (1 << (HiveSql.T_RLIKE - 224)) | (1 << (HiveSql.T_ROLE - 224)) | (1 << (HiveSql.T_ROLLBACK - 224)) | (1 << (HiveSql.T_ROW - 224)) | (1 << (HiveSql.T_ROWS - 224)) | (1 << (HiveSql.T_ROW_COUNT - 224)) | (1 << (HiveSql.T_RR - 224)) | (1 << (HiveSql.T_RS - 224)) | (1 << (HiveSql.T_PWD - 224)) | (1 << (HiveSql.T_TRIM - 224)) | (1 << (HiveSql.T_SCHEMA - 224)) | (1 << (HiveSql.T_SECOND - 224)) | (1 << (HiveSql.T_SECONDS - 224)) | (1 << (HiveSql.T_SECURITY - 224)) | (1 << (HiveSql.T_SEGMENT - 224)) | (1 << (HiveSql.T_SEL - 224)) | (1 << (HiveSql.T_SELECT - 224)) | (1 << (HiveSql.T_SET - 224)) | (1 << (HiveSql.T_SESSION - 224)) | (1 << (HiveSql.T_SESSIONS - 224)) | (1 << (HiveSql.T_SETS - 224)) | (1 << (HiveSql.T_SHARE - 224)))) !== 0) || ((((_la - 256)) & ~0x1f) == 0 && ((1 << (_la - 256)) & ((1 << (HiveSql.T_SIGNAL - 256)) | (1 << (HiveSql.T_SIMPLE_DOUBLE - 256)) | (1 << (HiveSql.T_SIMPLE_FLOAT - 256)) | (1 << (HiveSql.T_SMALLDATETIME - 256)) | (1 << (HiveSql.T_SMALLINT - 256)) | (1 << (HiveSql.T_SQL - 256)) | (1 << (HiveSql.T_SQLEXCEPTION - 256)) | (1 << (HiveSql.T_SQLINSERT - 256)) | (1 << (HiveSql.T_SQLSTATE - 256)) | (1 << (HiveSql.T_SQLWARNING - 256)) | (1 << (HiveSql.T_STATS - 256)) | (1 << (HiveSql.T_STATISTICS - 256)) | (1 << (HiveSql.T_STEP - 256)) | (1 << (HiveSql.T_STORAGE - 256)) | (1 << (HiveSql.T_STORED - 256)) | (1 << (HiveSql.T_STRING - 256)) | (1 << (HiveSql.T_SUBDIR - 256)) | (1 << (HiveSql.T_SUBSTRING - 256)) | (1 << (HiveSql.T_SUM - 256)) | (1 << (HiveSql.T_SUMMARY - 256)) | (1 << (HiveSql.T_SYS_REFCURSOR - 256)) | (1 << (HiveSql.T_TABLE - 256)) | (1 << (HiveSql.T_TABLESPACE - 256)) | (1 << (HiveSql.T_TEMPORARY - 256)) | (1 << (HiveSql.T_TERMINATED - 256)) | (1 << (HiveSql.T_TEXTIMAGE_ON - 256)) | (1 << (HiveSql.T_THEN - 256)) | (1 << (HiveSql.T_TIMESTAMP - 256)) | (1 << (HiveSql.T_TITLE - 256)) | (1 << (HiveSql.T_TO - 256)))) !== 0) || ((((_la - 288)) & ~0x1f) == 0 && ((1 << (_la - 288)) & ((1 << (HiveSql.T_TOP - 288)) | (1 << (HiveSql.T_TRANSACTION - 288)) | (1 << (HiveSql.T_TRUE - 288)) | (1 << (HiveSql.T_TRUNCATE - 288)) | (1 << (HiveSql.T_UNIQUE - 288)) | (1 << (HiveSql.T_UPDATE - 288)) | (1 << (HiveSql.T_UR - 288)) | (1 << (HiveSql.T_USE - 288)) | (1 << (HiveSql.T_USING - 288)) | (1 << (HiveSql.T_VALUE - 288)) | (1 << (HiveSql.T_VALUES - 288)) | (1 << (HiveSql.T_VAR - 288)) | (1 << (HiveSql.T_VARCHAR - 288)) | (1 << (HiveSql.T_VARCHAR2 - 288)) | (1 << (HiveSql.T_VARYING - 288)) | (1 << (HiveSql.T_VOLATILE - 288)) | (1 << (HiveSql.T_WHILE - 288)) | (1 << (HiveSql.T_WITH - 288)) | (1 << (HiveSql.T_WITHOUT - 288)) | (1 << (HiveSql.T_WORK - 288)) | (1 << (HiveSql.T_XACT_ABORT - 288)) | (1 << (HiveSql.T_XML - 288)) | (1 << (HiveSql.T_YES - 288)) | (1 << (HiveSql.T_ACTIVITY_COUNT - 288)) | (1 << (HiveSql.T_CUME_DIST - 288)) | (1 << (HiveSql.T_CURRENT_DATE - 288)) | (1 << (HiveSql.T_CURRENT_TIMESTAMP - 288)) | (1 << (HiveSql.T_CURRENT_USER - 288)))) !== 0) || ((((_la - 320)) & ~0x1f) == 0 && ((1 << (_la - 320)) & ((1 << (HiveSql.T_DENSE_RANK - 320)) | (1 << (HiveSql.T_FIRST_VALUE - 320)) | (1 << (HiveSql.T_LAG - 320)) | (1 << (HiveSql.T_LAST_VALUE - 320)) | (1 << (HiveSql.T_LEAD - 320)) | (1 << (HiveSql.T_PART_COUNT - 320)) | (1 << (HiveSql.T_PART_LOC - 320)) | (1 << (HiveSql.T_RANK - 320)) | (1 << (HiveSql.T_ROW_NUMBER - 320)) | (1 << (HiveSql.T_STDEV - 320)) | (1 << (HiveSql.T_SYSDATE - 320)) | (1 << (HiveSql.T_VARIANCE - 320)) | (1 << (HiveSql.T_USER - 320)))) !== 0))) { this._errHandler.recoverInline(this); } else { @@ -37728,7 +37728,7 @@ HiveSqlParser.prototype.non_reserved_words = function() { }; -HiveSqlParser.prototype.sempred = function(localctx, ruleIndex, predIndex) { +HiveSql.prototype.sempred = function(localctx, ruleIndex, predIndex) { switch(ruleIndex) { case 4: return this.block_end_sempred(localctx, predIndex); @@ -37753,7 +37753,7 @@ HiveSqlParser.prototype.sempred = function(localctx, ruleIndex, predIndex) { } }; -HiveSqlParser.prototype.block_end_sempred = function(localctx, predIndex) { +HiveSql.prototype.block_end_sempred = function(localctx, predIndex) { switch(predIndex) { case 0: return !this._input.LT(2).text.toUpperCase() === "TRANSACTION"; @@ -37762,7 +37762,7 @@ HiveSqlParser.prototype.block_end_sempred = function(localctx, predIndex) { } }; -HiveSqlParser.prototype.expr_stmt_sempred = function(localctx, predIndex) { +HiveSql.prototype.expr_stmt_sempred = function(localctx, predIndex) { switch(predIndex) { case 1: return this._input.LT(1).text.toUpperCase() !== "GO"; @@ -37771,7 +37771,7 @@ HiveSqlParser.prototype.expr_stmt_sempred = function(localctx, predIndex) { } }; -HiveSqlParser.prototype.create_routine_params_sempred = function(localctx, predIndex) { +HiveSql.prototype.create_routine_params_sempred = function(localctx, predIndex) { switch(predIndex) { case 2: return this._input.LT(1).text.toUpperCase() !== "IS" && @@ -37783,7 +37783,7 @@ HiveSqlParser.prototype.create_routine_params_sempred = function(localctx, predI } }; -HiveSqlParser.prototype.select_list_alias_sempred = function(localctx, predIndex) { +HiveSql.prototype.select_list_alias_sempred = function(localctx, predIndex) { switch(predIndex) { case 3: return this._input.LT(1).text.toUpperCase() !== "INTO" && this._input.LT(1).text.toUpperCase() !== "FROM"; @@ -37792,7 +37792,7 @@ HiveSqlParser.prototype.select_list_alias_sempred = function(localctx, predIndex } }; -HiveSqlParser.prototype.from_alias_clause_sempred = function(localctx, predIndex) { +HiveSql.prototype.from_alias_clause_sempred = function(localctx, predIndex) { switch(predIndex) { case 4: return this._input.LT(1).text.toUpperCase() !== "EXEC" && @@ -37809,7 +37809,7 @@ HiveSqlParser.prototype.from_alias_clause_sempred = function(localctx, predIndex } }; -HiveSqlParser.prototype.delete_alias_sempred = function(localctx, predIndex) { +HiveSql.prototype.delete_alias_sempred = function(localctx, predIndex) { switch(predIndex) { case 5: return this._input.LT(1).text.toUpperCase() !== "ALL"; @@ -37818,7 +37818,7 @@ HiveSqlParser.prototype.delete_alias_sempred = function(localctx, predIndex) { } }; -HiveSqlParser.prototype.bool_expr_sempred = function(localctx, predIndex) { +HiveSql.prototype.bool_expr_sempred = function(localctx, predIndex) { switch(predIndex) { case 6: return this.precpred(this._ctx, 2); @@ -37827,7 +37827,7 @@ HiveSqlParser.prototype.bool_expr_sempred = function(localctx, predIndex) { } }; -HiveSqlParser.prototype.expr_sempred = function(localctx, predIndex) { +HiveSql.prototype.expr_sempred = function(localctx, predIndex) { switch(predIndex) { case 7: return this.precpred(this._ctx, 14); @@ -37844,7 +37844,7 @@ HiveSqlParser.prototype.expr_sempred = function(localctx, predIndex) { } }; -HiveSqlParser.prototype.func_param_sempred = function(localctx, predIndex) { +HiveSql.prototype.func_param_sempred = function(localctx, predIndex) { switch(predIndex) { case 12: return this._input.LT(1).text.toUpperCase() !== "INTO"; @@ -37854,4 +37854,4 @@ HiveSqlParser.prototype.func_param_sempred = function(localctx, predIndex) { }; -exports.HiveSqlParser = HiveSqlParser; +exports.HiveSql = HiveSql; diff --git a/src/lib/hive/HiveSqlParser.tokens b/src/lib/hive/HiveSql.tokens similarity index 100% rename from src/lib/hive/HiveSqlParser.tokens rename to src/lib/hive/HiveSql.tokens diff --git a/src/lib/hive/HiveSqlListener.js b/src/lib/hive/HiveSqlListener.js new file mode 100644 index 0000000..1fb948a --- /dev/null +++ b/src/lib/hive/HiveSqlListener.js @@ -0,0 +1,2058 @@ +// Generated from /Users/libowen/Desktop/Code/gitlab.prod.dtstack.cn/dt-insight-front/infrastructure/dt-sql-parser/src/grammar/hive/HiveSql.g4 by ANTLR 4.8 +// jshint ignore: start +var antlr4 = require('antlr4/index'); + +// This class defines a complete listener for a parse tree produced by HiveSql. +function HiveSqlListener() { + antlr4.tree.ParseTreeListener.call(this); + return this; +} + +HiveSqlListener.prototype = Object.create(antlr4.tree.ParseTreeListener.prototype); +HiveSqlListener.prototype.constructor = HiveSqlListener; + +// Enter a parse tree produced by HiveSql#program. +HiveSqlListener.prototype.enterProgram = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#program. +HiveSqlListener.prototype.exitProgram = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#block. +HiveSqlListener.prototype.enterBlock = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#block. +HiveSqlListener.prototype.exitBlock = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#begin_end_block. +HiveSqlListener.prototype.enterBegin_end_block = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#begin_end_block. +HiveSqlListener.prototype.exitBegin_end_block = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#single_block_stmt. +HiveSqlListener.prototype.enterSingle_block_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#single_block_stmt. +HiveSqlListener.prototype.exitSingle_block_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#block_end. +HiveSqlListener.prototype.enterBlock_end = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#block_end. +HiveSqlListener.prototype.exitBlock_end = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#proc_block. +HiveSqlListener.prototype.enterProc_block = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#proc_block. +HiveSqlListener.prototype.exitProc_block = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#stmt. +HiveSqlListener.prototype.enterStmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#stmt. +HiveSqlListener.prototype.exitStmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#semicolon_stmt. +HiveSqlListener.prototype.enterSemicolon_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#semicolon_stmt. +HiveSqlListener.prototype.exitSemicolon_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#exception_block. +HiveSqlListener.prototype.enterException_block = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#exception_block. +HiveSqlListener.prototype.exitException_block = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#exception_block_item. +HiveSqlListener.prototype.enterException_block_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#exception_block_item. +HiveSqlListener.prototype.exitException_block_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#null_stmt. +HiveSqlListener.prototype.enterNull_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#null_stmt. +HiveSqlListener.prototype.exitNull_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_stmt. +HiveSqlListener.prototype.enterExpr_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_stmt. +HiveSqlListener.prototype.exitExpr_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#assignment_stmt. +HiveSqlListener.prototype.enterAssignment_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#assignment_stmt. +HiveSqlListener.prototype.exitAssignment_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#assignment_stmt_item. +HiveSqlListener.prototype.enterAssignment_stmt_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#assignment_stmt_item. +HiveSqlListener.prototype.exitAssignment_stmt_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#assignment_stmt_single_item. +HiveSqlListener.prototype.enterAssignment_stmt_single_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#assignment_stmt_single_item. +HiveSqlListener.prototype.exitAssignment_stmt_single_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#assignment_stmt_multiple_item. +HiveSqlListener.prototype.enterAssignment_stmt_multiple_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#assignment_stmt_multiple_item. +HiveSqlListener.prototype.exitAssignment_stmt_multiple_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#assignment_stmt_select_item. +HiveSqlListener.prototype.enterAssignment_stmt_select_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#assignment_stmt_select_item. +HiveSqlListener.prototype.exitAssignment_stmt_select_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#allocate_cursor_stmt. +HiveSqlListener.prototype.enterAllocate_cursor_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#allocate_cursor_stmt. +HiveSqlListener.prototype.exitAllocate_cursor_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#associate_locator_stmt. +HiveSqlListener.prototype.enterAssociate_locator_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#associate_locator_stmt. +HiveSqlListener.prototype.exitAssociate_locator_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#begin_transaction_stmt. +HiveSqlListener.prototype.enterBegin_transaction_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#begin_transaction_stmt. +HiveSqlListener.prototype.exitBegin_transaction_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#break_stmt. +HiveSqlListener.prototype.enterBreak_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#break_stmt. +HiveSqlListener.prototype.exitBreak_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#call_stmt. +HiveSqlListener.prototype.enterCall_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#call_stmt. +HiveSqlListener.prototype.exitCall_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_stmt. +HiveSqlListener.prototype.enterDeclare_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_stmt. +HiveSqlListener.prototype.exitDeclare_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_block. +HiveSqlListener.prototype.enterDeclare_block = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_block. +HiveSqlListener.prototype.exitDeclare_block = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_block_inplace. +HiveSqlListener.prototype.enterDeclare_block_inplace = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_block_inplace. +HiveSqlListener.prototype.exitDeclare_block_inplace = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_stmt_item. +HiveSqlListener.prototype.enterDeclare_stmt_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_stmt_item. +HiveSqlListener.prototype.exitDeclare_stmt_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_var_item. +HiveSqlListener.prototype.enterDeclare_var_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_var_item. +HiveSqlListener.prototype.exitDeclare_var_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_condition_item. +HiveSqlListener.prototype.enterDeclare_condition_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_condition_item. +HiveSqlListener.prototype.exitDeclare_condition_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_cursor_item. +HiveSqlListener.prototype.enterDeclare_cursor_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_cursor_item. +HiveSqlListener.prototype.exitDeclare_cursor_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#cursor_with_return. +HiveSqlListener.prototype.enterCursor_with_return = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#cursor_with_return. +HiveSqlListener.prototype.exitCursor_with_return = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#cursor_without_return. +HiveSqlListener.prototype.enterCursor_without_return = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#cursor_without_return. +HiveSqlListener.prototype.exitCursor_without_return = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_handler_item. +HiveSqlListener.prototype.enterDeclare_handler_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_handler_item. +HiveSqlListener.prototype.exitDeclare_handler_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#declare_temporary_table_item. +HiveSqlListener.prototype.enterDeclare_temporary_table_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#declare_temporary_table_item. +HiveSqlListener.prototype.exitDeclare_temporary_table_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_stmt. +HiveSqlListener.prototype.enterCreate_table_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_stmt. +HiveSqlListener.prototype.exitCreate_table_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_local_temp_table_stmt. +HiveSqlListener.prototype.enterCreate_local_temp_table_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_local_temp_table_stmt. +HiveSqlListener.prototype.exitCreate_local_temp_table_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_definition. +HiveSqlListener.prototype.enterCreate_table_definition = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_definition. +HiveSqlListener.prototype.exitCreate_table_definition = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_columns. +HiveSqlListener.prototype.enterCreate_table_columns = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_columns. +HiveSqlListener.prototype.exitCreate_table_columns = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_columns_item. +HiveSqlListener.prototype.enterCreate_table_columns_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_columns_item. +HiveSqlListener.prototype.exitCreate_table_columns_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#column_name. +HiveSqlListener.prototype.enterColumn_name = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#column_name. +HiveSqlListener.prototype.exitColumn_name = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_column_inline_cons. +HiveSqlListener.prototype.enterCreate_table_column_inline_cons = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_column_inline_cons. +HiveSqlListener.prototype.exitCreate_table_column_inline_cons = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_column_cons. +HiveSqlListener.prototype.enterCreate_table_column_cons = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_column_cons. +HiveSqlListener.prototype.exitCreate_table_column_cons = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_fk_action. +HiveSqlListener.prototype.enterCreate_table_fk_action = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_fk_action. +HiveSqlListener.prototype.exitCreate_table_fk_action = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_preoptions. +HiveSqlListener.prototype.enterCreate_table_preoptions = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_preoptions. +HiveSqlListener.prototype.exitCreate_table_preoptions = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_preoptions_item. +HiveSqlListener.prototype.enterCreate_table_preoptions_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_preoptions_item. +HiveSqlListener.prototype.exitCreate_table_preoptions_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_preoptions_td_item. +HiveSqlListener.prototype.enterCreate_table_preoptions_td_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_preoptions_td_item. +HiveSqlListener.prototype.exitCreate_table_preoptions_td_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options. +HiveSqlListener.prototype.enterCreate_table_options = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options. +HiveSqlListener.prototype.exitCreate_table_options = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options_item. +HiveSqlListener.prototype.enterCreate_table_options_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options_item. +HiveSqlListener.prototype.exitCreate_table_options_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options_ora_item. +HiveSqlListener.prototype.enterCreate_table_options_ora_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options_ora_item. +HiveSqlListener.prototype.exitCreate_table_options_ora_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options_db2_item. +HiveSqlListener.prototype.enterCreate_table_options_db2_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options_db2_item. +HiveSqlListener.prototype.exitCreate_table_options_db2_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options_td_item. +HiveSqlListener.prototype.enterCreate_table_options_td_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options_td_item. +HiveSqlListener.prototype.exitCreate_table_options_td_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options_hive_item. +HiveSqlListener.prototype.enterCreate_table_options_hive_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options_hive_item. +HiveSqlListener.prototype.exitCreate_table_options_hive_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_hive_row_format. +HiveSqlListener.prototype.enterCreate_table_hive_row_format = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_hive_row_format. +HiveSqlListener.prototype.exitCreate_table_hive_row_format = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_hive_row_format_fields. +HiveSqlListener.prototype.enterCreate_table_hive_row_format_fields = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_hive_row_format_fields. +HiveSqlListener.prototype.exitCreate_table_hive_row_format_fields = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options_mssql_item. +HiveSqlListener.prototype.enterCreate_table_options_mssql_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options_mssql_item. +HiveSqlListener.prototype.exitCreate_table_options_mssql_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_table_options_mysql_item. +HiveSqlListener.prototype.enterCreate_table_options_mysql_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_table_options_mysql_item. +HiveSqlListener.prototype.exitCreate_table_options_mysql_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#alter_table_stmt. +HiveSqlListener.prototype.enterAlter_table_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#alter_table_stmt. +HiveSqlListener.prototype.exitAlter_table_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#alter_table_item. +HiveSqlListener.prototype.enterAlter_table_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#alter_table_item. +HiveSqlListener.prototype.exitAlter_table_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#alter_table_add_constraint. +HiveSqlListener.prototype.enterAlter_table_add_constraint = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#alter_table_add_constraint. +HiveSqlListener.prototype.exitAlter_table_add_constraint = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#alter_table_add_constraint_item. +HiveSqlListener.prototype.enterAlter_table_add_constraint_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#alter_table_add_constraint_item. +HiveSqlListener.prototype.exitAlter_table_add_constraint_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#dtype. +HiveSqlListener.prototype.enterDtype = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#dtype. +HiveSqlListener.prototype.exitDtype = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#dtype_len. +HiveSqlListener.prototype.enterDtype_len = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#dtype_len. +HiveSqlListener.prototype.exitDtype_len = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#dtype_attr. +HiveSqlListener.prototype.enterDtype_attr = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#dtype_attr. +HiveSqlListener.prototype.exitDtype_attr = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#dtype_default. +HiveSqlListener.prototype.enterDtype_default = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#dtype_default. +HiveSqlListener.prototype.exitDtype_default = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_database_stmt. +HiveSqlListener.prototype.enterCreate_database_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_database_stmt. +HiveSqlListener.prototype.exitCreate_database_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_database_option. +HiveSqlListener.prototype.enterCreate_database_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_database_option. +HiveSqlListener.prototype.exitCreate_database_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_function_stmt. +HiveSqlListener.prototype.enterCreate_function_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_function_stmt. +HiveSqlListener.prototype.exitCreate_function_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_function_return. +HiveSqlListener.prototype.enterCreate_function_return = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_function_return. +HiveSqlListener.prototype.exitCreate_function_return = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_package_stmt. +HiveSqlListener.prototype.enterCreate_package_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_package_stmt. +HiveSqlListener.prototype.exitCreate_package_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#package_spec. +HiveSqlListener.prototype.enterPackage_spec = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#package_spec. +HiveSqlListener.prototype.exitPackage_spec = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#package_spec_item. +HiveSqlListener.prototype.enterPackage_spec_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#package_spec_item. +HiveSqlListener.prototype.exitPackage_spec_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_package_body_stmt. +HiveSqlListener.prototype.enterCreate_package_body_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_package_body_stmt. +HiveSqlListener.prototype.exitCreate_package_body_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#package_body. +HiveSqlListener.prototype.enterPackage_body = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#package_body. +HiveSqlListener.prototype.exitPackage_body = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#package_body_item. +HiveSqlListener.prototype.enterPackage_body_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#package_body_item. +HiveSqlListener.prototype.exitPackage_body_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_procedure_stmt. +HiveSqlListener.prototype.enterCreate_procedure_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_procedure_stmt. +HiveSqlListener.prototype.exitCreate_procedure_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_routine_params. +HiveSqlListener.prototype.enterCreate_routine_params = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_routine_params. +HiveSqlListener.prototype.exitCreate_routine_params = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_routine_param_item. +HiveSqlListener.prototype.enterCreate_routine_param_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_routine_param_item. +HiveSqlListener.prototype.exitCreate_routine_param_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_routine_options. +HiveSqlListener.prototype.enterCreate_routine_options = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_routine_options. +HiveSqlListener.prototype.exitCreate_routine_options = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_routine_option. +HiveSqlListener.prototype.enterCreate_routine_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_routine_option. +HiveSqlListener.prototype.exitCreate_routine_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#drop_stmt. +HiveSqlListener.prototype.enterDrop_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#drop_stmt. +HiveSqlListener.prototype.exitDrop_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#end_transaction_stmt. +HiveSqlListener.prototype.enterEnd_transaction_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#end_transaction_stmt. +HiveSqlListener.prototype.exitEnd_transaction_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#exec_stmt. +HiveSqlListener.prototype.enterExec_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#exec_stmt. +HiveSqlListener.prototype.exitExec_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#if_stmt. +HiveSqlListener.prototype.enterIf_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#if_stmt. +HiveSqlListener.prototype.exitIf_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#if_plsql_stmt. +HiveSqlListener.prototype.enterIf_plsql_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#if_plsql_stmt. +HiveSqlListener.prototype.exitIf_plsql_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#if_tsql_stmt. +HiveSqlListener.prototype.enterIf_tsql_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#if_tsql_stmt. +HiveSqlListener.prototype.exitIf_tsql_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#if_bteq_stmt. +HiveSqlListener.prototype.enterIf_bteq_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#if_bteq_stmt. +HiveSqlListener.prototype.exitIf_bteq_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#elseif_block. +HiveSqlListener.prototype.enterElseif_block = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#elseif_block. +HiveSqlListener.prototype.exitElseif_block = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#else_block. +HiveSqlListener.prototype.enterElse_block = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#else_block. +HiveSqlListener.prototype.exitElse_block = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#include_stmt. +HiveSqlListener.prototype.enterInclude_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#include_stmt. +HiveSqlListener.prototype.exitInclude_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#insert_stmt. +HiveSqlListener.prototype.enterInsert_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#insert_stmt. +HiveSqlListener.prototype.exitInsert_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#insert_stmt_cols. +HiveSqlListener.prototype.enterInsert_stmt_cols = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#insert_stmt_cols. +HiveSqlListener.prototype.exitInsert_stmt_cols = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#insert_stmt_rows. +HiveSqlListener.prototype.enterInsert_stmt_rows = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#insert_stmt_rows. +HiveSqlListener.prototype.exitInsert_stmt_rows = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#insert_stmt_row. +HiveSqlListener.prototype.enterInsert_stmt_row = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#insert_stmt_row. +HiveSqlListener.prototype.exitInsert_stmt_row = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#insert_directory_stmt. +HiveSqlListener.prototype.enterInsert_directory_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#insert_directory_stmt. +HiveSqlListener.prototype.exitInsert_directory_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#exit_stmt. +HiveSqlListener.prototype.enterExit_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#exit_stmt. +HiveSqlListener.prototype.exitExit_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#get_diag_stmt. +HiveSqlListener.prototype.enterGet_diag_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#get_diag_stmt. +HiveSqlListener.prototype.exitGet_diag_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#get_diag_stmt_item. +HiveSqlListener.prototype.enterGet_diag_stmt_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#get_diag_stmt_item. +HiveSqlListener.prototype.exitGet_diag_stmt_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#get_diag_stmt_exception_item. +HiveSqlListener.prototype.enterGet_diag_stmt_exception_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#get_diag_stmt_exception_item. +HiveSqlListener.prototype.exitGet_diag_stmt_exception_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#get_diag_stmt_rowcount_item. +HiveSqlListener.prototype.enterGet_diag_stmt_rowcount_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#get_diag_stmt_rowcount_item. +HiveSqlListener.prototype.exitGet_diag_stmt_rowcount_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#grant_stmt. +HiveSqlListener.prototype.enterGrant_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#grant_stmt. +HiveSqlListener.prototype.exitGrant_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#grant_stmt_item. +HiveSqlListener.prototype.enterGrant_stmt_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#grant_stmt_item. +HiveSqlListener.prototype.exitGrant_stmt_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#leave_stmt. +HiveSqlListener.prototype.enterLeave_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#leave_stmt. +HiveSqlListener.prototype.exitLeave_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#map_object_stmt. +HiveSqlListener.prototype.enterMap_object_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#map_object_stmt. +HiveSqlListener.prototype.exitMap_object_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#open_stmt. +HiveSqlListener.prototype.enterOpen_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#open_stmt. +HiveSqlListener.prototype.exitOpen_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#fetch_stmt. +HiveSqlListener.prototype.enterFetch_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#fetch_stmt. +HiveSqlListener.prototype.exitFetch_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#collect_stats_stmt. +HiveSqlListener.prototype.enterCollect_stats_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#collect_stats_stmt. +HiveSqlListener.prototype.exitCollect_stats_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#collect_stats_clause. +HiveSqlListener.prototype.enterCollect_stats_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#collect_stats_clause. +HiveSqlListener.prototype.exitCollect_stats_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#close_stmt. +HiveSqlListener.prototype.enterClose_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#close_stmt. +HiveSqlListener.prototype.exitClose_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#cmp_stmt. +HiveSqlListener.prototype.enterCmp_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#cmp_stmt. +HiveSqlListener.prototype.exitCmp_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#cmp_source. +HiveSqlListener.prototype.enterCmp_source = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#cmp_source. +HiveSqlListener.prototype.exitCmp_source = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#copy_from_local_stmt. +HiveSqlListener.prototype.enterCopy_from_local_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#copy_from_local_stmt. +HiveSqlListener.prototype.exitCopy_from_local_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#copy_stmt. +HiveSqlListener.prototype.enterCopy_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#copy_stmt. +HiveSqlListener.prototype.exitCopy_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#copy_source. +HiveSqlListener.prototype.enterCopy_source = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#copy_source. +HiveSqlListener.prototype.exitCopy_source = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#copy_target. +HiveSqlListener.prototype.enterCopy_target = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#copy_target. +HiveSqlListener.prototype.exitCopy_target = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#copy_option. +HiveSqlListener.prototype.enterCopy_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#copy_option. +HiveSqlListener.prototype.exitCopy_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#copy_file_option. +HiveSqlListener.prototype.enterCopy_file_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#copy_file_option. +HiveSqlListener.prototype.exitCopy_file_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#commit_stmt. +HiveSqlListener.prototype.enterCommit_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#commit_stmt. +HiveSqlListener.prototype.exitCommit_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_index_stmt. +HiveSqlListener.prototype.enterCreate_index_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_index_stmt. +HiveSqlListener.prototype.exitCreate_index_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#create_index_col. +HiveSqlListener.prototype.enterCreate_index_col = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#create_index_col. +HiveSqlListener.prototype.exitCreate_index_col = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#index_storage_clause. +HiveSqlListener.prototype.enterIndex_storage_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#index_storage_clause. +HiveSqlListener.prototype.exitIndex_storage_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#index_mssql_storage_clause. +HiveSqlListener.prototype.enterIndex_mssql_storage_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#index_mssql_storage_clause. +HiveSqlListener.prototype.exitIndex_mssql_storage_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#print_stmt. +HiveSqlListener.prototype.enterPrint_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#print_stmt. +HiveSqlListener.prototype.exitPrint_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#quit_stmt. +HiveSqlListener.prototype.enterQuit_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#quit_stmt. +HiveSqlListener.prototype.exitQuit_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#raise_stmt. +HiveSqlListener.prototype.enterRaise_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#raise_stmt. +HiveSqlListener.prototype.exitRaise_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#resignal_stmt. +HiveSqlListener.prototype.enterResignal_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#resignal_stmt. +HiveSqlListener.prototype.exitResignal_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#return_stmt. +HiveSqlListener.prototype.enterReturn_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#return_stmt. +HiveSqlListener.prototype.exitReturn_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#rollback_stmt. +HiveSqlListener.prototype.enterRollback_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#rollback_stmt. +HiveSqlListener.prototype.exitRollback_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#set_session_option. +HiveSqlListener.prototype.enterSet_session_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#set_session_option. +HiveSqlListener.prototype.exitSet_session_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#set_current_schema_option. +HiveSqlListener.prototype.enterSet_current_schema_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#set_current_schema_option. +HiveSqlListener.prototype.exitSet_current_schema_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#set_mssql_session_option. +HiveSqlListener.prototype.enterSet_mssql_session_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#set_mssql_session_option. +HiveSqlListener.prototype.exitSet_mssql_session_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#set_teradata_session_option. +HiveSqlListener.prototype.enterSet_teradata_session_option = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#set_teradata_session_option. +HiveSqlListener.prototype.exitSet_teradata_session_option = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#signal_stmt. +HiveSqlListener.prototype.enterSignal_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#signal_stmt. +HiveSqlListener.prototype.exitSignal_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#summary_stmt. +HiveSqlListener.prototype.enterSummary_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#summary_stmt. +HiveSqlListener.prototype.exitSummary_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#truncate_stmt. +HiveSqlListener.prototype.enterTruncate_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#truncate_stmt. +HiveSqlListener.prototype.exitTruncate_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#use_stmt. +HiveSqlListener.prototype.enterUse_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#use_stmt. +HiveSqlListener.prototype.exitUse_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#values_into_stmt. +HiveSqlListener.prototype.enterValues_into_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#values_into_stmt. +HiveSqlListener.prototype.exitValues_into_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#while_stmt. +HiveSqlListener.prototype.enterWhile_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#while_stmt. +HiveSqlListener.prototype.exitWhile_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#for_cursor_stmt. +HiveSqlListener.prototype.enterFor_cursor_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#for_cursor_stmt. +HiveSqlListener.prototype.exitFor_cursor_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#for_range_stmt. +HiveSqlListener.prototype.enterFor_range_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#for_range_stmt. +HiveSqlListener.prototype.exitFor_range_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#label. +HiveSqlListener.prototype.enterLabel = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#label. +HiveSqlListener.prototype.exitLabel = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#using_clause. +HiveSqlListener.prototype.enterUsing_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#using_clause. +HiveSqlListener.prototype.exitUsing_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_stmt. +HiveSqlListener.prototype.enterSelect_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_stmt. +HiveSqlListener.prototype.exitSelect_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#cte_select_stmt. +HiveSqlListener.prototype.enterCte_select_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#cte_select_stmt. +HiveSqlListener.prototype.exitCte_select_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#cte_select_stmt_item. +HiveSqlListener.prototype.enterCte_select_stmt_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#cte_select_stmt_item. +HiveSqlListener.prototype.exitCte_select_stmt_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#cte_select_cols. +HiveSqlListener.prototype.enterCte_select_cols = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#cte_select_cols. +HiveSqlListener.prototype.exitCte_select_cols = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#fullselect_stmt. +HiveSqlListener.prototype.enterFullselect_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#fullselect_stmt. +HiveSqlListener.prototype.exitFullselect_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#fullselect_stmt_item. +HiveSqlListener.prototype.enterFullselect_stmt_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#fullselect_stmt_item. +HiveSqlListener.prototype.exitFullselect_stmt_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#fullselect_set_clause. +HiveSqlListener.prototype.enterFullselect_set_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#fullselect_set_clause. +HiveSqlListener.prototype.exitFullselect_set_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#subselect_stmt. +HiveSqlListener.prototype.enterSubselect_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#subselect_stmt. +HiveSqlListener.prototype.exitSubselect_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_list. +HiveSqlListener.prototype.enterSelect_list = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_list. +HiveSqlListener.prototype.exitSelect_list = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_list_set. +HiveSqlListener.prototype.enterSelect_list_set = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_list_set. +HiveSqlListener.prototype.exitSelect_list_set = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_list_limit. +HiveSqlListener.prototype.enterSelect_list_limit = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_list_limit. +HiveSqlListener.prototype.exitSelect_list_limit = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_list_item. +HiveSqlListener.prototype.enterSelect_list_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_list_item. +HiveSqlListener.prototype.exitSelect_list_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_list_alias. +HiveSqlListener.prototype.enterSelect_list_alias = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_list_alias. +HiveSqlListener.prototype.exitSelect_list_alias = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_list_asterisk. +HiveSqlListener.prototype.enterSelect_list_asterisk = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_list_asterisk. +HiveSqlListener.prototype.exitSelect_list_asterisk = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#into_clause. +HiveSqlListener.prototype.enterInto_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#into_clause. +HiveSqlListener.prototype.exitInto_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_clause. +HiveSqlListener.prototype.enterFrom_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_clause. +HiveSqlListener.prototype.exitFrom_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_table_clause. +HiveSqlListener.prototype.enterFrom_table_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_table_clause. +HiveSqlListener.prototype.exitFrom_table_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_table_name_clause. +HiveSqlListener.prototype.enterFrom_table_name_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_table_name_clause. +HiveSqlListener.prototype.exitFrom_table_name_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_subselect_clause. +HiveSqlListener.prototype.enterFrom_subselect_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_subselect_clause. +HiveSqlListener.prototype.exitFrom_subselect_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_join_clause. +HiveSqlListener.prototype.enterFrom_join_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_join_clause. +HiveSqlListener.prototype.exitFrom_join_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_join_type_clause. +HiveSqlListener.prototype.enterFrom_join_type_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_join_type_clause. +HiveSqlListener.prototype.exitFrom_join_type_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_table_values_clause. +HiveSqlListener.prototype.enterFrom_table_values_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_table_values_clause. +HiveSqlListener.prototype.exitFrom_table_values_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_table_values_row. +HiveSqlListener.prototype.enterFrom_table_values_row = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_table_values_row. +HiveSqlListener.prototype.exitFrom_table_values_row = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#from_alias_clause. +HiveSqlListener.prototype.enterFrom_alias_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#from_alias_clause. +HiveSqlListener.prototype.exitFrom_alias_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#table_name. +HiveSqlListener.prototype.enterTable_name = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#table_name. +HiveSqlListener.prototype.exitTable_name = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#where_clause. +HiveSqlListener.prototype.enterWhere_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#where_clause. +HiveSqlListener.prototype.exitWhere_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#group_by_clause. +HiveSqlListener.prototype.enterGroup_by_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#group_by_clause. +HiveSqlListener.prototype.exitGroup_by_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#having_clause. +HiveSqlListener.prototype.enterHaving_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#having_clause. +HiveSqlListener.prototype.exitHaving_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#qualify_clause. +HiveSqlListener.prototype.enterQualify_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#qualify_clause. +HiveSqlListener.prototype.exitQualify_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#order_by_clause. +HiveSqlListener.prototype.enterOrder_by_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#order_by_clause. +HiveSqlListener.prototype.exitOrder_by_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_options. +HiveSqlListener.prototype.enterSelect_options = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_options. +HiveSqlListener.prototype.exitSelect_options = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#select_options_item. +HiveSqlListener.prototype.enterSelect_options_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#select_options_item. +HiveSqlListener.prototype.exitSelect_options_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#update_stmt. +HiveSqlListener.prototype.enterUpdate_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#update_stmt. +HiveSqlListener.prototype.exitUpdate_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#update_assignment. +HiveSqlListener.prototype.enterUpdate_assignment = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#update_assignment. +HiveSqlListener.prototype.exitUpdate_assignment = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#update_table. +HiveSqlListener.prototype.enterUpdate_table = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#update_table. +HiveSqlListener.prototype.exitUpdate_table = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#update_upsert. +HiveSqlListener.prototype.enterUpdate_upsert = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#update_upsert. +HiveSqlListener.prototype.exitUpdate_upsert = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#merge_stmt. +HiveSqlListener.prototype.enterMerge_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#merge_stmt. +HiveSqlListener.prototype.exitMerge_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#merge_table. +HiveSqlListener.prototype.enterMerge_table = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#merge_table. +HiveSqlListener.prototype.exitMerge_table = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#merge_condition. +HiveSqlListener.prototype.enterMerge_condition = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#merge_condition. +HiveSqlListener.prototype.exitMerge_condition = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#merge_action. +HiveSqlListener.prototype.enterMerge_action = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#merge_action. +HiveSqlListener.prototype.exitMerge_action = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#delete_stmt. +HiveSqlListener.prototype.enterDelete_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#delete_stmt. +HiveSqlListener.prototype.exitDelete_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#delete_alias. +HiveSqlListener.prototype.enterDelete_alias = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#delete_alias. +HiveSqlListener.prototype.exitDelete_alias = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#describe_stmt. +HiveSqlListener.prototype.enterDescribe_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#describe_stmt. +HiveSqlListener.prototype.exitDescribe_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr. +HiveSqlListener.prototype.enterBool_expr = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr. +HiveSqlListener.prototype.exitBool_expr = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr_atom. +HiveSqlListener.prototype.enterBool_expr_atom = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr_atom. +HiveSqlListener.prototype.exitBool_expr_atom = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr_unary. +HiveSqlListener.prototype.enterBool_expr_unary = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr_unary. +HiveSqlListener.prototype.exitBool_expr_unary = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr_single_in. +HiveSqlListener.prototype.enterBool_expr_single_in = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr_single_in. +HiveSqlListener.prototype.exitBool_expr_single_in = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr_multi_in. +HiveSqlListener.prototype.enterBool_expr_multi_in = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr_multi_in. +HiveSqlListener.prototype.exitBool_expr_multi_in = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr_binary. +HiveSqlListener.prototype.enterBool_expr_binary = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr_binary. +HiveSqlListener.prototype.exitBool_expr_binary = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr_logical_operator. +HiveSqlListener.prototype.enterBool_expr_logical_operator = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr_logical_operator. +HiveSqlListener.prototype.exitBool_expr_logical_operator = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_expr_binary_operator. +HiveSqlListener.prototype.enterBool_expr_binary_operator = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_expr_binary_operator. +HiveSqlListener.prototype.exitBool_expr_binary_operator = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr. +HiveSqlListener.prototype.enterExpr = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr. +HiveSqlListener.prototype.exitExpr = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_atom. +HiveSqlListener.prototype.enterExpr_atom = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_atom. +HiveSqlListener.prototype.exitExpr_atom = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_interval. +HiveSqlListener.prototype.enterExpr_interval = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_interval. +HiveSqlListener.prototype.exitExpr_interval = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#interval_item. +HiveSqlListener.prototype.enterInterval_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#interval_item. +HiveSqlListener.prototype.exitInterval_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_concat. +HiveSqlListener.prototype.enterExpr_concat = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_concat. +HiveSqlListener.prototype.exitExpr_concat = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_concat_item. +HiveSqlListener.prototype.enterExpr_concat_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_concat_item. +HiveSqlListener.prototype.exitExpr_concat_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_case. +HiveSqlListener.prototype.enterExpr_case = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_case. +HiveSqlListener.prototype.exitExpr_case = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_case_simple. +HiveSqlListener.prototype.enterExpr_case_simple = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_case_simple. +HiveSqlListener.prototype.exitExpr_case_simple = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_case_searched. +HiveSqlListener.prototype.enterExpr_case_searched = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_case_searched. +HiveSqlListener.prototype.exitExpr_case_searched = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_cursor_attribute. +HiveSqlListener.prototype.enterExpr_cursor_attribute = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_cursor_attribute. +HiveSqlListener.prototype.exitExpr_cursor_attribute = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_agg_window_func. +HiveSqlListener.prototype.enterExpr_agg_window_func = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_agg_window_func. +HiveSqlListener.prototype.exitExpr_agg_window_func = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_func_all_distinct. +HiveSqlListener.prototype.enterExpr_func_all_distinct = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_func_all_distinct. +HiveSqlListener.prototype.exitExpr_func_all_distinct = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_func_over_clause. +HiveSqlListener.prototype.enterExpr_func_over_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_func_over_clause. +HiveSqlListener.prototype.exitExpr_func_over_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_func_partition_by_clause. +HiveSqlListener.prototype.enterExpr_func_partition_by_clause = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_func_partition_by_clause. +HiveSqlListener.prototype.exitExpr_func_partition_by_clause = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_spec_func. +HiveSqlListener.prototype.enterExpr_spec_func = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_spec_func. +HiveSqlListener.prototype.exitExpr_spec_func = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_func. +HiveSqlListener.prototype.enterExpr_func = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_func. +HiveSqlListener.prototype.exitExpr_func = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_func_params. +HiveSqlListener.prototype.enterExpr_func_params = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_func_params. +HiveSqlListener.prototype.exitExpr_func_params = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#func_param. +HiveSqlListener.prototype.enterFunc_param = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#func_param. +HiveSqlListener.prototype.exitFunc_param = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_select. +HiveSqlListener.prototype.enterExpr_select = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_select. +HiveSqlListener.prototype.exitExpr_select = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#expr_file. +HiveSqlListener.prototype.enterExpr_file = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#expr_file. +HiveSqlListener.prototype.exitExpr_file = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#hive. +HiveSqlListener.prototype.enterHive = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#hive. +HiveSqlListener.prototype.exitHive = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#hive_item. +HiveSqlListener.prototype.enterHive_item = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#hive_item. +HiveSqlListener.prototype.exitHive_item = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#host. +HiveSqlListener.prototype.enterHost = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#host. +HiveSqlListener.prototype.exitHost = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#host_cmd. +HiveSqlListener.prototype.enterHost_cmd = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#host_cmd. +HiveSqlListener.prototype.exitHost_cmd = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#host_stmt. +HiveSqlListener.prototype.enterHost_stmt = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#host_stmt. +HiveSqlListener.prototype.exitHost_stmt = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#file_name. +HiveSqlListener.prototype.enterFile_name = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#file_name. +HiveSqlListener.prototype.exitFile_name = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#date_literal. +HiveSqlListener.prototype.enterDate_literal = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#date_literal. +HiveSqlListener.prototype.exitDate_literal = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#timestamp_literal. +HiveSqlListener.prototype.enterTimestamp_literal = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#timestamp_literal. +HiveSqlListener.prototype.exitTimestamp_literal = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#ident. +HiveSqlListener.prototype.enterIdent = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#ident. +HiveSqlListener.prototype.exitIdent = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#single_quotedString. +HiveSqlListener.prototype.enterSingle_quotedString = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#single_quotedString. +HiveSqlListener.prototype.exitSingle_quotedString = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#double_quotedString. +HiveSqlListener.prototype.enterDouble_quotedString = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#double_quotedString. +HiveSqlListener.prototype.exitDouble_quotedString = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#int_number. +HiveSqlListener.prototype.enterInt_number = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#int_number. +HiveSqlListener.prototype.exitInt_number = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#dec_number. +HiveSqlListener.prototype.enterDec_number = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#dec_number. +HiveSqlListener.prototype.exitDec_number = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#bool_literal. +HiveSqlListener.prototype.enterBool_literal = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#bool_literal. +HiveSqlListener.prototype.exitBool_literal = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#null_const. +HiveSqlListener.prototype.enterNull_const = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#null_const. +HiveSqlListener.prototype.exitNull_const = function(ctx) { +}; + + +// Enter a parse tree produced by HiveSql#non_reserved_words. +HiveSqlListener.prototype.enterNon_reserved_words = function(ctx) { +}; + +// Exit a parse tree produced by HiveSql#non_reserved_words. +HiveSqlListener.prototype.exitNon_reserved_words = function(ctx) { +}; + + + +exports.HiveSqlListener = HiveSqlListener; \ No newline at end of file diff --git a/src/lib/hive/HiveSqlParserListener.js b/src/lib/hive/HiveSqlParserListener.js deleted file mode 100644 index 5395ab0..0000000 --- a/src/lib/hive/HiveSqlParserListener.js +++ /dev/null @@ -1,2058 +0,0 @@ -// Generated from /Users/libowen/Desktop/Code/gitlab.prod.dtstack.cn/dt-insight-front/infrastructure/dt-sql-parser/src/grammar/hive/HiveSqlParser.g4 by ANTLR 4.8 -// jshint ignore: start -var antlr4 = require('antlr4/index'); - -// This class defines a complete listener for a parse tree produced by HiveSqlParser. -function HiveSqlParserListener() { - antlr4.tree.ParseTreeListener.call(this); - return this; -} - -HiveSqlParserListener.prototype = Object.create(antlr4.tree.ParseTreeListener.prototype); -HiveSqlParserListener.prototype.constructor = HiveSqlParserListener; - -// Enter a parse tree produced by HiveSqlParser#program. -HiveSqlParserListener.prototype.enterProgram = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#program. -HiveSqlParserListener.prototype.exitProgram = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#block. -HiveSqlParserListener.prototype.enterBlock = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#block. -HiveSqlParserListener.prototype.exitBlock = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#begin_end_block. -HiveSqlParserListener.prototype.enterBegin_end_block = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#begin_end_block. -HiveSqlParserListener.prototype.exitBegin_end_block = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#single_block_stmt. -HiveSqlParserListener.prototype.enterSingle_block_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#single_block_stmt. -HiveSqlParserListener.prototype.exitSingle_block_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#block_end. -HiveSqlParserListener.prototype.enterBlock_end = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#block_end. -HiveSqlParserListener.prototype.exitBlock_end = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#proc_block. -HiveSqlParserListener.prototype.enterProc_block = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#proc_block. -HiveSqlParserListener.prototype.exitProc_block = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#stmt. -HiveSqlParserListener.prototype.enterStmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#stmt. -HiveSqlParserListener.prototype.exitStmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#semicolon_stmt. -HiveSqlParserListener.prototype.enterSemicolon_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#semicolon_stmt. -HiveSqlParserListener.prototype.exitSemicolon_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#exception_block. -HiveSqlParserListener.prototype.enterException_block = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#exception_block. -HiveSqlParserListener.prototype.exitException_block = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#exception_block_item. -HiveSqlParserListener.prototype.enterException_block_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#exception_block_item. -HiveSqlParserListener.prototype.exitException_block_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#null_stmt. -HiveSqlParserListener.prototype.enterNull_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#null_stmt. -HiveSqlParserListener.prototype.exitNull_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_stmt. -HiveSqlParserListener.prototype.enterExpr_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_stmt. -HiveSqlParserListener.prototype.exitExpr_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#assignment_stmt. -HiveSqlParserListener.prototype.enterAssignment_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#assignment_stmt. -HiveSqlParserListener.prototype.exitAssignment_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#assignment_stmt_item. -HiveSqlParserListener.prototype.enterAssignment_stmt_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#assignment_stmt_item. -HiveSqlParserListener.prototype.exitAssignment_stmt_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#assignment_stmt_single_item. -HiveSqlParserListener.prototype.enterAssignment_stmt_single_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#assignment_stmt_single_item. -HiveSqlParserListener.prototype.exitAssignment_stmt_single_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#assignment_stmt_multiple_item. -HiveSqlParserListener.prototype.enterAssignment_stmt_multiple_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#assignment_stmt_multiple_item. -HiveSqlParserListener.prototype.exitAssignment_stmt_multiple_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#assignment_stmt_select_item. -HiveSqlParserListener.prototype.enterAssignment_stmt_select_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#assignment_stmt_select_item. -HiveSqlParserListener.prototype.exitAssignment_stmt_select_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#allocate_cursor_stmt. -HiveSqlParserListener.prototype.enterAllocate_cursor_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#allocate_cursor_stmt. -HiveSqlParserListener.prototype.exitAllocate_cursor_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#associate_locator_stmt. -HiveSqlParserListener.prototype.enterAssociate_locator_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#associate_locator_stmt. -HiveSqlParserListener.prototype.exitAssociate_locator_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#begin_transaction_stmt. -HiveSqlParserListener.prototype.enterBegin_transaction_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#begin_transaction_stmt. -HiveSqlParserListener.prototype.exitBegin_transaction_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#break_stmt. -HiveSqlParserListener.prototype.enterBreak_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#break_stmt. -HiveSqlParserListener.prototype.exitBreak_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#call_stmt. -HiveSqlParserListener.prototype.enterCall_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#call_stmt. -HiveSqlParserListener.prototype.exitCall_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_stmt. -HiveSqlParserListener.prototype.enterDeclare_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_stmt. -HiveSqlParserListener.prototype.exitDeclare_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_block. -HiveSqlParserListener.prototype.enterDeclare_block = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_block. -HiveSqlParserListener.prototype.exitDeclare_block = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_block_inplace. -HiveSqlParserListener.prototype.enterDeclare_block_inplace = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_block_inplace. -HiveSqlParserListener.prototype.exitDeclare_block_inplace = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_stmt_item. -HiveSqlParserListener.prototype.enterDeclare_stmt_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_stmt_item. -HiveSqlParserListener.prototype.exitDeclare_stmt_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_var_item. -HiveSqlParserListener.prototype.enterDeclare_var_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_var_item. -HiveSqlParserListener.prototype.exitDeclare_var_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_condition_item. -HiveSqlParserListener.prototype.enterDeclare_condition_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_condition_item. -HiveSqlParserListener.prototype.exitDeclare_condition_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_cursor_item. -HiveSqlParserListener.prototype.enterDeclare_cursor_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_cursor_item. -HiveSqlParserListener.prototype.exitDeclare_cursor_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#cursor_with_return. -HiveSqlParserListener.prototype.enterCursor_with_return = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#cursor_with_return. -HiveSqlParserListener.prototype.exitCursor_with_return = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#cursor_without_return. -HiveSqlParserListener.prototype.enterCursor_without_return = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#cursor_without_return. -HiveSqlParserListener.prototype.exitCursor_without_return = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_handler_item. -HiveSqlParserListener.prototype.enterDeclare_handler_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_handler_item. -HiveSqlParserListener.prototype.exitDeclare_handler_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#declare_temporary_table_item. -HiveSqlParserListener.prototype.enterDeclare_temporary_table_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#declare_temporary_table_item. -HiveSqlParserListener.prototype.exitDeclare_temporary_table_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_stmt. -HiveSqlParserListener.prototype.enterCreate_table_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_stmt. -HiveSqlParserListener.prototype.exitCreate_table_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_local_temp_table_stmt. -HiveSqlParserListener.prototype.enterCreate_local_temp_table_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_local_temp_table_stmt. -HiveSqlParserListener.prototype.exitCreate_local_temp_table_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_definition. -HiveSqlParserListener.prototype.enterCreate_table_definition = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_definition. -HiveSqlParserListener.prototype.exitCreate_table_definition = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_columns. -HiveSqlParserListener.prototype.enterCreate_table_columns = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_columns. -HiveSqlParserListener.prototype.exitCreate_table_columns = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_columns_item. -HiveSqlParserListener.prototype.enterCreate_table_columns_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_columns_item. -HiveSqlParserListener.prototype.exitCreate_table_columns_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#column_name. -HiveSqlParserListener.prototype.enterColumn_name = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#column_name. -HiveSqlParserListener.prototype.exitColumn_name = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_column_inline_cons. -HiveSqlParserListener.prototype.enterCreate_table_column_inline_cons = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_column_inline_cons. -HiveSqlParserListener.prototype.exitCreate_table_column_inline_cons = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_column_cons. -HiveSqlParserListener.prototype.enterCreate_table_column_cons = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_column_cons. -HiveSqlParserListener.prototype.exitCreate_table_column_cons = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_fk_action. -HiveSqlParserListener.prototype.enterCreate_table_fk_action = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_fk_action. -HiveSqlParserListener.prototype.exitCreate_table_fk_action = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_preoptions. -HiveSqlParserListener.prototype.enterCreate_table_preoptions = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_preoptions. -HiveSqlParserListener.prototype.exitCreate_table_preoptions = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_preoptions_item. -HiveSqlParserListener.prototype.enterCreate_table_preoptions_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_preoptions_item. -HiveSqlParserListener.prototype.exitCreate_table_preoptions_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_preoptions_td_item. -HiveSqlParserListener.prototype.enterCreate_table_preoptions_td_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_preoptions_td_item. -HiveSqlParserListener.prototype.exitCreate_table_preoptions_td_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options. -HiveSqlParserListener.prototype.enterCreate_table_options = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options. -HiveSqlParserListener.prototype.exitCreate_table_options = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options_item. -HiveSqlParserListener.prototype.enterCreate_table_options_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options_item. -HiveSqlParserListener.prototype.exitCreate_table_options_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options_ora_item. -HiveSqlParserListener.prototype.enterCreate_table_options_ora_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options_ora_item. -HiveSqlParserListener.prototype.exitCreate_table_options_ora_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options_db2_item. -HiveSqlParserListener.prototype.enterCreate_table_options_db2_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options_db2_item. -HiveSqlParserListener.prototype.exitCreate_table_options_db2_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options_td_item. -HiveSqlParserListener.prototype.enterCreate_table_options_td_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options_td_item. -HiveSqlParserListener.prototype.exitCreate_table_options_td_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options_hive_item. -HiveSqlParserListener.prototype.enterCreate_table_options_hive_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options_hive_item. -HiveSqlParserListener.prototype.exitCreate_table_options_hive_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_hive_row_format. -HiveSqlParserListener.prototype.enterCreate_table_hive_row_format = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_hive_row_format. -HiveSqlParserListener.prototype.exitCreate_table_hive_row_format = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_hive_row_format_fields. -HiveSqlParserListener.prototype.enterCreate_table_hive_row_format_fields = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_hive_row_format_fields. -HiveSqlParserListener.prototype.exitCreate_table_hive_row_format_fields = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options_mssql_item. -HiveSqlParserListener.prototype.enterCreate_table_options_mssql_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options_mssql_item. -HiveSqlParserListener.prototype.exitCreate_table_options_mssql_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_table_options_mysql_item. -HiveSqlParserListener.prototype.enterCreate_table_options_mysql_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_table_options_mysql_item. -HiveSqlParserListener.prototype.exitCreate_table_options_mysql_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#alter_table_stmt. -HiveSqlParserListener.prototype.enterAlter_table_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#alter_table_stmt. -HiveSqlParserListener.prototype.exitAlter_table_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#alter_table_item. -HiveSqlParserListener.prototype.enterAlter_table_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#alter_table_item. -HiveSqlParserListener.prototype.exitAlter_table_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#alter_table_add_constraint. -HiveSqlParserListener.prototype.enterAlter_table_add_constraint = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#alter_table_add_constraint. -HiveSqlParserListener.prototype.exitAlter_table_add_constraint = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#alter_table_add_constraint_item. -HiveSqlParserListener.prototype.enterAlter_table_add_constraint_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#alter_table_add_constraint_item. -HiveSqlParserListener.prototype.exitAlter_table_add_constraint_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#dtype. -HiveSqlParserListener.prototype.enterDtype = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#dtype. -HiveSqlParserListener.prototype.exitDtype = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#dtype_len. -HiveSqlParserListener.prototype.enterDtype_len = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#dtype_len. -HiveSqlParserListener.prototype.exitDtype_len = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#dtype_attr. -HiveSqlParserListener.prototype.enterDtype_attr = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#dtype_attr. -HiveSqlParserListener.prototype.exitDtype_attr = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#dtype_default. -HiveSqlParserListener.prototype.enterDtype_default = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#dtype_default. -HiveSqlParserListener.prototype.exitDtype_default = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_database_stmt. -HiveSqlParserListener.prototype.enterCreate_database_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_database_stmt. -HiveSqlParserListener.prototype.exitCreate_database_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_database_option. -HiveSqlParserListener.prototype.enterCreate_database_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_database_option. -HiveSqlParserListener.prototype.exitCreate_database_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_function_stmt. -HiveSqlParserListener.prototype.enterCreate_function_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_function_stmt. -HiveSqlParserListener.prototype.exitCreate_function_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_function_return. -HiveSqlParserListener.prototype.enterCreate_function_return = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_function_return. -HiveSqlParserListener.prototype.exitCreate_function_return = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_package_stmt. -HiveSqlParserListener.prototype.enterCreate_package_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_package_stmt. -HiveSqlParserListener.prototype.exitCreate_package_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#package_spec. -HiveSqlParserListener.prototype.enterPackage_spec = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#package_spec. -HiveSqlParserListener.prototype.exitPackage_spec = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#package_spec_item. -HiveSqlParserListener.prototype.enterPackage_spec_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#package_spec_item. -HiveSqlParserListener.prototype.exitPackage_spec_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_package_body_stmt. -HiveSqlParserListener.prototype.enterCreate_package_body_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_package_body_stmt. -HiveSqlParserListener.prototype.exitCreate_package_body_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#package_body. -HiveSqlParserListener.prototype.enterPackage_body = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#package_body. -HiveSqlParserListener.prototype.exitPackage_body = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#package_body_item. -HiveSqlParserListener.prototype.enterPackage_body_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#package_body_item. -HiveSqlParserListener.prototype.exitPackage_body_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_procedure_stmt. -HiveSqlParserListener.prototype.enterCreate_procedure_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_procedure_stmt. -HiveSqlParserListener.prototype.exitCreate_procedure_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_routine_params. -HiveSqlParserListener.prototype.enterCreate_routine_params = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_routine_params. -HiveSqlParserListener.prototype.exitCreate_routine_params = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_routine_param_item. -HiveSqlParserListener.prototype.enterCreate_routine_param_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_routine_param_item. -HiveSqlParserListener.prototype.exitCreate_routine_param_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_routine_options. -HiveSqlParserListener.prototype.enterCreate_routine_options = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_routine_options. -HiveSqlParserListener.prototype.exitCreate_routine_options = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_routine_option. -HiveSqlParserListener.prototype.enterCreate_routine_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_routine_option. -HiveSqlParserListener.prototype.exitCreate_routine_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#drop_stmt. -HiveSqlParserListener.prototype.enterDrop_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#drop_stmt. -HiveSqlParserListener.prototype.exitDrop_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#end_transaction_stmt. -HiveSqlParserListener.prototype.enterEnd_transaction_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#end_transaction_stmt. -HiveSqlParserListener.prototype.exitEnd_transaction_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#exec_stmt. -HiveSqlParserListener.prototype.enterExec_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#exec_stmt. -HiveSqlParserListener.prototype.exitExec_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#if_stmt. -HiveSqlParserListener.prototype.enterIf_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#if_stmt. -HiveSqlParserListener.prototype.exitIf_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#if_plsql_stmt. -HiveSqlParserListener.prototype.enterIf_plsql_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#if_plsql_stmt. -HiveSqlParserListener.prototype.exitIf_plsql_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#if_tsql_stmt. -HiveSqlParserListener.prototype.enterIf_tsql_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#if_tsql_stmt. -HiveSqlParserListener.prototype.exitIf_tsql_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#if_bteq_stmt. -HiveSqlParserListener.prototype.enterIf_bteq_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#if_bteq_stmt. -HiveSqlParserListener.prototype.exitIf_bteq_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#elseif_block. -HiveSqlParserListener.prototype.enterElseif_block = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#elseif_block. -HiveSqlParserListener.prototype.exitElseif_block = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#else_block. -HiveSqlParserListener.prototype.enterElse_block = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#else_block. -HiveSqlParserListener.prototype.exitElse_block = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#include_stmt. -HiveSqlParserListener.prototype.enterInclude_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#include_stmt. -HiveSqlParserListener.prototype.exitInclude_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#insert_stmt. -HiveSqlParserListener.prototype.enterInsert_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#insert_stmt. -HiveSqlParserListener.prototype.exitInsert_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#insert_stmt_cols. -HiveSqlParserListener.prototype.enterInsert_stmt_cols = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#insert_stmt_cols. -HiveSqlParserListener.prototype.exitInsert_stmt_cols = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#insert_stmt_rows. -HiveSqlParserListener.prototype.enterInsert_stmt_rows = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#insert_stmt_rows. -HiveSqlParserListener.prototype.exitInsert_stmt_rows = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#insert_stmt_row. -HiveSqlParserListener.prototype.enterInsert_stmt_row = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#insert_stmt_row. -HiveSqlParserListener.prototype.exitInsert_stmt_row = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#insert_directory_stmt. -HiveSqlParserListener.prototype.enterInsert_directory_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#insert_directory_stmt. -HiveSqlParserListener.prototype.exitInsert_directory_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#exit_stmt. -HiveSqlParserListener.prototype.enterExit_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#exit_stmt. -HiveSqlParserListener.prototype.exitExit_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#get_diag_stmt. -HiveSqlParserListener.prototype.enterGet_diag_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#get_diag_stmt. -HiveSqlParserListener.prototype.exitGet_diag_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#get_diag_stmt_item. -HiveSqlParserListener.prototype.enterGet_diag_stmt_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#get_diag_stmt_item. -HiveSqlParserListener.prototype.exitGet_diag_stmt_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#get_diag_stmt_exception_item. -HiveSqlParserListener.prototype.enterGet_diag_stmt_exception_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#get_diag_stmt_exception_item. -HiveSqlParserListener.prototype.exitGet_diag_stmt_exception_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#get_diag_stmt_rowcount_item. -HiveSqlParserListener.prototype.enterGet_diag_stmt_rowcount_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#get_diag_stmt_rowcount_item. -HiveSqlParserListener.prototype.exitGet_diag_stmt_rowcount_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#grant_stmt. -HiveSqlParserListener.prototype.enterGrant_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#grant_stmt. -HiveSqlParserListener.prototype.exitGrant_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#grant_stmt_item. -HiveSqlParserListener.prototype.enterGrant_stmt_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#grant_stmt_item. -HiveSqlParserListener.prototype.exitGrant_stmt_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#leave_stmt. -HiveSqlParserListener.prototype.enterLeave_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#leave_stmt. -HiveSqlParserListener.prototype.exitLeave_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#map_object_stmt. -HiveSqlParserListener.prototype.enterMap_object_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#map_object_stmt. -HiveSqlParserListener.prototype.exitMap_object_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#open_stmt. -HiveSqlParserListener.prototype.enterOpen_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#open_stmt. -HiveSqlParserListener.prototype.exitOpen_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#fetch_stmt. -HiveSqlParserListener.prototype.enterFetch_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#fetch_stmt. -HiveSqlParserListener.prototype.exitFetch_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#collect_stats_stmt. -HiveSqlParserListener.prototype.enterCollect_stats_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#collect_stats_stmt. -HiveSqlParserListener.prototype.exitCollect_stats_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#collect_stats_clause. -HiveSqlParserListener.prototype.enterCollect_stats_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#collect_stats_clause. -HiveSqlParserListener.prototype.exitCollect_stats_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#close_stmt. -HiveSqlParserListener.prototype.enterClose_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#close_stmt. -HiveSqlParserListener.prototype.exitClose_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#cmp_stmt. -HiveSqlParserListener.prototype.enterCmp_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#cmp_stmt. -HiveSqlParserListener.prototype.exitCmp_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#cmp_source. -HiveSqlParserListener.prototype.enterCmp_source = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#cmp_source. -HiveSqlParserListener.prototype.exitCmp_source = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#copy_from_local_stmt. -HiveSqlParserListener.prototype.enterCopy_from_local_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#copy_from_local_stmt. -HiveSqlParserListener.prototype.exitCopy_from_local_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#copy_stmt. -HiveSqlParserListener.prototype.enterCopy_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#copy_stmt. -HiveSqlParserListener.prototype.exitCopy_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#copy_source. -HiveSqlParserListener.prototype.enterCopy_source = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#copy_source. -HiveSqlParserListener.prototype.exitCopy_source = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#copy_target. -HiveSqlParserListener.prototype.enterCopy_target = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#copy_target. -HiveSqlParserListener.prototype.exitCopy_target = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#copy_option. -HiveSqlParserListener.prototype.enterCopy_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#copy_option. -HiveSqlParserListener.prototype.exitCopy_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#copy_file_option. -HiveSqlParserListener.prototype.enterCopy_file_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#copy_file_option. -HiveSqlParserListener.prototype.exitCopy_file_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#commit_stmt. -HiveSqlParserListener.prototype.enterCommit_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#commit_stmt. -HiveSqlParserListener.prototype.exitCommit_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_index_stmt. -HiveSqlParserListener.prototype.enterCreate_index_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_index_stmt. -HiveSqlParserListener.prototype.exitCreate_index_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#create_index_col. -HiveSqlParserListener.prototype.enterCreate_index_col = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#create_index_col. -HiveSqlParserListener.prototype.exitCreate_index_col = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#index_storage_clause. -HiveSqlParserListener.prototype.enterIndex_storage_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#index_storage_clause. -HiveSqlParserListener.prototype.exitIndex_storage_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#index_mssql_storage_clause. -HiveSqlParserListener.prototype.enterIndex_mssql_storage_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#index_mssql_storage_clause. -HiveSqlParserListener.prototype.exitIndex_mssql_storage_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#print_stmt. -HiveSqlParserListener.prototype.enterPrint_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#print_stmt. -HiveSqlParserListener.prototype.exitPrint_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#quit_stmt. -HiveSqlParserListener.prototype.enterQuit_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#quit_stmt. -HiveSqlParserListener.prototype.exitQuit_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#raise_stmt. -HiveSqlParserListener.prototype.enterRaise_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#raise_stmt. -HiveSqlParserListener.prototype.exitRaise_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#resignal_stmt. -HiveSqlParserListener.prototype.enterResignal_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#resignal_stmt. -HiveSqlParserListener.prototype.exitResignal_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#return_stmt. -HiveSqlParserListener.prototype.enterReturn_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#return_stmt. -HiveSqlParserListener.prototype.exitReturn_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#rollback_stmt. -HiveSqlParserListener.prototype.enterRollback_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#rollback_stmt. -HiveSqlParserListener.prototype.exitRollback_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#set_session_option. -HiveSqlParserListener.prototype.enterSet_session_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#set_session_option. -HiveSqlParserListener.prototype.exitSet_session_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#set_current_schema_option. -HiveSqlParserListener.prototype.enterSet_current_schema_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#set_current_schema_option. -HiveSqlParserListener.prototype.exitSet_current_schema_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#set_mssql_session_option. -HiveSqlParserListener.prototype.enterSet_mssql_session_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#set_mssql_session_option. -HiveSqlParserListener.prototype.exitSet_mssql_session_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#set_teradata_session_option. -HiveSqlParserListener.prototype.enterSet_teradata_session_option = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#set_teradata_session_option. -HiveSqlParserListener.prototype.exitSet_teradata_session_option = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#signal_stmt. -HiveSqlParserListener.prototype.enterSignal_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#signal_stmt. -HiveSqlParserListener.prototype.exitSignal_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#summary_stmt. -HiveSqlParserListener.prototype.enterSummary_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#summary_stmt. -HiveSqlParserListener.prototype.exitSummary_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#truncate_stmt. -HiveSqlParserListener.prototype.enterTruncate_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#truncate_stmt. -HiveSqlParserListener.prototype.exitTruncate_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#use_stmt. -HiveSqlParserListener.prototype.enterUse_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#use_stmt. -HiveSqlParserListener.prototype.exitUse_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#values_into_stmt. -HiveSqlParserListener.prototype.enterValues_into_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#values_into_stmt. -HiveSqlParserListener.prototype.exitValues_into_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#while_stmt. -HiveSqlParserListener.prototype.enterWhile_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#while_stmt. -HiveSqlParserListener.prototype.exitWhile_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#for_cursor_stmt. -HiveSqlParserListener.prototype.enterFor_cursor_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#for_cursor_stmt. -HiveSqlParserListener.prototype.exitFor_cursor_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#for_range_stmt. -HiveSqlParserListener.prototype.enterFor_range_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#for_range_stmt. -HiveSqlParserListener.prototype.exitFor_range_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#label. -HiveSqlParserListener.prototype.enterLabel = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#label. -HiveSqlParserListener.prototype.exitLabel = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#using_clause. -HiveSqlParserListener.prototype.enterUsing_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#using_clause. -HiveSqlParserListener.prototype.exitUsing_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_stmt. -HiveSqlParserListener.prototype.enterSelect_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_stmt. -HiveSqlParserListener.prototype.exitSelect_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#cte_select_stmt. -HiveSqlParserListener.prototype.enterCte_select_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#cte_select_stmt. -HiveSqlParserListener.prototype.exitCte_select_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#cte_select_stmt_item. -HiveSqlParserListener.prototype.enterCte_select_stmt_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#cte_select_stmt_item. -HiveSqlParserListener.prototype.exitCte_select_stmt_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#cte_select_cols. -HiveSqlParserListener.prototype.enterCte_select_cols = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#cte_select_cols. -HiveSqlParserListener.prototype.exitCte_select_cols = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#fullselect_stmt. -HiveSqlParserListener.prototype.enterFullselect_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#fullselect_stmt. -HiveSqlParserListener.prototype.exitFullselect_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#fullselect_stmt_item. -HiveSqlParserListener.prototype.enterFullselect_stmt_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#fullselect_stmt_item. -HiveSqlParserListener.prototype.exitFullselect_stmt_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#fullselect_set_clause. -HiveSqlParserListener.prototype.enterFullselect_set_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#fullselect_set_clause. -HiveSqlParserListener.prototype.exitFullselect_set_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#subselect_stmt. -HiveSqlParserListener.prototype.enterSubselect_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#subselect_stmt. -HiveSqlParserListener.prototype.exitSubselect_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_list. -HiveSqlParserListener.prototype.enterSelect_list = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_list. -HiveSqlParserListener.prototype.exitSelect_list = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_list_set. -HiveSqlParserListener.prototype.enterSelect_list_set = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_list_set. -HiveSqlParserListener.prototype.exitSelect_list_set = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_list_limit. -HiveSqlParserListener.prototype.enterSelect_list_limit = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_list_limit. -HiveSqlParserListener.prototype.exitSelect_list_limit = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_list_item. -HiveSqlParserListener.prototype.enterSelect_list_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_list_item. -HiveSqlParserListener.prototype.exitSelect_list_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_list_alias. -HiveSqlParserListener.prototype.enterSelect_list_alias = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_list_alias. -HiveSqlParserListener.prototype.exitSelect_list_alias = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_list_asterisk. -HiveSqlParserListener.prototype.enterSelect_list_asterisk = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_list_asterisk. -HiveSqlParserListener.prototype.exitSelect_list_asterisk = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#into_clause. -HiveSqlParserListener.prototype.enterInto_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#into_clause. -HiveSqlParserListener.prototype.exitInto_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_clause. -HiveSqlParserListener.prototype.enterFrom_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_clause. -HiveSqlParserListener.prototype.exitFrom_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_table_clause. -HiveSqlParserListener.prototype.enterFrom_table_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_table_clause. -HiveSqlParserListener.prototype.exitFrom_table_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_table_name_clause. -HiveSqlParserListener.prototype.enterFrom_table_name_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_table_name_clause. -HiveSqlParserListener.prototype.exitFrom_table_name_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_subselect_clause. -HiveSqlParserListener.prototype.enterFrom_subselect_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_subselect_clause. -HiveSqlParserListener.prototype.exitFrom_subselect_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_join_clause. -HiveSqlParserListener.prototype.enterFrom_join_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_join_clause. -HiveSqlParserListener.prototype.exitFrom_join_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_join_type_clause. -HiveSqlParserListener.prototype.enterFrom_join_type_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_join_type_clause. -HiveSqlParserListener.prototype.exitFrom_join_type_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_table_values_clause. -HiveSqlParserListener.prototype.enterFrom_table_values_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_table_values_clause. -HiveSqlParserListener.prototype.exitFrom_table_values_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_table_values_row. -HiveSqlParserListener.prototype.enterFrom_table_values_row = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_table_values_row. -HiveSqlParserListener.prototype.exitFrom_table_values_row = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#from_alias_clause. -HiveSqlParserListener.prototype.enterFrom_alias_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#from_alias_clause. -HiveSqlParserListener.prototype.exitFrom_alias_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#table_name. -HiveSqlParserListener.prototype.enterTable_name = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#table_name. -HiveSqlParserListener.prototype.exitTable_name = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#where_clause. -HiveSqlParserListener.prototype.enterWhere_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#where_clause. -HiveSqlParserListener.prototype.exitWhere_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#group_by_clause. -HiveSqlParserListener.prototype.enterGroup_by_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#group_by_clause. -HiveSqlParserListener.prototype.exitGroup_by_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#having_clause. -HiveSqlParserListener.prototype.enterHaving_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#having_clause. -HiveSqlParserListener.prototype.exitHaving_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#qualify_clause. -HiveSqlParserListener.prototype.enterQualify_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#qualify_clause. -HiveSqlParserListener.prototype.exitQualify_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#order_by_clause. -HiveSqlParserListener.prototype.enterOrder_by_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#order_by_clause. -HiveSqlParserListener.prototype.exitOrder_by_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_options. -HiveSqlParserListener.prototype.enterSelect_options = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_options. -HiveSqlParserListener.prototype.exitSelect_options = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#select_options_item. -HiveSqlParserListener.prototype.enterSelect_options_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#select_options_item. -HiveSqlParserListener.prototype.exitSelect_options_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#update_stmt. -HiveSqlParserListener.prototype.enterUpdate_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#update_stmt. -HiveSqlParserListener.prototype.exitUpdate_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#update_assignment. -HiveSqlParserListener.prototype.enterUpdate_assignment = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#update_assignment. -HiveSqlParserListener.prototype.exitUpdate_assignment = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#update_table. -HiveSqlParserListener.prototype.enterUpdate_table = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#update_table. -HiveSqlParserListener.prototype.exitUpdate_table = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#update_upsert. -HiveSqlParserListener.prototype.enterUpdate_upsert = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#update_upsert. -HiveSqlParserListener.prototype.exitUpdate_upsert = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#merge_stmt. -HiveSqlParserListener.prototype.enterMerge_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#merge_stmt. -HiveSqlParserListener.prototype.exitMerge_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#merge_table. -HiveSqlParserListener.prototype.enterMerge_table = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#merge_table. -HiveSqlParserListener.prototype.exitMerge_table = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#merge_condition. -HiveSqlParserListener.prototype.enterMerge_condition = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#merge_condition. -HiveSqlParserListener.prototype.exitMerge_condition = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#merge_action. -HiveSqlParserListener.prototype.enterMerge_action = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#merge_action. -HiveSqlParserListener.prototype.exitMerge_action = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#delete_stmt. -HiveSqlParserListener.prototype.enterDelete_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#delete_stmt. -HiveSqlParserListener.prototype.exitDelete_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#delete_alias. -HiveSqlParserListener.prototype.enterDelete_alias = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#delete_alias. -HiveSqlParserListener.prototype.exitDelete_alias = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#describe_stmt. -HiveSqlParserListener.prototype.enterDescribe_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#describe_stmt. -HiveSqlParserListener.prototype.exitDescribe_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr. -HiveSqlParserListener.prototype.enterBool_expr = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr. -HiveSqlParserListener.prototype.exitBool_expr = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr_atom. -HiveSqlParserListener.prototype.enterBool_expr_atom = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr_atom. -HiveSqlParserListener.prototype.exitBool_expr_atom = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr_unary. -HiveSqlParserListener.prototype.enterBool_expr_unary = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr_unary. -HiveSqlParserListener.prototype.exitBool_expr_unary = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr_single_in. -HiveSqlParserListener.prototype.enterBool_expr_single_in = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr_single_in. -HiveSqlParserListener.prototype.exitBool_expr_single_in = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr_multi_in. -HiveSqlParserListener.prototype.enterBool_expr_multi_in = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr_multi_in. -HiveSqlParserListener.prototype.exitBool_expr_multi_in = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr_binary. -HiveSqlParserListener.prototype.enterBool_expr_binary = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr_binary. -HiveSqlParserListener.prototype.exitBool_expr_binary = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr_logical_operator. -HiveSqlParserListener.prototype.enterBool_expr_logical_operator = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr_logical_operator. -HiveSqlParserListener.prototype.exitBool_expr_logical_operator = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_expr_binary_operator. -HiveSqlParserListener.prototype.enterBool_expr_binary_operator = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_expr_binary_operator. -HiveSqlParserListener.prototype.exitBool_expr_binary_operator = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr. -HiveSqlParserListener.prototype.enterExpr = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr. -HiveSqlParserListener.prototype.exitExpr = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_atom. -HiveSqlParserListener.prototype.enterExpr_atom = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_atom. -HiveSqlParserListener.prototype.exitExpr_atom = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_interval. -HiveSqlParserListener.prototype.enterExpr_interval = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_interval. -HiveSqlParserListener.prototype.exitExpr_interval = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#interval_item. -HiveSqlParserListener.prototype.enterInterval_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#interval_item. -HiveSqlParserListener.prototype.exitInterval_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_concat. -HiveSqlParserListener.prototype.enterExpr_concat = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_concat. -HiveSqlParserListener.prototype.exitExpr_concat = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_concat_item. -HiveSqlParserListener.prototype.enterExpr_concat_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_concat_item. -HiveSqlParserListener.prototype.exitExpr_concat_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_case. -HiveSqlParserListener.prototype.enterExpr_case = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_case. -HiveSqlParserListener.prototype.exitExpr_case = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_case_simple. -HiveSqlParserListener.prototype.enterExpr_case_simple = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_case_simple. -HiveSqlParserListener.prototype.exitExpr_case_simple = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_case_searched. -HiveSqlParserListener.prototype.enterExpr_case_searched = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_case_searched. -HiveSqlParserListener.prototype.exitExpr_case_searched = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_cursor_attribute. -HiveSqlParserListener.prototype.enterExpr_cursor_attribute = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_cursor_attribute. -HiveSqlParserListener.prototype.exitExpr_cursor_attribute = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_agg_window_func. -HiveSqlParserListener.prototype.enterExpr_agg_window_func = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_agg_window_func. -HiveSqlParserListener.prototype.exitExpr_agg_window_func = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_func_all_distinct. -HiveSqlParserListener.prototype.enterExpr_func_all_distinct = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_func_all_distinct. -HiveSqlParserListener.prototype.exitExpr_func_all_distinct = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_func_over_clause. -HiveSqlParserListener.prototype.enterExpr_func_over_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_func_over_clause. -HiveSqlParserListener.prototype.exitExpr_func_over_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_func_partition_by_clause. -HiveSqlParserListener.prototype.enterExpr_func_partition_by_clause = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_func_partition_by_clause. -HiveSqlParserListener.prototype.exitExpr_func_partition_by_clause = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_spec_func. -HiveSqlParserListener.prototype.enterExpr_spec_func = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_spec_func. -HiveSqlParserListener.prototype.exitExpr_spec_func = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_func. -HiveSqlParserListener.prototype.enterExpr_func = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_func. -HiveSqlParserListener.prototype.exitExpr_func = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_func_params. -HiveSqlParserListener.prototype.enterExpr_func_params = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_func_params. -HiveSqlParserListener.prototype.exitExpr_func_params = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#func_param. -HiveSqlParserListener.prototype.enterFunc_param = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#func_param. -HiveSqlParserListener.prototype.exitFunc_param = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_select. -HiveSqlParserListener.prototype.enterExpr_select = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_select. -HiveSqlParserListener.prototype.exitExpr_select = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#expr_file. -HiveSqlParserListener.prototype.enterExpr_file = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#expr_file. -HiveSqlParserListener.prototype.exitExpr_file = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#hive. -HiveSqlParserListener.prototype.enterHive = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#hive. -HiveSqlParserListener.prototype.exitHive = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#hive_item. -HiveSqlParserListener.prototype.enterHive_item = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#hive_item. -HiveSqlParserListener.prototype.exitHive_item = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#host. -HiveSqlParserListener.prototype.enterHost = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#host. -HiveSqlParserListener.prototype.exitHost = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#host_cmd. -HiveSqlParserListener.prototype.enterHost_cmd = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#host_cmd. -HiveSqlParserListener.prototype.exitHost_cmd = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#host_stmt. -HiveSqlParserListener.prototype.enterHost_stmt = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#host_stmt. -HiveSqlParserListener.prototype.exitHost_stmt = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#file_name. -HiveSqlParserListener.prototype.enterFile_name = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#file_name. -HiveSqlParserListener.prototype.exitFile_name = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#date_literal. -HiveSqlParserListener.prototype.enterDate_literal = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#date_literal. -HiveSqlParserListener.prototype.exitDate_literal = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#timestamp_literal. -HiveSqlParserListener.prototype.enterTimestamp_literal = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#timestamp_literal. -HiveSqlParserListener.prototype.exitTimestamp_literal = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#ident. -HiveSqlParserListener.prototype.enterIdent = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#ident. -HiveSqlParserListener.prototype.exitIdent = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#single_quotedString. -HiveSqlParserListener.prototype.enterSingle_quotedString = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#single_quotedString. -HiveSqlParserListener.prototype.exitSingle_quotedString = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#double_quotedString. -HiveSqlParserListener.prototype.enterDouble_quotedString = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#double_quotedString. -HiveSqlParserListener.prototype.exitDouble_quotedString = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#int_number. -HiveSqlParserListener.prototype.enterInt_number = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#int_number. -HiveSqlParserListener.prototype.exitInt_number = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#dec_number. -HiveSqlParserListener.prototype.enterDec_number = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#dec_number. -HiveSqlParserListener.prototype.exitDec_number = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#bool_literal. -HiveSqlParserListener.prototype.enterBool_literal = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#bool_literal. -HiveSqlParserListener.prototype.exitBool_literal = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#null_const. -HiveSqlParserListener.prototype.enterNull_const = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#null_const. -HiveSqlParserListener.prototype.exitNull_const = function(ctx) { -}; - - -// Enter a parse tree produced by HiveSqlParser#non_reserved_words. -HiveSqlParserListener.prototype.enterNon_reserved_words = function(ctx) { -}; - -// Exit a parse tree produced by HiveSqlParser#non_reserved_words. -HiveSqlParserListener.prototype.exitNon_reserved_words = function(ctx) { -}; - - - -exports.HiveSqlParserListener = HiveSqlParserListener; \ No newline at end of file diff --git a/src/lib/hive/HiveSqlParserVisitor.js b/src/lib/hive/HiveSqlParserVisitor.js deleted file mode 100644 index 3097fbb..0000000 --- a/src/lib/hive/HiveSqlParserVisitor.js +++ /dev/null @@ -1,1378 +0,0 @@ -// Generated from /Users/libowen/Desktop/Code/gitlab.prod.dtstack.cn/dt-insight-front/infrastructure/dt-sql-parser/src/grammar/hive/HiveSqlParser.g4 by ANTLR 4.8 -// jshint ignore: start -var antlr4 = require('antlr4/index'); - -// This class defines a complete generic visitor for a parse tree produced by HiveSqlParser. - -function HiveSqlParserVisitor() { - antlr4.tree.ParseTreeVisitor.call(this); - return this; -} - -HiveSqlParserVisitor.prototype = Object.create(antlr4.tree.ParseTreeVisitor.prototype); -HiveSqlParserVisitor.prototype.constructor = HiveSqlParserVisitor; - -// Visit a parse tree produced by HiveSqlParser#program. -HiveSqlParserVisitor.prototype.visitProgram = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#block. -HiveSqlParserVisitor.prototype.visitBlock = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#begin_end_block. -HiveSqlParserVisitor.prototype.visitBegin_end_block = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#single_block_stmt. -HiveSqlParserVisitor.prototype.visitSingle_block_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#block_end. -HiveSqlParserVisitor.prototype.visitBlock_end = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#proc_block. -HiveSqlParserVisitor.prototype.visitProc_block = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#stmt. -HiveSqlParserVisitor.prototype.visitStmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#semicolon_stmt. -HiveSqlParserVisitor.prototype.visitSemicolon_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#exception_block. -HiveSqlParserVisitor.prototype.visitException_block = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#exception_block_item. -HiveSqlParserVisitor.prototype.visitException_block_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#null_stmt. -HiveSqlParserVisitor.prototype.visitNull_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_stmt. -HiveSqlParserVisitor.prototype.visitExpr_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#assignment_stmt. -HiveSqlParserVisitor.prototype.visitAssignment_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#assignment_stmt_item. -HiveSqlParserVisitor.prototype.visitAssignment_stmt_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#assignment_stmt_single_item. -HiveSqlParserVisitor.prototype.visitAssignment_stmt_single_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#assignment_stmt_multiple_item. -HiveSqlParserVisitor.prototype.visitAssignment_stmt_multiple_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#assignment_stmt_select_item. -HiveSqlParserVisitor.prototype.visitAssignment_stmt_select_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#allocate_cursor_stmt. -HiveSqlParserVisitor.prototype.visitAllocate_cursor_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#associate_locator_stmt. -HiveSqlParserVisitor.prototype.visitAssociate_locator_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#begin_transaction_stmt. -HiveSqlParserVisitor.prototype.visitBegin_transaction_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#break_stmt. -HiveSqlParserVisitor.prototype.visitBreak_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#call_stmt. -HiveSqlParserVisitor.prototype.visitCall_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_stmt. -HiveSqlParserVisitor.prototype.visitDeclare_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_block. -HiveSqlParserVisitor.prototype.visitDeclare_block = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_block_inplace. -HiveSqlParserVisitor.prototype.visitDeclare_block_inplace = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_stmt_item. -HiveSqlParserVisitor.prototype.visitDeclare_stmt_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_var_item. -HiveSqlParserVisitor.prototype.visitDeclare_var_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_condition_item. -HiveSqlParserVisitor.prototype.visitDeclare_condition_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_cursor_item. -HiveSqlParserVisitor.prototype.visitDeclare_cursor_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#cursor_with_return. -HiveSqlParserVisitor.prototype.visitCursor_with_return = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#cursor_without_return. -HiveSqlParserVisitor.prototype.visitCursor_without_return = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_handler_item. -HiveSqlParserVisitor.prototype.visitDeclare_handler_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#declare_temporary_table_item. -HiveSqlParserVisitor.prototype.visitDeclare_temporary_table_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_stmt. -HiveSqlParserVisitor.prototype.visitCreate_table_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_local_temp_table_stmt. -HiveSqlParserVisitor.prototype.visitCreate_local_temp_table_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_definition. -HiveSqlParserVisitor.prototype.visitCreate_table_definition = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_columns. -HiveSqlParserVisitor.prototype.visitCreate_table_columns = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_columns_item. -HiveSqlParserVisitor.prototype.visitCreate_table_columns_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#column_name. -HiveSqlParserVisitor.prototype.visitColumn_name = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_column_inline_cons. -HiveSqlParserVisitor.prototype.visitCreate_table_column_inline_cons = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_column_cons. -HiveSqlParserVisitor.prototype.visitCreate_table_column_cons = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_fk_action. -HiveSqlParserVisitor.prototype.visitCreate_table_fk_action = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_preoptions. -HiveSqlParserVisitor.prototype.visitCreate_table_preoptions = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_preoptions_item. -HiveSqlParserVisitor.prototype.visitCreate_table_preoptions_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_preoptions_td_item. -HiveSqlParserVisitor.prototype.visitCreate_table_preoptions_td_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options. -HiveSqlParserVisitor.prototype.visitCreate_table_options = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options_item. -HiveSqlParserVisitor.prototype.visitCreate_table_options_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options_ora_item. -HiveSqlParserVisitor.prototype.visitCreate_table_options_ora_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options_db2_item. -HiveSqlParserVisitor.prototype.visitCreate_table_options_db2_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options_td_item. -HiveSqlParserVisitor.prototype.visitCreate_table_options_td_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options_hive_item. -HiveSqlParserVisitor.prototype.visitCreate_table_options_hive_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_hive_row_format. -HiveSqlParserVisitor.prototype.visitCreate_table_hive_row_format = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_hive_row_format_fields. -HiveSqlParserVisitor.prototype.visitCreate_table_hive_row_format_fields = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options_mssql_item. -HiveSqlParserVisitor.prototype.visitCreate_table_options_mssql_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_table_options_mysql_item. -HiveSqlParserVisitor.prototype.visitCreate_table_options_mysql_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#alter_table_stmt. -HiveSqlParserVisitor.prototype.visitAlter_table_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#alter_table_item. -HiveSqlParserVisitor.prototype.visitAlter_table_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#alter_table_add_constraint. -HiveSqlParserVisitor.prototype.visitAlter_table_add_constraint = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#alter_table_add_constraint_item. -HiveSqlParserVisitor.prototype.visitAlter_table_add_constraint_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#dtype. -HiveSqlParserVisitor.prototype.visitDtype = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#dtype_len. -HiveSqlParserVisitor.prototype.visitDtype_len = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#dtype_attr. -HiveSqlParserVisitor.prototype.visitDtype_attr = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#dtype_default. -HiveSqlParserVisitor.prototype.visitDtype_default = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_database_stmt. -HiveSqlParserVisitor.prototype.visitCreate_database_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_database_option. -HiveSqlParserVisitor.prototype.visitCreate_database_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_function_stmt. -HiveSqlParserVisitor.prototype.visitCreate_function_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_function_return. -HiveSqlParserVisitor.prototype.visitCreate_function_return = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_package_stmt. -HiveSqlParserVisitor.prototype.visitCreate_package_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#package_spec. -HiveSqlParserVisitor.prototype.visitPackage_spec = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#package_spec_item. -HiveSqlParserVisitor.prototype.visitPackage_spec_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_package_body_stmt. -HiveSqlParserVisitor.prototype.visitCreate_package_body_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#package_body. -HiveSqlParserVisitor.prototype.visitPackage_body = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#package_body_item. -HiveSqlParserVisitor.prototype.visitPackage_body_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_procedure_stmt. -HiveSqlParserVisitor.prototype.visitCreate_procedure_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_routine_params. -HiveSqlParserVisitor.prototype.visitCreate_routine_params = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_routine_param_item. -HiveSqlParserVisitor.prototype.visitCreate_routine_param_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_routine_options. -HiveSqlParserVisitor.prototype.visitCreate_routine_options = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_routine_option. -HiveSqlParserVisitor.prototype.visitCreate_routine_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#drop_stmt. -HiveSqlParserVisitor.prototype.visitDrop_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#end_transaction_stmt. -HiveSqlParserVisitor.prototype.visitEnd_transaction_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#exec_stmt. -HiveSqlParserVisitor.prototype.visitExec_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#if_stmt. -HiveSqlParserVisitor.prototype.visitIf_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#if_plsql_stmt. -HiveSqlParserVisitor.prototype.visitIf_plsql_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#if_tsql_stmt. -HiveSqlParserVisitor.prototype.visitIf_tsql_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#if_bteq_stmt. -HiveSqlParserVisitor.prototype.visitIf_bteq_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#elseif_block. -HiveSqlParserVisitor.prototype.visitElseif_block = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#else_block. -HiveSqlParserVisitor.prototype.visitElse_block = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#include_stmt. -HiveSqlParserVisitor.prototype.visitInclude_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#insert_stmt. -HiveSqlParserVisitor.prototype.visitInsert_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#insert_stmt_cols. -HiveSqlParserVisitor.prototype.visitInsert_stmt_cols = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#insert_stmt_rows. -HiveSqlParserVisitor.prototype.visitInsert_stmt_rows = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#insert_stmt_row. -HiveSqlParserVisitor.prototype.visitInsert_stmt_row = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#insert_directory_stmt. -HiveSqlParserVisitor.prototype.visitInsert_directory_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#exit_stmt. -HiveSqlParserVisitor.prototype.visitExit_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#get_diag_stmt. -HiveSqlParserVisitor.prototype.visitGet_diag_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#get_diag_stmt_item. -HiveSqlParserVisitor.prototype.visitGet_diag_stmt_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#get_diag_stmt_exception_item. -HiveSqlParserVisitor.prototype.visitGet_diag_stmt_exception_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#get_diag_stmt_rowcount_item. -HiveSqlParserVisitor.prototype.visitGet_diag_stmt_rowcount_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#grant_stmt. -HiveSqlParserVisitor.prototype.visitGrant_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#grant_stmt_item. -HiveSqlParserVisitor.prototype.visitGrant_stmt_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#leave_stmt. -HiveSqlParserVisitor.prototype.visitLeave_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#map_object_stmt. -HiveSqlParserVisitor.prototype.visitMap_object_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#open_stmt. -HiveSqlParserVisitor.prototype.visitOpen_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#fetch_stmt. -HiveSqlParserVisitor.prototype.visitFetch_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#collect_stats_stmt. -HiveSqlParserVisitor.prototype.visitCollect_stats_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#collect_stats_clause. -HiveSqlParserVisitor.prototype.visitCollect_stats_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#close_stmt. -HiveSqlParserVisitor.prototype.visitClose_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#cmp_stmt. -HiveSqlParserVisitor.prototype.visitCmp_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#cmp_source. -HiveSqlParserVisitor.prototype.visitCmp_source = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#copy_from_local_stmt. -HiveSqlParserVisitor.prototype.visitCopy_from_local_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#copy_stmt. -HiveSqlParserVisitor.prototype.visitCopy_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#copy_source. -HiveSqlParserVisitor.prototype.visitCopy_source = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#copy_target. -HiveSqlParserVisitor.prototype.visitCopy_target = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#copy_option. -HiveSqlParserVisitor.prototype.visitCopy_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#copy_file_option. -HiveSqlParserVisitor.prototype.visitCopy_file_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#commit_stmt. -HiveSqlParserVisitor.prototype.visitCommit_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_index_stmt. -HiveSqlParserVisitor.prototype.visitCreate_index_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#create_index_col. -HiveSqlParserVisitor.prototype.visitCreate_index_col = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#index_storage_clause. -HiveSqlParserVisitor.prototype.visitIndex_storage_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#index_mssql_storage_clause. -HiveSqlParserVisitor.prototype.visitIndex_mssql_storage_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#print_stmt. -HiveSqlParserVisitor.prototype.visitPrint_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#quit_stmt. -HiveSqlParserVisitor.prototype.visitQuit_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#raise_stmt. -HiveSqlParserVisitor.prototype.visitRaise_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#resignal_stmt. -HiveSqlParserVisitor.prototype.visitResignal_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#return_stmt. -HiveSqlParserVisitor.prototype.visitReturn_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#rollback_stmt. -HiveSqlParserVisitor.prototype.visitRollback_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#set_session_option. -HiveSqlParserVisitor.prototype.visitSet_session_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#set_current_schema_option. -HiveSqlParserVisitor.prototype.visitSet_current_schema_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#set_mssql_session_option. -HiveSqlParserVisitor.prototype.visitSet_mssql_session_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#set_teradata_session_option. -HiveSqlParserVisitor.prototype.visitSet_teradata_session_option = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#signal_stmt. -HiveSqlParserVisitor.prototype.visitSignal_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#summary_stmt. -HiveSqlParserVisitor.prototype.visitSummary_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#truncate_stmt. -HiveSqlParserVisitor.prototype.visitTruncate_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#use_stmt. -HiveSqlParserVisitor.prototype.visitUse_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#values_into_stmt. -HiveSqlParserVisitor.prototype.visitValues_into_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#while_stmt. -HiveSqlParserVisitor.prototype.visitWhile_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#for_cursor_stmt. -HiveSqlParserVisitor.prototype.visitFor_cursor_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#for_range_stmt. -HiveSqlParserVisitor.prototype.visitFor_range_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#label. -HiveSqlParserVisitor.prototype.visitLabel = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#using_clause. -HiveSqlParserVisitor.prototype.visitUsing_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_stmt. -HiveSqlParserVisitor.prototype.visitSelect_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#cte_select_stmt. -HiveSqlParserVisitor.prototype.visitCte_select_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#cte_select_stmt_item. -HiveSqlParserVisitor.prototype.visitCte_select_stmt_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#cte_select_cols. -HiveSqlParserVisitor.prototype.visitCte_select_cols = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#fullselect_stmt. -HiveSqlParserVisitor.prototype.visitFullselect_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#fullselect_stmt_item. -HiveSqlParserVisitor.prototype.visitFullselect_stmt_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#fullselect_set_clause. -HiveSqlParserVisitor.prototype.visitFullselect_set_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#subselect_stmt. -HiveSqlParserVisitor.prototype.visitSubselect_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_list. -HiveSqlParserVisitor.prototype.visitSelect_list = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_list_set. -HiveSqlParserVisitor.prototype.visitSelect_list_set = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_list_limit. -HiveSqlParserVisitor.prototype.visitSelect_list_limit = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_list_item. -HiveSqlParserVisitor.prototype.visitSelect_list_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_list_alias. -HiveSqlParserVisitor.prototype.visitSelect_list_alias = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_list_asterisk. -HiveSqlParserVisitor.prototype.visitSelect_list_asterisk = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#into_clause. -HiveSqlParserVisitor.prototype.visitInto_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_clause. -HiveSqlParserVisitor.prototype.visitFrom_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_table_clause. -HiveSqlParserVisitor.prototype.visitFrom_table_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_table_name_clause. -HiveSqlParserVisitor.prototype.visitFrom_table_name_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_subselect_clause. -HiveSqlParserVisitor.prototype.visitFrom_subselect_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_join_clause. -HiveSqlParserVisitor.prototype.visitFrom_join_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_join_type_clause. -HiveSqlParserVisitor.prototype.visitFrom_join_type_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_table_values_clause. -HiveSqlParserVisitor.prototype.visitFrom_table_values_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_table_values_row. -HiveSqlParserVisitor.prototype.visitFrom_table_values_row = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#from_alias_clause. -HiveSqlParserVisitor.prototype.visitFrom_alias_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#table_name. -HiveSqlParserVisitor.prototype.visitTable_name = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#where_clause. -HiveSqlParserVisitor.prototype.visitWhere_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#group_by_clause. -HiveSqlParserVisitor.prototype.visitGroup_by_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#having_clause. -HiveSqlParserVisitor.prototype.visitHaving_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#qualify_clause. -HiveSqlParserVisitor.prototype.visitQualify_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#order_by_clause. -HiveSqlParserVisitor.prototype.visitOrder_by_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_options. -HiveSqlParserVisitor.prototype.visitSelect_options = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#select_options_item. -HiveSqlParserVisitor.prototype.visitSelect_options_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#update_stmt. -HiveSqlParserVisitor.prototype.visitUpdate_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#update_assignment. -HiveSqlParserVisitor.prototype.visitUpdate_assignment = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#update_table. -HiveSqlParserVisitor.prototype.visitUpdate_table = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#update_upsert. -HiveSqlParserVisitor.prototype.visitUpdate_upsert = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#merge_stmt. -HiveSqlParserVisitor.prototype.visitMerge_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#merge_table. -HiveSqlParserVisitor.prototype.visitMerge_table = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#merge_condition. -HiveSqlParserVisitor.prototype.visitMerge_condition = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#merge_action. -HiveSqlParserVisitor.prototype.visitMerge_action = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#delete_stmt. -HiveSqlParserVisitor.prototype.visitDelete_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#delete_alias. -HiveSqlParserVisitor.prototype.visitDelete_alias = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#describe_stmt. -HiveSqlParserVisitor.prototype.visitDescribe_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr. -HiveSqlParserVisitor.prototype.visitBool_expr = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr_atom. -HiveSqlParserVisitor.prototype.visitBool_expr_atom = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr_unary. -HiveSqlParserVisitor.prototype.visitBool_expr_unary = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr_single_in. -HiveSqlParserVisitor.prototype.visitBool_expr_single_in = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr_multi_in. -HiveSqlParserVisitor.prototype.visitBool_expr_multi_in = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr_binary. -HiveSqlParserVisitor.prototype.visitBool_expr_binary = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr_logical_operator. -HiveSqlParserVisitor.prototype.visitBool_expr_logical_operator = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_expr_binary_operator. -HiveSqlParserVisitor.prototype.visitBool_expr_binary_operator = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr. -HiveSqlParserVisitor.prototype.visitExpr = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_atom. -HiveSqlParserVisitor.prototype.visitExpr_atom = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_interval. -HiveSqlParserVisitor.prototype.visitExpr_interval = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#interval_item. -HiveSqlParserVisitor.prototype.visitInterval_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_concat. -HiveSqlParserVisitor.prototype.visitExpr_concat = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_concat_item. -HiveSqlParserVisitor.prototype.visitExpr_concat_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_case. -HiveSqlParserVisitor.prototype.visitExpr_case = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_case_simple. -HiveSqlParserVisitor.prototype.visitExpr_case_simple = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_case_searched. -HiveSqlParserVisitor.prototype.visitExpr_case_searched = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_cursor_attribute. -HiveSqlParserVisitor.prototype.visitExpr_cursor_attribute = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_agg_window_func. -HiveSqlParserVisitor.prototype.visitExpr_agg_window_func = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_func_all_distinct. -HiveSqlParserVisitor.prototype.visitExpr_func_all_distinct = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_func_over_clause. -HiveSqlParserVisitor.prototype.visitExpr_func_over_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_func_partition_by_clause. -HiveSqlParserVisitor.prototype.visitExpr_func_partition_by_clause = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_spec_func. -HiveSqlParserVisitor.prototype.visitExpr_spec_func = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_func. -HiveSqlParserVisitor.prototype.visitExpr_func = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_func_params. -HiveSqlParserVisitor.prototype.visitExpr_func_params = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#func_param. -HiveSqlParserVisitor.prototype.visitFunc_param = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_select. -HiveSqlParserVisitor.prototype.visitExpr_select = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#expr_file. -HiveSqlParserVisitor.prototype.visitExpr_file = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#hive. -HiveSqlParserVisitor.prototype.visitHive = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#hive_item. -HiveSqlParserVisitor.prototype.visitHive_item = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#host. -HiveSqlParserVisitor.prototype.visitHost = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#host_cmd. -HiveSqlParserVisitor.prototype.visitHost_cmd = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#host_stmt. -HiveSqlParserVisitor.prototype.visitHost_stmt = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#file_name. -HiveSqlParserVisitor.prototype.visitFile_name = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#date_literal. -HiveSqlParserVisitor.prototype.visitDate_literal = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#timestamp_literal. -HiveSqlParserVisitor.prototype.visitTimestamp_literal = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#ident. -HiveSqlParserVisitor.prototype.visitIdent = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#single_quotedString. -HiveSqlParserVisitor.prototype.visitSingle_quotedString = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#double_quotedString. -HiveSqlParserVisitor.prototype.visitDouble_quotedString = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#int_number. -HiveSqlParserVisitor.prototype.visitInt_number = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#dec_number. -HiveSqlParserVisitor.prototype.visitDec_number = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#bool_literal. -HiveSqlParserVisitor.prototype.visitBool_literal = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#null_const. -HiveSqlParserVisitor.prototype.visitNull_const = function(ctx) { - return this.visitChildren(ctx); -}; - - -// Visit a parse tree produced by HiveSqlParser#non_reserved_words. -HiveSqlParserVisitor.prototype.visitNon_reserved_words = function(ctx) { - return this.visitChildren(ctx); -}; - - - -exports.HiveSqlParserVisitor = HiveSqlParserVisitor; \ No newline at end of file diff --git a/src/lib/hive/HiveSqlVisitor.js b/src/lib/hive/HiveSqlVisitor.js new file mode 100644 index 0000000..bd1c2c8 --- /dev/null +++ b/src/lib/hive/HiveSqlVisitor.js @@ -0,0 +1,1378 @@ +// Generated from /Users/libowen/Desktop/Code/gitlab.prod.dtstack.cn/dt-insight-front/infrastructure/dt-sql-parser/src/grammar/hive/HiveSql.g4 by ANTLR 4.8 +// jshint ignore: start +var antlr4 = require('antlr4/index'); + +// This class defines a complete generic visitor for a parse tree produced by HiveSql. + +function HiveSqlVisitor() { + antlr4.tree.ParseTreeVisitor.call(this); + return this; +} + +HiveSqlVisitor.prototype = Object.create(antlr4.tree.ParseTreeVisitor.prototype); +HiveSqlVisitor.prototype.constructor = HiveSqlVisitor; + +// Visit a parse tree produced by HiveSql#program. +HiveSqlVisitor.prototype.visitProgram = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#block. +HiveSqlVisitor.prototype.visitBlock = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#begin_end_block. +HiveSqlVisitor.prototype.visitBegin_end_block = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#single_block_stmt. +HiveSqlVisitor.prototype.visitSingle_block_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#block_end. +HiveSqlVisitor.prototype.visitBlock_end = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#proc_block. +HiveSqlVisitor.prototype.visitProc_block = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#stmt. +HiveSqlVisitor.prototype.visitStmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#semicolon_stmt. +HiveSqlVisitor.prototype.visitSemicolon_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#exception_block. +HiveSqlVisitor.prototype.visitException_block = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#exception_block_item. +HiveSqlVisitor.prototype.visitException_block_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#null_stmt. +HiveSqlVisitor.prototype.visitNull_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_stmt. +HiveSqlVisitor.prototype.visitExpr_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#assignment_stmt. +HiveSqlVisitor.prototype.visitAssignment_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#assignment_stmt_item. +HiveSqlVisitor.prototype.visitAssignment_stmt_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#assignment_stmt_single_item. +HiveSqlVisitor.prototype.visitAssignment_stmt_single_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#assignment_stmt_multiple_item. +HiveSqlVisitor.prototype.visitAssignment_stmt_multiple_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#assignment_stmt_select_item. +HiveSqlVisitor.prototype.visitAssignment_stmt_select_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#allocate_cursor_stmt. +HiveSqlVisitor.prototype.visitAllocate_cursor_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#associate_locator_stmt. +HiveSqlVisitor.prototype.visitAssociate_locator_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#begin_transaction_stmt. +HiveSqlVisitor.prototype.visitBegin_transaction_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#break_stmt. +HiveSqlVisitor.prototype.visitBreak_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#call_stmt. +HiveSqlVisitor.prototype.visitCall_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_stmt. +HiveSqlVisitor.prototype.visitDeclare_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_block. +HiveSqlVisitor.prototype.visitDeclare_block = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_block_inplace. +HiveSqlVisitor.prototype.visitDeclare_block_inplace = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_stmt_item. +HiveSqlVisitor.prototype.visitDeclare_stmt_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_var_item. +HiveSqlVisitor.prototype.visitDeclare_var_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_condition_item. +HiveSqlVisitor.prototype.visitDeclare_condition_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_cursor_item. +HiveSqlVisitor.prototype.visitDeclare_cursor_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#cursor_with_return. +HiveSqlVisitor.prototype.visitCursor_with_return = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#cursor_without_return. +HiveSqlVisitor.prototype.visitCursor_without_return = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_handler_item. +HiveSqlVisitor.prototype.visitDeclare_handler_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#declare_temporary_table_item. +HiveSqlVisitor.prototype.visitDeclare_temporary_table_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_stmt. +HiveSqlVisitor.prototype.visitCreate_table_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_local_temp_table_stmt. +HiveSqlVisitor.prototype.visitCreate_local_temp_table_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_definition. +HiveSqlVisitor.prototype.visitCreate_table_definition = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_columns. +HiveSqlVisitor.prototype.visitCreate_table_columns = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_columns_item. +HiveSqlVisitor.prototype.visitCreate_table_columns_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#column_name. +HiveSqlVisitor.prototype.visitColumn_name = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_column_inline_cons. +HiveSqlVisitor.prototype.visitCreate_table_column_inline_cons = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_column_cons. +HiveSqlVisitor.prototype.visitCreate_table_column_cons = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_fk_action. +HiveSqlVisitor.prototype.visitCreate_table_fk_action = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_preoptions. +HiveSqlVisitor.prototype.visitCreate_table_preoptions = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_preoptions_item. +HiveSqlVisitor.prototype.visitCreate_table_preoptions_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_preoptions_td_item. +HiveSqlVisitor.prototype.visitCreate_table_preoptions_td_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options. +HiveSqlVisitor.prototype.visitCreate_table_options = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options_item. +HiveSqlVisitor.prototype.visitCreate_table_options_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options_ora_item. +HiveSqlVisitor.prototype.visitCreate_table_options_ora_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options_db2_item. +HiveSqlVisitor.prototype.visitCreate_table_options_db2_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options_td_item. +HiveSqlVisitor.prototype.visitCreate_table_options_td_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options_hive_item. +HiveSqlVisitor.prototype.visitCreate_table_options_hive_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_hive_row_format. +HiveSqlVisitor.prototype.visitCreate_table_hive_row_format = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_hive_row_format_fields. +HiveSqlVisitor.prototype.visitCreate_table_hive_row_format_fields = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options_mssql_item. +HiveSqlVisitor.prototype.visitCreate_table_options_mssql_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_table_options_mysql_item. +HiveSqlVisitor.prototype.visitCreate_table_options_mysql_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#alter_table_stmt. +HiveSqlVisitor.prototype.visitAlter_table_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#alter_table_item. +HiveSqlVisitor.prototype.visitAlter_table_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#alter_table_add_constraint. +HiveSqlVisitor.prototype.visitAlter_table_add_constraint = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#alter_table_add_constraint_item. +HiveSqlVisitor.prototype.visitAlter_table_add_constraint_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#dtype. +HiveSqlVisitor.prototype.visitDtype = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#dtype_len. +HiveSqlVisitor.prototype.visitDtype_len = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#dtype_attr. +HiveSqlVisitor.prototype.visitDtype_attr = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#dtype_default. +HiveSqlVisitor.prototype.visitDtype_default = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_database_stmt. +HiveSqlVisitor.prototype.visitCreate_database_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_database_option. +HiveSqlVisitor.prototype.visitCreate_database_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_function_stmt. +HiveSqlVisitor.prototype.visitCreate_function_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_function_return. +HiveSqlVisitor.prototype.visitCreate_function_return = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_package_stmt. +HiveSqlVisitor.prototype.visitCreate_package_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#package_spec. +HiveSqlVisitor.prototype.visitPackage_spec = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#package_spec_item. +HiveSqlVisitor.prototype.visitPackage_spec_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_package_body_stmt. +HiveSqlVisitor.prototype.visitCreate_package_body_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#package_body. +HiveSqlVisitor.prototype.visitPackage_body = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#package_body_item. +HiveSqlVisitor.prototype.visitPackage_body_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_procedure_stmt. +HiveSqlVisitor.prototype.visitCreate_procedure_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_routine_params. +HiveSqlVisitor.prototype.visitCreate_routine_params = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_routine_param_item. +HiveSqlVisitor.prototype.visitCreate_routine_param_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_routine_options. +HiveSqlVisitor.prototype.visitCreate_routine_options = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_routine_option. +HiveSqlVisitor.prototype.visitCreate_routine_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#drop_stmt. +HiveSqlVisitor.prototype.visitDrop_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#end_transaction_stmt. +HiveSqlVisitor.prototype.visitEnd_transaction_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#exec_stmt. +HiveSqlVisitor.prototype.visitExec_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#if_stmt. +HiveSqlVisitor.prototype.visitIf_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#if_plsql_stmt. +HiveSqlVisitor.prototype.visitIf_plsql_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#if_tsql_stmt. +HiveSqlVisitor.prototype.visitIf_tsql_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#if_bteq_stmt. +HiveSqlVisitor.prototype.visitIf_bteq_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#elseif_block. +HiveSqlVisitor.prototype.visitElseif_block = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#else_block. +HiveSqlVisitor.prototype.visitElse_block = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#include_stmt. +HiveSqlVisitor.prototype.visitInclude_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#insert_stmt. +HiveSqlVisitor.prototype.visitInsert_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#insert_stmt_cols. +HiveSqlVisitor.prototype.visitInsert_stmt_cols = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#insert_stmt_rows. +HiveSqlVisitor.prototype.visitInsert_stmt_rows = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#insert_stmt_row. +HiveSqlVisitor.prototype.visitInsert_stmt_row = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#insert_directory_stmt. +HiveSqlVisitor.prototype.visitInsert_directory_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#exit_stmt. +HiveSqlVisitor.prototype.visitExit_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#get_diag_stmt. +HiveSqlVisitor.prototype.visitGet_diag_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#get_diag_stmt_item. +HiveSqlVisitor.prototype.visitGet_diag_stmt_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#get_diag_stmt_exception_item. +HiveSqlVisitor.prototype.visitGet_diag_stmt_exception_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#get_diag_stmt_rowcount_item. +HiveSqlVisitor.prototype.visitGet_diag_stmt_rowcount_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#grant_stmt. +HiveSqlVisitor.prototype.visitGrant_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#grant_stmt_item. +HiveSqlVisitor.prototype.visitGrant_stmt_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#leave_stmt. +HiveSqlVisitor.prototype.visitLeave_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#map_object_stmt. +HiveSqlVisitor.prototype.visitMap_object_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#open_stmt. +HiveSqlVisitor.prototype.visitOpen_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#fetch_stmt. +HiveSqlVisitor.prototype.visitFetch_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#collect_stats_stmt. +HiveSqlVisitor.prototype.visitCollect_stats_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#collect_stats_clause. +HiveSqlVisitor.prototype.visitCollect_stats_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#close_stmt. +HiveSqlVisitor.prototype.visitClose_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#cmp_stmt. +HiveSqlVisitor.prototype.visitCmp_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#cmp_source. +HiveSqlVisitor.prototype.visitCmp_source = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#copy_from_local_stmt. +HiveSqlVisitor.prototype.visitCopy_from_local_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#copy_stmt. +HiveSqlVisitor.prototype.visitCopy_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#copy_source. +HiveSqlVisitor.prototype.visitCopy_source = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#copy_target. +HiveSqlVisitor.prototype.visitCopy_target = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#copy_option. +HiveSqlVisitor.prototype.visitCopy_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#copy_file_option. +HiveSqlVisitor.prototype.visitCopy_file_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#commit_stmt. +HiveSqlVisitor.prototype.visitCommit_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_index_stmt. +HiveSqlVisitor.prototype.visitCreate_index_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#create_index_col. +HiveSqlVisitor.prototype.visitCreate_index_col = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#index_storage_clause. +HiveSqlVisitor.prototype.visitIndex_storage_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#index_mssql_storage_clause. +HiveSqlVisitor.prototype.visitIndex_mssql_storage_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#print_stmt. +HiveSqlVisitor.prototype.visitPrint_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#quit_stmt. +HiveSqlVisitor.prototype.visitQuit_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#raise_stmt. +HiveSqlVisitor.prototype.visitRaise_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#resignal_stmt. +HiveSqlVisitor.prototype.visitResignal_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#return_stmt. +HiveSqlVisitor.prototype.visitReturn_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#rollback_stmt. +HiveSqlVisitor.prototype.visitRollback_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#set_session_option. +HiveSqlVisitor.prototype.visitSet_session_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#set_current_schema_option. +HiveSqlVisitor.prototype.visitSet_current_schema_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#set_mssql_session_option. +HiveSqlVisitor.prototype.visitSet_mssql_session_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#set_teradata_session_option. +HiveSqlVisitor.prototype.visitSet_teradata_session_option = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#signal_stmt. +HiveSqlVisitor.prototype.visitSignal_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#summary_stmt. +HiveSqlVisitor.prototype.visitSummary_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#truncate_stmt. +HiveSqlVisitor.prototype.visitTruncate_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#use_stmt. +HiveSqlVisitor.prototype.visitUse_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#values_into_stmt. +HiveSqlVisitor.prototype.visitValues_into_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#while_stmt. +HiveSqlVisitor.prototype.visitWhile_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#for_cursor_stmt. +HiveSqlVisitor.prototype.visitFor_cursor_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#for_range_stmt. +HiveSqlVisitor.prototype.visitFor_range_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#label. +HiveSqlVisitor.prototype.visitLabel = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#using_clause. +HiveSqlVisitor.prototype.visitUsing_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_stmt. +HiveSqlVisitor.prototype.visitSelect_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#cte_select_stmt. +HiveSqlVisitor.prototype.visitCte_select_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#cte_select_stmt_item. +HiveSqlVisitor.prototype.visitCte_select_stmt_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#cte_select_cols. +HiveSqlVisitor.prototype.visitCte_select_cols = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#fullselect_stmt. +HiveSqlVisitor.prototype.visitFullselect_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#fullselect_stmt_item. +HiveSqlVisitor.prototype.visitFullselect_stmt_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#fullselect_set_clause. +HiveSqlVisitor.prototype.visitFullselect_set_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#subselect_stmt. +HiveSqlVisitor.prototype.visitSubselect_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_list. +HiveSqlVisitor.prototype.visitSelect_list = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_list_set. +HiveSqlVisitor.prototype.visitSelect_list_set = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_list_limit. +HiveSqlVisitor.prototype.visitSelect_list_limit = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_list_item. +HiveSqlVisitor.prototype.visitSelect_list_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_list_alias. +HiveSqlVisitor.prototype.visitSelect_list_alias = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_list_asterisk. +HiveSqlVisitor.prototype.visitSelect_list_asterisk = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#into_clause. +HiveSqlVisitor.prototype.visitInto_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_clause. +HiveSqlVisitor.prototype.visitFrom_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_table_clause. +HiveSqlVisitor.prototype.visitFrom_table_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_table_name_clause. +HiveSqlVisitor.prototype.visitFrom_table_name_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_subselect_clause. +HiveSqlVisitor.prototype.visitFrom_subselect_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_join_clause. +HiveSqlVisitor.prototype.visitFrom_join_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_join_type_clause. +HiveSqlVisitor.prototype.visitFrom_join_type_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_table_values_clause. +HiveSqlVisitor.prototype.visitFrom_table_values_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_table_values_row. +HiveSqlVisitor.prototype.visitFrom_table_values_row = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#from_alias_clause. +HiveSqlVisitor.prototype.visitFrom_alias_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#table_name. +HiveSqlVisitor.prototype.visitTable_name = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#where_clause. +HiveSqlVisitor.prototype.visitWhere_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#group_by_clause. +HiveSqlVisitor.prototype.visitGroup_by_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#having_clause. +HiveSqlVisitor.prototype.visitHaving_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#qualify_clause. +HiveSqlVisitor.prototype.visitQualify_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#order_by_clause. +HiveSqlVisitor.prototype.visitOrder_by_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_options. +HiveSqlVisitor.prototype.visitSelect_options = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#select_options_item. +HiveSqlVisitor.prototype.visitSelect_options_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#update_stmt. +HiveSqlVisitor.prototype.visitUpdate_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#update_assignment. +HiveSqlVisitor.prototype.visitUpdate_assignment = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#update_table. +HiveSqlVisitor.prototype.visitUpdate_table = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#update_upsert. +HiveSqlVisitor.prototype.visitUpdate_upsert = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#merge_stmt. +HiveSqlVisitor.prototype.visitMerge_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#merge_table. +HiveSqlVisitor.prototype.visitMerge_table = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#merge_condition. +HiveSqlVisitor.prototype.visitMerge_condition = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#merge_action. +HiveSqlVisitor.prototype.visitMerge_action = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#delete_stmt. +HiveSqlVisitor.prototype.visitDelete_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#delete_alias. +HiveSqlVisitor.prototype.visitDelete_alias = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#describe_stmt. +HiveSqlVisitor.prototype.visitDescribe_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr. +HiveSqlVisitor.prototype.visitBool_expr = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr_atom. +HiveSqlVisitor.prototype.visitBool_expr_atom = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr_unary. +HiveSqlVisitor.prototype.visitBool_expr_unary = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr_single_in. +HiveSqlVisitor.prototype.visitBool_expr_single_in = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr_multi_in. +HiveSqlVisitor.prototype.visitBool_expr_multi_in = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr_binary. +HiveSqlVisitor.prototype.visitBool_expr_binary = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr_logical_operator. +HiveSqlVisitor.prototype.visitBool_expr_logical_operator = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_expr_binary_operator. +HiveSqlVisitor.prototype.visitBool_expr_binary_operator = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr. +HiveSqlVisitor.prototype.visitExpr = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_atom. +HiveSqlVisitor.prototype.visitExpr_atom = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_interval. +HiveSqlVisitor.prototype.visitExpr_interval = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#interval_item. +HiveSqlVisitor.prototype.visitInterval_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_concat. +HiveSqlVisitor.prototype.visitExpr_concat = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_concat_item. +HiveSqlVisitor.prototype.visitExpr_concat_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_case. +HiveSqlVisitor.prototype.visitExpr_case = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_case_simple. +HiveSqlVisitor.prototype.visitExpr_case_simple = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_case_searched. +HiveSqlVisitor.prototype.visitExpr_case_searched = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_cursor_attribute. +HiveSqlVisitor.prototype.visitExpr_cursor_attribute = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_agg_window_func. +HiveSqlVisitor.prototype.visitExpr_agg_window_func = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_func_all_distinct. +HiveSqlVisitor.prototype.visitExpr_func_all_distinct = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_func_over_clause. +HiveSqlVisitor.prototype.visitExpr_func_over_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_func_partition_by_clause. +HiveSqlVisitor.prototype.visitExpr_func_partition_by_clause = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_spec_func. +HiveSqlVisitor.prototype.visitExpr_spec_func = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_func. +HiveSqlVisitor.prototype.visitExpr_func = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_func_params. +HiveSqlVisitor.prototype.visitExpr_func_params = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#func_param. +HiveSqlVisitor.prototype.visitFunc_param = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_select. +HiveSqlVisitor.prototype.visitExpr_select = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#expr_file. +HiveSqlVisitor.prototype.visitExpr_file = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#hive. +HiveSqlVisitor.prototype.visitHive = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#hive_item. +HiveSqlVisitor.prototype.visitHive_item = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#host. +HiveSqlVisitor.prototype.visitHost = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#host_cmd. +HiveSqlVisitor.prototype.visitHost_cmd = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#host_stmt. +HiveSqlVisitor.prototype.visitHost_stmt = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#file_name. +HiveSqlVisitor.prototype.visitFile_name = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#date_literal. +HiveSqlVisitor.prototype.visitDate_literal = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#timestamp_literal. +HiveSqlVisitor.prototype.visitTimestamp_literal = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#ident. +HiveSqlVisitor.prototype.visitIdent = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#single_quotedString. +HiveSqlVisitor.prototype.visitSingle_quotedString = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#double_quotedString. +HiveSqlVisitor.prototype.visitDouble_quotedString = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#int_number. +HiveSqlVisitor.prototype.visitInt_number = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#dec_number. +HiveSqlVisitor.prototype.visitDec_number = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#bool_literal. +HiveSqlVisitor.prototype.visitBool_literal = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#null_const. +HiveSqlVisitor.prototype.visitNull_const = function(ctx) { + return this.visitChildren(ctx); +}; + + +// Visit a parse tree produced by HiveSql#non_reserved_words. +HiveSqlVisitor.prototype.visitNon_reserved_words = function(ctx) { + return this.visitChildren(ctx); +}; + + + +exports.HiveSqlVisitor = HiveSqlVisitor; \ No newline at end of file diff --git a/src/parser/hive.ts b/src/parser/hive.ts index d4b1c4f..f9f81df 100644 --- a/src/parser/hive.ts +++ b/src/parser/hive.ts @@ -1,8 +1,8 @@ import { InputStream, CommonTokenStream, Lexer } from 'antlr4'; import { HiveSqlLexer } from '../lib/hive/HiveSqlLexer'; -import { HiveSqlParser } from '../lib/hive/HiveSqlParser'; -export * from '../lib/hive/HiveSqlParserListener'; -export * from '../lib/hive/HiveSqlParserVisitor'; +import { HiveSql } from '../lib/hive/HiveSql'; +export * from '../lib/hive/HiveSqlListener'; +export * from '../lib/hive/HiveSqlVisitor'; import BasicParser from './common/BasicParser'; @@ -14,7 +14,7 @@ export default class HiveSQL extends BasicParser { } public createParserFromLexer(lexer: Lexer) { const tokenStream = new CommonTokenStream(lexer); - return new HiveSqlParser(tokenStream); + return new HiveSql(tokenStream); } }