UNPKG

flink-sql-language-server

Version:

A LSP-based language server for Apache Flink SQL

1,264 lines 209 kB
import { ATN } from "antlr4ts/atn/ATN"; import { FailedPredicateException } from "antlr4ts/FailedPredicateException"; import { Parser } from "antlr4ts/Parser"; import { ParserRuleContext } from "antlr4ts/ParserRuleContext"; import { RuleContext } from "antlr4ts/RuleContext"; import { TerminalNode } from "antlr4ts/tree/TerminalNode"; import { Token } from "antlr4ts/Token"; import { TokenStream } from "antlr4ts/TokenStream"; import { Vocabulary } from "antlr4ts/Vocabulary"; import { FlinkSQLParserListener } from "./FlinkSQLParserListener"; import { FlinkSQLParserVisitor } from "./FlinkSQLParserVisitor"; export declare class FlinkSQLParser extends Parser { static readonly SPACE = 1; static readonly BLOCK_COMMENT = 2; static readonly LINE_COMMENT = 3; static readonly L_HINT = 4; static readonly R_HINT = 5; static readonly L_BRACE_SLASH = 6; static readonly R_BRACE_SLASH = 7; static readonly STAR_QUESTION = 8; static readonly PLUS_QUESTION = 9; static readonly QUESTION_QUESTION = 10; static readonly DOUBLE_VERTICAL_BAR = 11; static readonly COMPOUND_ARROW = 12; static readonly DOT = 13; static readonly COLON = 14; static readonly COMMA = 15; static readonly SEMICOLON = 16; static readonly VERTICAL_BAR = 17; static readonly DOLLAR_SIGN = 18; static readonly CARET = 19; static readonly QUESTION = 20; static readonly PLUS = 21; static readonly SLASH = 22; static readonly ASTERISK = 23; static readonly DIVIDE = 24; static readonly PERCENTAGE = 25; static readonly SINGLE_QUOTE = 26; static readonly DOUBLE_QUOTE = 27; static readonly BACK_QUOTE = 28; static readonly UNDERLINE = 29; static readonly L_PARENTHESIS = 30; static readonly R_PARENTHESIS = 31; static readonly L_BRACKET = 32; static readonly R_BRACKET = 33; static readonly L_BRACE = 34; static readonly R_BRACE = 35; static readonly EQUAL = 36; static readonly DOUBLE_EQUAL = 37; static readonly NOT_EQUAL = 38; static readonly IS_EQUAL_NULL = 39; static readonly UNEQUAL = 40; static readonly GREATER = 41; static readonly GREATER_OR_EQUAL = 42; static readonly LESS = 43; static readonly LESS_OR_EQUAL = 44; static readonly ABS = 45; static readonly ALL = 46; static readonly ALLOCATE = 47; static readonly ALLOW = 48; static readonly ALTER = 49; static readonly AND = 50; static readonly K_ANY = 51; static readonly ARE = 52; static readonly ARRAY = 53; static readonly ARRAY_MAX_CARDINALITY = 54; static readonly AS = 55; static readonly ASENSITIVE = 56; static readonly ASYMMETRIC = 57; static readonly AT = 58; static readonly ATOMIC = 59; static readonly AUTHORIZATION = 60; static readonly AUTO = 61; static readonly AVG = 62; static readonly BEGIN = 63; static readonly BEGIN_FRAME = 64; static readonly BEGIN_PARTITION = 65; static readonly BETWEEN = 66; static readonly BIGINT = 67; static readonly BINARY = 68; static readonly BIT = 69; static readonly BLOB = 70; static readonly BOOLEAN = 71; static readonly BOTH = 72; static readonly BUCKETS = 73; static readonly BY = 74; static readonly CALL = 75; static readonly CALLED = 76; static readonly CARDINALITY = 77; static readonly CASCADED = 78; static readonly CASE = 79; static readonly CAST = 80; static readonly CEIL = 81; static readonly CEILING = 82; static readonly CHANGELOG_MODE = 83; static readonly CHAR = 84; static readonly CHARACTER = 85; static readonly CHARACTER_LENGTH = 86; static readonly CHAR_LENGTH = 87; static readonly CHECK = 88; static readonly CLASSIFIER = 89; static readonly CLOB = 90; static readonly CLOSE = 91; static readonly COALESCE = 92; static readonly COLLATE = 93; static readonly COLLECT = 94; static readonly COLUMN = 95; static readonly COMMIT = 96; static readonly CONDITION = 97; static readonly CONNECT = 98; static readonly CONSTRAINT = 99; static readonly CONTAINS = 100; static readonly CONTINUOUS = 101; static readonly CONVERT = 102; static readonly CORR = 103; static readonly CORRESPONDING = 104; static readonly COUNT = 105; static readonly COVAR_POP = 106; static readonly COVAR_SAMP = 107; static readonly CREATE = 108; static readonly CROSS = 109; static readonly CUBE = 110; static readonly CUME_DIST = 111; static readonly CURRENT = 112; static readonly CURRENT_CATALOG = 113; static readonly CURRENT_DATE = 114; static readonly CURRENT_DEFAULT_TRANSFORM_GROUP = 115; static readonly CURRENT_PATH = 116; static readonly CURRENT_ROLE = 117; static readonly CURRENT_ROW = 118; static readonly CURRENT_SCHEMA = 119; static readonly CURRENT_TIME = 120; static readonly CURRENT_TIMESTAMP = 121; static readonly CURRENT_TRANSFORM_GROUP_FOR_TYPE = 122; static readonly CURRENT_USER = 123; static readonly CURSOR = 124; static readonly CYCLE = 125; static readonly DATE = 126; static readonly DAY = 127; static readonly DEALLOCATE = 128; static readonly DEC = 129; static readonly DECIMAL = 130; static readonly DECLARE = 131; static readonly DEFAULT = 132; static readonly DEFINE = 133; static readonly DELETE = 134; static readonly DENSE_RANK = 135; static readonly DEREF = 136; static readonly DESCRIBE = 137; static readonly DETERMINISTIC = 138; static readonly DISALLOW = 139; static readonly DISCONNECT = 140; static readonly DISTINCT = 141; static readonly DISTRIBUTED = 142; static readonly DISTRIBUTION = 143; static readonly DOUBLE = 144; static readonly DROP = 145; static readonly DYNAMIC = 146; static readonly EACH = 147; static readonly ELEMENT = 148; static readonly ELSE = 149; static readonly EMPTY = 150; static readonly END = 151; static readonly END_EXEC = 152; static readonly END_FRAME = 153; static readonly END_PARTITION = 154; static readonly EQUALS = 155; static readonly ESCAPE = 156; static readonly ESTIMATED_COST = 157; static readonly EVERY = 158; static readonly EXCEPT = 159; static readonly EXEC = 160; static readonly EXECUTE = 161; static readonly EXISTS = 162; static readonly EXP = 163; static readonly EXPLAIN = 164; static readonly EXTEND = 165; static readonly EXTERNAL = 166; static readonly EXTRACT = 167; static readonly FALSE = 168; static readonly FETCH = 169; static readonly FILTER = 170; static readonly FIRST_VALUE = 171; static readonly FLOAT = 172; static readonly FLOOR = 173; static readonly FOR = 174; static readonly FOREIGN = 175; static readonly FRAME_ROW = 176; static readonly FREE = 177; static readonly FRESHNESS = 178; static readonly FROM = 179; static readonly FULL = 180; static readonly FUNCTION = 181; static readonly FUSION = 182; static readonly GAP = 183; static readonly GET = 184; static readonly GLOB = 185; static readonly GLOBAL = 186; static readonly GRANT = 187; static readonly GROUP = 188; static readonly GROUPING = 189; static readonly GROUPS = 190; static readonly HAVING = 191; static readonly HOLD = 192; static readonly HOUR = 193; static readonly IDENTITY = 194; static readonly IMPORT = 195; static readonly IN = 196; static readonly INDICATOR = 197; static readonly INITIAL = 198; static readonly INNER = 199; static readonly INOUT = 200; static readonly INSENSITIVE = 201; static readonly INSERT = 202; static readonly INT = 203; static readonly INTEGER = 204; static readonly INTERSECT = 205; static readonly INTERSECTION = 206; static readonly INTERVAL = 207; static readonly INTO = 208; static readonly IS = 209; static readonly JOIN = 210; static readonly JSON_ARRAY = 211; static readonly JSON_ARRAYAGG = 212; static readonly JSON_EXECUTION_PLAN = 213; static readonly JSON_EXISTS = 214; static readonly JSON_OBJECT = 215; static readonly JSON_OBJECTAGG = 216; static readonly JSON_QUERY = 217; static readonly JSON_VALUE = 218; static readonly LAG = 219; static readonly LANGUAGE = 220; static readonly LARGE = 221; static readonly LAST_VALUE = 222; static readonly LATERAL = 223; static readonly LEAD = 224; static readonly LEADING = 225; static readonly LEFT = 226; static readonly LIKE = 227; static readonly LIKE_REGEX = 228; static readonly LIMIT = 229; static readonly LN = 230; static readonly LOCAL = 231; static readonly LOCALTIME = 232; static readonly LOCALTIMESTAMP = 233; static readonly LOWER = 234; static readonly MATCH = 235; static readonly MATCHES = 236; static readonly MATCH_NUMBER = 237; static readonly MATCH_RECOGNIZE = 238; static readonly MATERIALIZED = 239; static readonly MAX = 240; static readonly MEASURES = 241; static readonly MEMBER = 242; static readonly MERGE = 243; static readonly METHOD = 244; static readonly MIN = 245; static readonly MINUS = 246; static readonly MINUTE = 247; static readonly MOD = 248; static readonly MODIFIES = 249; static readonly MODULE = 250; static readonly MONTH = 251; static readonly MULTISET = 252; static readonly NATIONAL = 253; static readonly NATURAL = 254; static readonly NCHAR = 255; static readonly NCLOB = 256; static readonly NEW = 257; static readonly NEXT = 258; static readonly NO = 259; static readonly NONE = 260; static readonly NORMALIZE = 261; static readonly NOT = 262; static readonly NTH_VALUE = 263; static readonly NTILE = 264; static readonly NULL = 265; static readonly NULLIF = 266; static readonly NUMERIC = 267; static readonly OCCURRENCES_REGEX = 268; static readonly OCTET_LENGTH = 269; static readonly OF = 270; static readonly OFFSET = 271; static readonly OLD = 272; static readonly OMIT = 273; static readonly ON = 274; static readonly ONE = 275; static readonly ONLY = 276; static readonly OPEN = 277; static readonly OPTIMIZE = 278; static readonly OR = 279; static readonly ORDER = 280; static readonly OUT = 281; static readonly OUTER = 282; static readonly OVER = 283; static readonly OVERLAPS = 284; static readonly OVERLAY = 285; static readonly PARAMETER = 286; static readonly PARTITION = 287; static readonly PATTERN = 288; static readonly PER = 289; static readonly PERCENT = 290; static readonly PERCENTILE_CONT = 291; static readonly PERCENTILE_DISC = 292; static readonly PERCENT_RANK = 293; static readonly PERIOD = 294; static readonly PERMUTE = 295; static readonly PORTION = 296; static readonly POSITION = 297; static readonly POSITION_REGEX = 298; static readonly POWER = 299; static readonly PRECEDES = 300; static readonly PRECISION = 301; static readonly PREPARE = 302; static readonly PREV = 303; static readonly PRIMARY = 304; static readonly PROCEDURE = 305; static readonly RANGE = 306; static readonly RANK = 307; static readonly READS = 308; static readonly REAL = 309; static readonly RECURSIVE = 310; static readonly REF = 311; static readonly REFERENCES = 312; static readonly REFERENCING = 313; static readonly REFRESH = 314; static readonly REFRESH_MODE = 315; static readonly REGR_AVGX = 316; static readonly REGR_AVGY = 317; static readonly REGR_COUNT = 318; static readonly REGR_INTERCEPT = 319; static readonly REGR_R2 = 320; static readonly REGR_SLOPE = 321; static readonly REGR_SXX = 322; static readonly REGR_SXY = 323; static readonly REGR_SYY = 324; static readonly RESET = 325; static readonly RESULT = 326; static readonly RESUME = 327; static readonly RETURN = 328; static readonly RETURNS = 329; static readonly REVOKE = 330; static readonly RIGHT = 331; static readonly ROLLBACK = 332; static readonly ROLLUP = 333; static readonly ROW = 334; static readonly ROWS = 335; static readonly ROW_NUMBER = 336; static readonly RUNNING = 337; static readonly SAVEPOINT = 338; static readonly SCOPE = 339; static readonly SCROLL = 340; static readonly SEARCH = 341; static readonly SECOND = 342; static readonly SEEK = 343; static readonly SELECT = 344; static readonly SENSITIVE = 345; static readonly SESSION_USER = 346; static readonly SET = 347; static readonly SHOW = 348; static readonly SIMILAR = 349; static readonly SKIP_W = 350; static readonly SMALLINT = 351; static readonly SOME = 352; static readonly SPECIFIC = 353; static readonly SPECIFICTYPE = 354; static readonly SQL = 355; static readonly SQLEXCEPTION = 356; static readonly SQLSTATE = 357; static readonly SQLWARNING = 358; static readonly SQRT = 359; static readonly START = 360; static readonly STATIC = 361; static readonly STDDEV_POP = 362; static readonly STDDEV_SAMP = 363; static readonly STREAM = 364; static readonly SUBMULTISET = 365; static readonly SUBSET = 366; static readonly SUBSTRING = 367; static readonly SUBSTRING_REGEX = 368; static readonly SUCCEEDS = 369; static readonly SUM = 370; static readonly SUSPEND = 371; static readonly SYMMETRIC = 372; static readonly SYSTEM = 373; static readonly SYSTEM_TIME = 374; static readonly SYSTEM_USER = 375; static readonly TABLE = 376; static readonly TABLESAMPLE = 377; static readonly THEN = 378; static readonly TIME = 379; static readonly TIMESTAMP = 380; static readonly TIMEZONE_HOUR = 381; static readonly TIMEZONE_MINUTE = 382; static readonly TINYINT = 383; static readonly TO = 384; static readonly TRAILING = 385; static readonly TRANSLATE = 386; static readonly TRANSLATE_REGEX = 387; static readonly TRANSLATION = 388; static readonly TREAT = 389; static readonly TRIGGER = 390; static readonly TRIM = 391; static readonly TRIM_ARRRAY = 392; static readonly TRUE = 393; static readonly TRUNCATE = 394; static readonly UESCAPE = 395; static readonly UNION = 396; static readonly UNIQUE = 397; static readonly UNKNOWN = 398; static readonly UNNEST = 399; static readonly UPDATE = 400; static readonly UPPER = 401; static readonly UPSERT = 402; static readonly USER = 403; static readonly USING = 404; static readonly VALUE = 405; static readonly VALUES = 406; static readonly VALUE_OF = 407; static readonly VARBINARY = 408; static readonly VARCHAR = 409; static readonly VARYING = 410; static readonly VAR_POP = 411; static readonly VAR_SAMP = 412; static readonly VERSIONING = 413; static readonly WHEN = 414; static readonly WHENEVER = 415; static readonly WHERE = 416; static readonly WIDTH_BUCKET = 417; static readonly WINDOW = 418; static readonly WITH = 419; static readonly WITHIN = 420; static readonly WITHOUT = 421; static readonly YEAR = 422; static readonly ABSENT = 423; static readonly ACTION = 424; static readonly ADD = 425; static readonly AFTER = 426; static readonly APPLY = 427; static readonly ASC = 428; static readonly CASCADE = 429; static readonly CATALOG = 430; static readonly CENTURY = 431; static readonly CONDITIONAL = 432; static readonly CONSTRAINTS = 433; static readonly DATA = 434; static readonly DATABASE = 435; static readonly DAYS = 436; static readonly DECADE = 437; static readonly DESC = 438; static readonly DOW = 439; static readonly DOY = 440; static readonly EPOCH = 441; static readonly ERROR = 442; static readonly EXCLUDING = 443; static readonly FIRST = 444; static readonly FORMAT = 445; static readonly FRAC_SECOND = 446; static readonly GENERATED = 447; static readonly GEOMETRY = 448; static readonly GO = 449; static readonly HASH = 450; static readonly HOP = 451; static readonly HOURS = 452; static readonly IGNORE = 453; static readonly INCLUDING = 454; static readonly ISODOW = 455; static readonly ISOYEAR = 456; static readonly JAVA = 457; static readonly JSON = 458; static readonly KEY = 459; static readonly LAST = 460; static readonly MAP = 461; static readonly MICROSECOND = 462; static readonly MILLENNIUM = 463; static readonly MILLISECOND = 464; static readonly MINUTES = 465; static readonly MONTHS = 466; static readonly NANOSECOND = 467; static readonly NULLS = 468; static readonly OBJECT = 469; static readonly OPTIONS = 470; static readonly ORDINALITY = 471; static readonly PARTIAL = 472; static readonly PAST = 473; static readonly PIVOT = 474; static readonly PLACING = 475; static readonly PLAN = 476; static readonly PLI = 477; static readonly PRECEDING = 478; static readonly QUARTER = 479; static readonly REPLACE = 480; static readonly RESPECT = 481; static readonly RESTRICT = 482; static readonly RETURNING = 483; static readonly SCALAR = 484; static readonly SECONDS = 485; static readonly SESSION = 486; static readonly SETS = 487; static readonly SIZE = 488; static readonly SQL_TSI_DAY = 489; static readonly SQL_TSI_FRAC_SECOND = 490; static readonly SQL_TSI_HOUR = 491; static readonly SQL_TSI_MICROSECOND = 492; static readonly SQL_TSI_MINUTE = 493; static readonly SQL_TSI_MONTH = 494; static readonly SQL_TSI_QUARTER = 495; static readonly SQL_TSI_SECOND = 496; static readonly SQL_TSI_WEEK = 497; static readonly SQL_TSI_YEAR = 498; static readonly STATEMENT = 499; static readonly TEMPORARY = 500; static readonly TUMBLE = 501; static readonly UNCONDITIONAL = 502; static readonly UNPIVOT = 503; static readonly VIEW = 504; static readonly WEEK = 505; static readonly WRAPPER = 506; static readonly YEARS = 507; static readonly ZONE = 508; static readonly ANALYZE = 509; static readonly BYTES = 510; static readonly CATALOGS = 511; static readonly COMMENT = 512; static readonly COMPUTE = 513; static readonly COLUMNS = 514; static readonly CUMULATE = 515; static readonly CURVE = 516; static readonly DATABASES = 517; static readonly ENFORCED = 518; static readonly FUNCTIONS = 519; static readonly GEOMETRYCOLLECTION = 520; static readonly IF = 521; static readonly JAR = 522; static readonly LINESTRING = 523; static readonly LOAD = 524; static readonly METADATA = 525; static readonly MODULES = 526; static readonly MULTICURVE = 527; static readonly MULTILINESTRING = 528; static readonly MULTIPOINT = 529; static readonly MULTIPOLYGON = 530; static readonly MULTISURFACE = 531; static readonly OVERWRITE = 532; static readonly OVERWRITING = 533; static readonly PARTITIONED = 534; static readonly PARTITIONS = 535; static readonly PLAN_ADVICE = 536; static readonly POINT = 537; static readonly POLYHEDRALSURFACE = 538; static readonly POLYGON = 539; static readonly PYTHON = 540; static readonly RAW = 541; static readonly RENAME = 542; static readonly SCALA = 543; static readonly SLIDE = 544; static readonly STATISTICS = 545; static readonly STEP = 546; static readonly STRING = 547; static readonly SUBSTR = 548; static readonly SURFACE = 549; static readonly TABLES = 550; static readonly TIMECOL = 551; static readonly TIMESTAMP_LTZ = 552; static readonly TRY_CAST = 553; static readonly UNLOAD = 554; static readonly USE = 555; static readonly VIEWS = 556; static readonly VIRTUAL = 557; static readonly WATERMARK = 558; static readonly WATERMARKS = 559; static readonly REAL_LITERAL = 560; static readonly STRING_LITERAL = 561; static readonly IDENTIFIER = 562; static readonly BIND_PARAMETER = 563; static readonly RULE_program = 0; static readonly RULE_statements = 1; static readonly RULE_statement = 2; static readonly RULE_statementEnd = 3; static readonly RULE_end = 4; static readonly RULE_autoOptimize = 5; static readonly RULE_autoOptimizeTable = 6; static readonly RULE_autoOptimizeDatabase = 7; static readonly RULE_analyze = 8; static readonly RULE_query = 9; static readonly RULE_queryTerm = 10; static readonly RULE_queryPrimary = 11; static readonly RULE_ctes = 12; static readonly RULE_mapQuery = 13; static readonly RULE_queryOrderBy = 14; static readonly RULE_queryLimit = 15; static readonly RULE_queryOffset = 16; static readonly RULE_queryFetch = 17; static readonly RULE_withItem = 18; static readonly RULE_orderItem = 19; static readonly RULE_selectClause = 20; static readonly RULE_select = 21; static readonly RULE_projectItems = 22; static readonly RULE_fromTable = 23; static readonly RULE_where = 24; static readonly RULE_groupBy = 25; static readonly RULE_groupItems = 26; static readonly RULE_having = 27; static readonly RULE_windowSelect = 28; static readonly RULE_projectItem = 29; static readonly RULE_setQuantifier = 30; static readonly RULE_tableExpression = 31; static readonly RULE_tableExpr = 32; static readonly RULE_mapTable = 33; static readonly RULE_joinCondition = 34; static readonly RULE_commaTable = 35; static readonly RULE_tableReference = 36; static readonly RULE_tableDim = 37; static readonly RULE_tablePrimary = 38; static readonly RULE_tableSource = 39; static readonly RULE_tableLateral = 40; static readonly RULE_tableQuery = 41; static readonly RULE_hints = 42; static readonly RULE_hint = 43; static readonly RULE_hintOptions = 44; static readonly RULE_hintKVOption = 45; static readonly RULE_optionValue = 46; static readonly RULE_optionName = 47; static readonly RULE_pivot = 48; static readonly RULE_pivotAggs = 49; static readonly RULE_forPivotList = 50; static readonly RULE_pivotAgg = 51; static readonly RULE_pivotList = 52; static readonly RULE_columnOrList = 53; static readonly RULE_exprOrList = 54; static readonly RULE_inPivotExprs = 55; static readonly RULE_pivotExprs = 56; static readonly RULE_pivotExpr = 57; static readonly RULE_unpivot = 58; static readonly RULE_unpivotMeasureList = 59; static readonly RULE_unpivotAxisList = 60; static readonly RULE_unpivotValue = 61; static readonly RULE_values = 62; static readonly RULE_valuesRows = 63; static readonly RULE_valuesRowsParenthesis = 64; static readonly RULE_valueRow = 65; static readonly RULE_groupItem = 66; static readonly RULE_groupingSets = 67; static readonly RULE_parenthesisGroupItems = 68; static readonly RULE_window = 69; static readonly RULE_windowSpec = 70; static readonly RULE_rangeOrRows = 71; static readonly RULE_setStatement = 72; static readonly RULE_resetStatement = 73; static readonly RULE_alter = 74; static readonly RULE_alterTable = 75; static readonly RULE_alterView = 76; static readonly RULE_alterDatabase = 77; static readonly RULE_alterFunction = 78; static readonly RULE_alterMaterializedTable = 79; static readonly RULE_renameTo = 80; static readonly RULE_setValues = 81; static readonly RULE_explain = 82; static readonly RULE_explainDetails = 83; static readonly RULE_explainDetail = 84; static readonly RULE_describe = 85; static readonly RULE_describeCatalog = 86; static readonly RULE_describeDatabase = 87; static readonly RULE_describeTable = 88; static readonly RULE_insert = 89; static readonly RULE_partition = 90; static readonly RULE_insertMultiple = 91; static readonly RULE_executeStatementSet = 92; static readonly RULE_beginStatementSet = 93; static readonly RULE_use = 94; static readonly RULE_show = 95; static readonly RULE_ddlStatement = 96; static readonly RULE_create = 97; static readonly RULE_createTable = 98; static readonly RULE_createMaterializedTable = 99; static readonly RULE_defineValues = 100; static readonly RULE_partitionedBy = 101; static readonly RULE_distributedBy = 102; static readonly RULE_intoBuckets = 103; static readonly RULE_withValues = 104; static readonly RULE_likeTable = 105; static readonly RULE_asTable = 106; static readonly RULE_freshness = 107; static readonly RULE_refreshMode = 108; static readonly RULE_tableElement = 109; static readonly RULE_columnDefinition = 110; static readonly RULE_columnConstraint = 111; static readonly RULE_tableConstraint = 112; static readonly RULE_watermarkDefinition = 113; static readonly RULE_likeConfig = 114; static readonly RULE_likeOptions = 115; static readonly RULE_likeOption = 116; static readonly RULE_createCatalog = 117; static readonly RULE_createDatabase = 118; static readonly RULE_asDatabase = 119; static readonly RULE_includingTable = 120; static readonly RULE_excludingTable = 121; static readonly RULE_createView = 122; static readonly RULE_createFunction = 123; static readonly RULE_drop = 124; static readonly RULE_dropTable = 125; static readonly RULE_dropDatabase = 126; static readonly RULE_dropView = 127; static readonly RULE_dropFunction = 128; static readonly RULE_dropMaterializedTable = 129; static readonly RULE_addJar = 130; static readonly RULE_moduleStatement = 131; static readonly RULE_loadModule = 132; static readonly RULE_unloadModule = 133; static readonly RULE_useModules = 134; static readonly RULE_showModules = 135; static readonly RULE_type = 136; static readonly RULE_typeName = 137; static readonly RULE_sqlTypeName = 138; static readonly RULE_collectionsTypeName = 139; static readonly RULE_char = 140; static readonly RULE_varchar = 141; static readonly RULE_decimal = 142; static readonly RULE_varbinary = 143; static readonly RULE_rowType = 144; static readonly RULE_systemFunction = 145; static readonly RULE_jsonFunction = 146; static readonly RULE_jsonExistsFunction = 147; static readonly RULE_jsonValueFunction = 148; static readonly RULE_jsonQueryFunction = 149; static readonly RULE_jsonValue = 150; static readonly RULE_path = 151; static readonly RULE_jsonObjectFunction = 152; static readonly RULE_jsonObjectAggFunction = 153; static readonly RULE_jsonArrayFunction = 154; static readonly RULE_jsonArrayAggFunction = 155; static readonly RULE_jsonKeyVal = 156; static readonly RULE_jsonVal = 157; static readonly RULE_nullBehavior = 158; static readonly RULE_temporalFunction = 159; static readonly RULE_temporalOverlaps = 160; static readonly RULE_temporalDate = 161; static readonly RULE_temporalTime = 162; static readonly RULE_temporalTimestamp = 163; static readonly RULE_yearMonthInterval = 164; static readonly RULE_dayTimeInterval = 165; static readonly RULE_yearUnit = 166; static readonly RULE_monthUnit = 167; static readonly RULE_dayUnit = 168; static readonly RULE_hourUnit = 169; static readonly RULE_minuteUnit = 170; static readonly RULE_secondUnit = 171; static readonly RULE_timeIntervalUnit = 172; static readonly RULE_timePointUnit = 173; static readonly RULE_aggregateWithin = 174; static readonly RULE_aggregateFilter = 175; static readonly RULE_aggregateNulls = 176; static readonly RULE_overWindow = 177; static readonly RULE_expressions = 178; static readonly RULE_parenthesisExpressions = 179; static readonly RULE_parenthesisQuery = 180; static readonly RULE_columnAssignments = 181; static readonly RULE_columnAssignment = 182; static readonly RULE_valueAssignments = 183; static readonly RULE_valueAssignment = 184; static readonly RULE_columns = 185; static readonly RULE_columnsWithoutParenthesis = 186; static readonly RULE_comment = 187; static readonly RULE_orderBy = 188; static readonly RULE_orderItems = 189; static readonly RULE_partitionBy = 190; static readonly RULE_matchRecognize = 191; static readonly RULE_measures = 192; static readonly RULE_measureColumns = 193; static readonly RULE_perMatch = 194; static readonly RULE_afterMatch = 195; static readonly RULE_patternMatch = 196; static readonly RULE_withinMatch = 197; static readonly RULE_subsetMatch = 198; static readonly RULE_subsetItems = 199; static readonly RULE_subsetItem = 200; static readonly RULE_defineMatch = 201; static readonly RULE_defineItems = 202; static readonly RULE_defineItem = 203; static readonly RULE_measureColumn = 204; static readonly RULE_pattern = 205; static readonly RULE_patternTerm = 206; static readonly RULE_patternFactor = 207; static readonly RULE_patternPrimary = 208; static readonly RULE_patternQuantifier = 209; static readonly RULE_alias = 210; static readonly RULE_aliases = 211; static readonly RULE_keyword = 212; static readonly RULE_anyName = 213; static readonly RULE_anyNonStringName = 214; static readonly RULE_arrowWindowFunction = 215; static readonly RULE_charsetIntroducer = 216; static readonly RULE_charsetLiteral = 217; static readonly RULE_literalValue = 218; static readonly RULE_whenExpr = 219; static readonly RULE_thenExpr = 220; static readonly RULE_elseExpr = 221; static readonly RULE_caseEnd = 222; static readonly RULE_arrayConstruct = 223; static readonly RULE_compare = 224; static readonly RULE_logicalBind = 225; static readonly RULE_predicate = 226; static readonly RULE_expr = 227; static readonly RULE_booleanExpr = 228; static readonly RULE_valueExpr = 229; static readonly RULE_subQuery = 230; static readonly RULE_functionCall = 231; static readonly RULE_primaryExpr = 232; static readonly RULE_string = 233; static readonly RULE_name = 234; static readonly RULE_columnName = 235; static readonly RULE_tableName = 236; static readonly RULE_databaseName = 237; static readonly RULE_catalogName = 238; static readonly RULE_viewName = 239; static readonly RULE_functionName = 240; static readonly RULE_column = 241; static readonly RULE_view = 242; static readonly RULE_table = 243; static readonly RULE_database = 244; static readonly RULE_catalog = 245; static readonly RULE_reservedKeywords = 246; static readonly RULE_nonReservedKeywords = 247; static readonly RULE_commonKeywords = 248; static readonly ruleNames: string[]; private static readonly _LITERAL_NAMES; private static readonly _SYMBOLIC_NAMES; static readonly VOCABULARY: Vocabulary; get vocabulary(): Vocabulary; get grammarFileName(): string; get ruleNames(): string[]; get serializedATN(): string; protected createFailedPredicateException(predicate?: string, message?: string): FailedPredicateException; constructor(input: TokenStream); program(): ProgramContext; statements(): StatementsContext; statement(): StatementContext; statementEnd(): StatementEndContext; end(): EndContext; autoOptimize(): AutoOptimizeContext; autoOptimizeTable(): AutoOptimizeTableContext; autoOptimizeDatabase(): AutoOptimizeDatabaseContext; analyze(): AnalyzeContext; query(): QueryContext; queryTerm(): QueryTermContext; queryPrimary(): QueryPrimaryContext; ctes(): CtesContext; mapQuery(): MapQueryContext; queryOrderBy(): QueryOrderByContext; queryLimit(): QueryLimitContext; queryOffset(): QueryOffsetContext; queryFetch(): QueryFetchContext; withItem(): WithItemContext; orderItem(): OrderItemContext; selectClause(): SelectClauseContext; select(): SelectContext; projectItems(): ProjectItemsContext; fromTable(): FromTableContext; where(): WhereContext; groupBy(): GroupByContext; groupItems(): GroupItemsContext; having(): HavingContext; windowSelect(): WindowSelectContext; projectItem(): ProjectItemContext; setQuantifier(): SetQuantifierContext; tableExpression(): TableExpressionContext; tableExpr(): TableExprContext; mapTable(): MapTableContext; joinCondition(): JoinConditionContext; commaTable(): CommaTableContext; tableReference(): TableReferenceContext; tableDim(): TableDimContext; tablePrimary(): TablePrimaryContext; tableSource(): TableSourceContext; tableLateral(): TableLateralContext; tableQuery(): TableQueryContext; hints(): HintsContext; hint(): HintContext; hintOptions(): HintOptionsContext; hintKVOption(): HintKVOptionContext; optionValue(): OptionValueContext; optionName(): OptionNameContext; pivot(): PivotContext; pivotAggs(): PivotAggsContext; forPivotList(): ForPivotListContext; pivotAgg(): PivotAggContext; pivotList(): PivotListContext; columnOrList(): ColumnOrListContext; exprOrList(): ExprOrListContext; inPivotExprs(): InPivotExprsContext; pivotExprs(): PivotExprsContext; pivotExpr(): PivotExprContext; unpivot(): UnpivotContext; unpivotMeasureList(): UnpivotMeasureListContext; unpivotAxisList(): UnpivotAxisListContext; unpivotValue(): UnpivotValueContext; values(): ValuesContext; valuesRows(): ValuesRowsContext; valuesRowsParenthesis(): ValuesRowsParenthesisContext; valueRow(): ValueRowContext; groupItem(): GroupItemContext; groupingSets(): GroupingSetsContext; parenthesisGroupItems(): ParenthesisGroupItemsContext; window(): WindowContext; windowSpec(): WindowSpecContext; rangeOrRows(): RangeOrRowsContext; setStatement(): SetStatementContext; resetStatement(): ResetStatementContext; alter(): AlterContext; alterTable(): AlterTableContext; alterView(): AlterViewContext; alterDatabase(): AlterDatabaseContext; alterFunction(): AlterFunctionContext; alterMaterializedTable(): AlterMaterializedTableContext; renameTo(): RenameToContext; setValues(): SetValuesContext; explain(): ExplainContext; explainDetails(): ExplainDetailsContext; explainDetail(): ExplainDetailContext; describe(): DescribeContext; describeCatalog(): DescribeCatalogContext; describeDatabase(): DescribeDatabaseContext; describeTable(): DescribeTableContext; insert(): InsertContext; partition(): PartitionContext; insertMultiple(): InsertMultipleContext; executeStatementSet(): ExecuteStatementSetContext; beginStatementSet(): BeginStatementSetContext; use(): UseContext; show(): ShowContext; ddlStatement(): DdlStatementContext; create(): CreateContext; createTable(): CreateTableContext; createMaterializedTable(): CreateMaterializedTableContext; defineValues(): DefineValuesContext; partitionedBy(): PartitionedByContext; distributedBy(): DistributedByContext; intoBuckets(): IntoBucketsContext; withValues(): WithValuesContext; likeTable(): LikeTableContext; asTable(): AsTableContext; freshness(): FreshnessContext; refreshMode(): RefreshModeContext; tableElement(): TableElementContext; columnDefinition(): ColumnDefinitionContext; columnConstraint(): ColumnConstraintContext; tableConstraint(): TableConstraintContext; watermarkDefinition(): WatermarkDefinitionContext; likeConfig(): LikeConfigContext; likeOptions(): LikeOptionsContext; likeOption(): LikeOptionContext; createCatalog(): CreateCatalogContext; createDatabase(): CreateDatabaseContext; asDatabase(): AsDatabaseContext; includingTable(): IncludingTableContext; excludingTable(): ExcludingTableContext; createView(): CreateViewContext; createFunction(): CreateFunctionContext; drop(): DropContext; dropTable(): DropTableContext; dropDatabase(): DropDatabaseContext; dropView(): DropViewContext; dropFunction(): DropFunctionContext; dropMaterializedTable(): DropMaterializedTableContext; addJar(): AddJarContext; moduleStatement(): ModuleStatementContext; loadModule(): LoadModuleContext; unloadModule(): UnloadModuleContext; useModules(): UseModulesContext; showModules(): ShowModulesContext; type(): TypeContext; typeName(): TypeNameContext; sqlTypeName(): SqlTypeNameContext; collectionsTypeName(): CollectionsTypeNameContext; char(): CharContext; varchar(): VarcharContext; decimal(): DecimalContext; varbinary(): VarbinaryContext; rowType(): RowTypeContext; systemFunction(): SystemFunctionContext; jsonFunction(): JsonFunctionContext; jsonExistsFunction(): JsonExistsFunctionContext; jsonValueFunction(): JsonValueFunctionContext; jsonQueryFunction(): JsonQueryFunctionContext; jsonValue(): JsonValueContext; path(): PathContext; jsonObjectFunction(): JsonObjectFunctionContext; jsonObjectAggFunction(): JsonObjectAggFunctionContext; jsonArrayFunction(): JsonArrayFunctionContext; jsonArrayAggFunction(): JsonArrayAggFunctionContext; jsonKeyVal(): JsonKeyValContext; jsonVal(): JsonValContext; nullBehavior(): NullBehaviorContext; temporalFunction(): TemporalFunctionContext; temporalOverlaps(): TemporalOverlapsContext; temporalDate(): TemporalDateContext; temporalTime(): TemporalTimeContext; temporalTimestamp(): TemporalTimestampContext; yearMonthInterval(): YearMonthIntervalContext; dayTimeInterval(): DayTimeIntervalContext; yearUnit(): YearUnitContext; monthUnit(): MonthUnitContext; dayUnit(): DayUnitContext; hourUnit(): HourUnitContext; minuteUnit(): MinuteUnitContext; secondUnit(): SecondUnitContext; timeIntervalUnit(): TimeIntervalUnitContext; timePointUnit(): TimePointUnitContext; aggregateWithin(): AggregateWithinContext; aggregateFilter(): AggregateFilterContext; aggregateNulls(): AggregateNullsContext; overWindow(): OverWindowContext; expressions(): ExpressionsContext; parenthesisExpressions(): ParenthesisExpressionsContext; parenthesisQuery(): ParenthesisQueryContext; columnAssignments(): ColumnAssignmentsContext; columnAssignment(): ColumnAssignmentContext; valueAssignments(): ValueAssignmentsContext; valueAssignment(): ValueAssignmentContext; columns(): ColumnsContext; columnsWithoutParenthesis(): ColumnsWithoutParenthesisContext; comment(): CommentContext; orderBy(): OrderByContext; orderItems(): OrderItemsContext; partitionBy(): PartitionByContext; matchRecognize(): MatchRecognizeContext; measures(): MeasuresContext; measureColumns(): MeasureColumnsContext; perMatch(): PerMatchContext; afterMatch(): AfterMatchContext; patternMatch(): PatternMatchContext; withinMatch(): WithinMatchContext; subsetMatch(): SubsetMatchContext; subsetItems(): SubsetItemsContext; subsetItem(): SubsetItemContext; defineMatch(): DefineMatchContext; defineItems(): DefineItemsContext; defineItem(): DefineItemContext; measureColumn(): MeasureColumnContext; pattern(): PatternContext; patternTerm(): PatternTermContext; patternFactor(): PatternFactorContext; patternPrimary(): PatternPrimaryContext; patternQuantifier(): PatternQuantifierContext; alias(): AliasContext; aliases(): AliasesContext; keyword(): KeywordContext; anyName(): AnyNameContext; anyNonStringName(): AnyNonStringNameContext; arrowWindowFunction(): ArrowWindowFunctionContext; charsetIntroducer(): CharsetIntroducerContext; charsetLiteral(): CharsetLiteralContext; literalValue(): LiteralValueContext; whenExpr(): WhenExprContext; thenExpr(): ThenExprContext; elseExpr(): ElseExprContext; caseEnd(): CaseEndContext; arrayConstruct(): ArrayConstructContext; compare(): CompareContext; logicalBind(): LogicalBindContext; predicate(): PredicateContext; expr(): ExprContext; booleanExpr(): BooleanExprContext; booleanExpr(_p: number): BooleanExprContext; valueExpr(): ValueExprContext; valueExpr(_p: number): ValueExprContext; subQuery(): SubQueryContext; functionCall(): FunctionCallContext; primaryExpr(): PrimaryExprContext; primaryExpr(_p: number): PrimaryExprContext; string(): StringContext; name(): NameContext; columnName(): ColumnNameContext; tableName(): TableNameContext; databaseName(): DatabaseNameContext; catalogName(): CatalogNameContext; viewName(): ViewNameContext; functionName(): FunctionNameContext; column(): ColumnContext; view(): ViewContext; table(): TableContext; database(): DatabaseContext; catalog(): CatalogContext; reservedKeywords(): ReservedKeywordsContext; nonReservedKeywords(): NonReservedKeywordsContext; commonKeywords(): CommonKeywordsContext; sempred(_localctx: RuleContext, ruleIndex: number, predIndex: number): boolean; private booleanExpr_sempred; private valueExpr_sempred; private primaryExpr_sempred; private static readonly _serializedATNSegments; private static readonly _serializedATNSegment0; private static readonly _serializedATNSegment1; private static readonly _serializedATNSegment2; private static readonly _serializedATNSegment3; private static readonly _serializedATNSegment4; private static readonly _serializedATNSegment5; static readonly _serializedATN: string; static __ATN: ATN; static get _ATN(): ATN; } export declare class ProgramContext extends ParserRuleContext { statements(): StatementsContext | undefined; EOF(): TerminalNode; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class StatementsContext extends ParserRuleContext { statement(): StatementContext[]; statement(i: number): StatementContext; statementEnd(): StatementEndContext[]; statementEnd(i: number): StatementEndContext; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class StatementContext extends ParserRuleContext { ddlStatement(): DdlStatementContext | undefined; insert(): InsertContext | undefined; insertMultiple(): InsertMultipleContext | undefined; query(): QueryContext | undefined; alter(): AlterContext | undefined; explain(): ExplainContext | undefined; autoOptimize(): AutoOptimizeContext | undefined; setStatement(): SetStatementContext | undefined; resetStatement(): ResetStatementContext | undefined; analyze(): AnalyzeContext | undefined; describe(): DescribeContext | undefined; use(): UseContext | undefined; show(): ShowContext | undefined; addJar(): AddJarContext | undefined; moduleStatement(): ModuleStatementContext | undefined; end(): EndContext | undefined; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class StatementEndContext extends ParserRuleContext { SEMICOLON(): TerminalNode; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class EndContext extends ParserRuleContext { END(): TerminalNode; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class AutoOptimizeContext extends ParserRuleContext { autoOptimizeTable(): AutoOptimizeTableContext | undefined; autoOptimizeDatabase(): AutoOptimizeDatabaseContext | undefined; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class AutoOptimizeTableContext extends ParserRuleContext { AUTO(): TerminalNode; OPTIMIZE(): TerminalNode; TABLE(): TerminalNode; table(): TableContext; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class AutoOptimizeDatabaseContext extends ParserRuleContext { AUTO(): TerminalNode; OPTIMIZE(): TerminalNode; DATABASE(): TerminalNode; database(): DatabaseContext; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class AnalyzeContext extends ParserRuleContext { ANALYZE(): TerminalNode; TABLE(): TerminalNode; table(): TableContext; COMPUTE(): TerminalNode; STATISTICS(): TerminalNode; FOR(): TerminalNode | undefined; COLUMNS(): TerminalNode | undefined; columnsWithoutParenthesis(): ColumnsWithoutParenthesisContext | undefined; ALL(): TerminalNode | undefined; partition(): PartitionContext | undefined; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class QueryContext extends ParserRuleContext { queryTerm(): QueryTermContext; ctes(): CtesContext | undefined; queryOrderBy(): QueryOrderByContext | undefined; queryLimit(): QueryLimitContext | undefined; queryOffset(): QueryOffsetContext | undefined; queryFetch(): QueryFetchContext | undefined; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class QueryTermContext extends ParserRuleContext { queryPrimary(): QueryPrimaryContext; mapQuery(): MapQueryContext | undefined; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class QueryPrimaryContext extends ParserRuleContext { select(): SelectContext | undefined; TABLE(): TerminalNode | undefined; table(): TableContext | undefined; values(): ValuesContext | undefined; parenthesisQuery(): ParenthesisQueryContext | undefined; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class CtesContext extends ParserRuleContext { WITH(): TerminalNode; withItem(): WithItemContext[]; withItem(i: number): WithItemContext; COMMA(): TerminalNode[]; COMMA(i: number): TerminalNode; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enterRule(listener: FlinkSQLParserListener): void; exitRule(listener: FlinkSQLParserListener): void; accept<Result>(visitor: FlinkSQLParserVisitor<Result>): Result; } export declare class MapQueryContext extends ParserRuleContext { queryTerm(): QueryTermContext; UNION(): TerminalNode | undefined; EXCEPT(): TerminalNode | undefined; MINUS(): TerminalNode | undefined; INTERSECT(): TerminalNode | undefined; setQuantifier(): SetQuantifierContext | undefined; constructor(parent: ParserRuleContext | undefined, invokingState: number); get ruleIndex(): number; enter