UNPKG

dt-sql-parser

Version:

SQL Parsers for BigData, built with antlr4

461 lines (460 loc) 17.2 kB
import * as antlr from "antlr4ng"; export declare class HiveSqlLexer extends antlr.Lexer { static readonly KW_ABORT = 1; static readonly KW_ACTIVATE = 2; static readonly KW_ACTIVE = 3; static readonly KW_ADD = 4; static readonly KW_ADMIN = 5; static readonly KW_AFTER = 6; static readonly KW_ALL = 7; static readonly KW_ALLOC_FRACTION = 8; static readonly KW_ALTER = 9; static readonly KW_ANALYZE = 10; static readonly KW_AND = 11; static readonly KW_ANTI = 12; static readonly KW_ANY = 13; static readonly KW_APPLICATION = 14; static readonly KW_ARCHIVE = 15; static readonly KW_ARRAY = 16; static readonly KW_AS = 17; static readonly KW_ASC = 18; static readonly KW_AST = 19; static readonly KW_AT = 20; static readonly KW_AUTHORIZATION = 21; static readonly KW_AUTOCOMMIT = 22; static readonly KW_BATCH = 23; static readonly KW_BEFORE = 24; static readonly KW_BETWEEN = 25; static readonly KW_BIGINT = 26; static readonly KW_BINARY = 27; static readonly KW_BOOLEAN = 28; static readonly KW_BOTH = 29; static readonly KW_BUCKET = 30; static readonly KW_BUCKETS = 31; static readonly KW_BY = 32; static readonly KW_CACHE = 33; static readonly KW_CASCADE = 34; static readonly KW_CASE = 35; static readonly KW_CAST = 36; static readonly KW_CBO = 37; static readonly KW_CHANGE = 38; static readonly KW_CHAR = 39; static readonly KW_CHECK = 40; static readonly KW_CLUSTER = 41; static readonly KW_CLUSTERED = 42; static readonly KW_CLUSTERSTATUS = 43; static readonly KW_COLLECTION = 44; static readonly KW_COLUMN = 45; static readonly KW_COLUMNS = 46; static readonly KW_COMMENT = 47; static readonly KW_COMMIT = 48; static readonly KW_COMPACT = 49; static readonly KW_COMPACTIONS = 50; static readonly KW_COMPACT_ID = 51; static readonly KW_COMPUTE = 52; static readonly KW_CONCATENATE = 53; static readonly KW_CONF = 54; static readonly KW_CONSTRAINT = 55; static readonly KW_CONTINUE = 56; static readonly KW_COST = 57; static readonly KW_CREATE = 58; static readonly KW_CRON = 59; static readonly KW_CROSS = 60; static readonly KW_CUBE = 61; static readonly KW_CURRENT = 62; static readonly KW_CURRENT_DATE = 63; static readonly KW_CURRENT_TIMESTAMP = 64; static readonly KW_CURSOR = 65; static readonly KW_DATA = 66; static readonly KW_DATABASE = 67; static readonly KW_DATABASES = 68; static readonly KW_DATACONNECTOR = 69; static readonly KW_DATACONNECTORS = 70; static readonly KW_DATE = 71; static readonly KW_DATETIME = 72; static readonly KW_DAY = 73; static readonly KW_DAYS = 74; static readonly KW_DAYOFWEEK = 75; static readonly KW_DBPROPERTIES = 76; static readonly KW_DCPROPERTIES = 77; static readonly KW_DDL = 78; static readonly KW_DEBUG = 79; static readonly KW_DEC = 80; static readonly KW_DECIMAL = 81; static readonly KW_NUMERIC = 82; static readonly KW_DEFAULT = 83; static readonly KW_DEFERRED = 84; static readonly KW_DEFINED = 85; static readonly KW_DELETE = 86; static readonly KW_DELIMITED = 87; static readonly KW_DEPENDENCY = 88; static readonly KW_DESC = 89; static readonly KW_DESCRIBE = 90; static readonly KW_DETAIL = 91; static readonly KW_DIRECTORIES = 92; static readonly KW_DIRECTORY = 93; static readonly KW_DISABLE = 94; static readonly KW_DISABLED = 95; static readonly KW_DISTINCT = 96; static readonly KW_DISTRIBUTE = 97; static readonly KW_DISTRIBUTED = 98; static readonly KW_DO = 99; static readonly KW_DOUBLE = 100; static readonly KW_DROP = 101; static readonly KW_RECOVER = 102; static readonly KW_DUMP = 103; static readonly KW_ELEM_TYPE = 104; static readonly KW_ELSE = 105; static readonly KW_ENABLE = 106; static readonly KW_ENABLED = 107; static readonly KW_END = 108; static readonly KW_ENFORCED = 109; static readonly KW_ESCAPED = 110; static readonly KW_EVERY = 111; static readonly KW_EXCEPT = 112; static readonly KW_EXCHANGE = 113; static readonly KW_EXCLUSIVE = 114; static readonly KW_EXECUTE = 115; static readonly KW_EXECUTED = 116; static readonly KW_EXISTS = 117; static readonly KW_EXPIRE_SNAPSHOTS = 118; static readonly KW_EXPLAIN = 119; static readonly KW_EXPORT = 120; static readonly KW_EXPRESSION = 121; static readonly KW_EXTENDED = 122; static readonly KW_EXTERNAL = 123; static readonly KW_EXTRACT = 124; static readonly KW_FALSE = 125; static readonly KW_FETCH = 126; static readonly KW_FIELDS = 127; static readonly KW_FILE = 128; static readonly KW_FILEFORMAT = 129; static readonly KW_FIRST = 130; static readonly KW_FLOAT = 131; static readonly KW_FLOOR = 132; static readonly KW_FOLLOWING = 133; static readonly KW_FOR = 134; static readonly KW_FORCE = 135; static readonly KW_FOREIGN = 136; static readonly KW_FORMAT = 137; static readonly KW_FORMATTED = 138; static readonly KW_FROM = 139; static readonly KW_FULL = 140; static readonly KW_FUNCTION = 141; static readonly KW_FUNCTIONS = 142; static readonly KW_GRANT = 143; static readonly KW_GROUP = 144; static readonly KW_GROUPING = 145; static readonly KW_HAVING = 146; static readonly KW_HOLD_DDLTIME = 147; static readonly KW_HOUR = 148; static readonly KW_HOURS = 149; static readonly KW_IDXPROPERTIES = 150; static readonly KW_IF = 151; static readonly KW_IGNORE = 152; static readonly KW_IMPORT = 153; static readonly KW_IN = 154; static readonly KW_INDEX = 155; static readonly KW_INDEXES = 156; static readonly KW_INNER = 157; static readonly KW_INPATH = 158; static readonly KW_INPUTDRIVER = 159; static readonly KW_INPUTFORMAT = 160; static readonly KW_INSERT = 161; static readonly KW_INT = 162; static readonly KW_INTEGER = 163; static readonly KW_INTERSECT = 164; static readonly KW_INTERVAL = 165; static readonly KW_INTO = 166; static readonly KW_IS = 167; static readonly KW_ISOLATION = 168; static readonly KW_ITEMS = 169; static readonly KW_JAR = 170; static readonly KW_JOIN = 171; static readonly KW_JOINCOST = 172; static readonly KW_KEY = 173; static readonly KW_KEYS = 174; static readonly KW_KEY_TYPE = 175; static readonly KW_KILL = 176; static readonly KW_LAST = 177; static readonly KW_LATERAL = 178; static readonly KW_LEADING = 179; static readonly KW_LEFT = 180; static readonly KW_LESS = 181; static readonly KW_LEVEL = 182; static readonly KW_LIFECYCLE = 183; static readonly KW_LIKE = 184; static readonly KW_LIMIT = 185; static readonly KW_LINES = 186; static readonly KW_LOAD = 187; static readonly KW_LOCAL = 188; static readonly KW_LOCATION = 189; static readonly KW_LOCK = 190; static readonly KW_LOCKS = 191; static readonly KW_LOGICAL = 192; static readonly KW_LONG = 193; static readonly KW_MACRO = 194; static readonly KW_MANAGED = 195; static readonly KW_MANAGEDLOCATION = 196; static readonly KW_MANAGEMENT = 197; static readonly KW_MAP = 198; static readonly KW_MAPJOIN = 199; static readonly KW_MAPPING = 200; static readonly KW_MATCHED = 201; static readonly KW_MATERIALIZED = 202; static readonly KW_MERGE = 203; static readonly KW_METADATA = 204; static readonly KW_MINUS = 205; static readonly KW_MINUTE = 206; static readonly KW_MINUTES = 207; static readonly KW_MONTH = 208; static readonly KW_MONTHS = 209; static readonly KW_MORE = 210; static readonly KW_MOVE = 211; static readonly KW_MSCK = 212; static readonly KW_NONE = 213; static readonly KW_NORELY = 214; static readonly KW_NOSCAN = 215; static readonly KW_NOT = 216; static readonly KW_NOVALIDATE = 217; static readonly KW_NO_DROP = 218; static readonly KW_NULL = 219; static readonly KW_NULLS = 220; static readonly KW_OF = 221; static readonly KW_OFFLINE = 222; static readonly KW_OFFSET = 223; static readonly KW_ON = 224; static readonly KW_ONLY = 225; static readonly KW_OPERATOR = 226; static readonly KW_OPTION = 227; static readonly KW_OR = 228; static readonly KW_ORDER = 229; static readonly KW_OUT = 230; static readonly KW_OUTER = 231; static readonly KW_OUTPUTDRIVER = 232; static readonly KW_OUTPUTFORMAT = 233; static readonly KW_OVER = 234; static readonly KW_OVERWRITE = 235; static readonly KW_OWNER = 236; static readonly KW_PARTITION = 237; static readonly KW_PARTITIONED = 238; static readonly KW_PARTITIONS = 239; static readonly KW_PATH = 240; static readonly KW_PERCENT = 241; static readonly KW_PKFK_JOIN = 242; static readonly KW_PLAN = 243; static readonly KW_PLANS = 244; static readonly KW_PLUS = 245; static readonly KW_POOL = 246; static readonly KW_PRECEDING = 247; static readonly KW_PRECISION = 248; static readonly KW_PREPARE = 249; static readonly KW_PRESERVE = 250; static readonly KW_PRIMARY = 251; static readonly KW_PRINCIPALS = 252; static readonly KW_PROCEDURE = 253; static readonly KW_PROTECTION = 254; static readonly KW_PURGE = 255; static readonly KW_QUALIFY = 256; static readonly KW_QUARTER = 257; static readonly KW_QUERY = 258; static readonly KW_QUERY_PARALLELISM = 259; static readonly KW_RANGE = 260; static readonly KW_READ = 261; static readonly KW_READONLY = 262; static readonly KW_READS = 263; static readonly KW_REAL = 264; static readonly KW_REBUILD = 265; static readonly KW_RECORDREADER = 266; static readonly KW_RECORDWRITER = 267; static readonly KW_REDUCE = 268; static readonly KW_REFERENCES = 269; static readonly KW_REGEXP = 270; static readonly KW_RELOAD = 271; static readonly KW_RELY = 272; static readonly KW_REMOTE = 273; static readonly KW_RENAME = 274; static readonly KW_REOPTIMIZATION = 275; static readonly KW_REPAIR = 276; static readonly KW_REPL = 277; static readonly KW_REPLACE = 278; static readonly KW_REPLICATION = 279; static readonly KW_RESOURCE = 280; static readonly KW_RESPECT = 281; static readonly KW_RESTRICT = 282; static readonly KW_REVOKE = 283; static readonly KW_REWRITE = 284; static readonly KW_RIGHT = 285; static readonly KW_RLIKE = 286; static readonly KW_ROLE = 287; static readonly KW_ROLES = 288; static readonly KW_ROLLBACK = 289; static readonly KW_ROLLUP = 290; static readonly KW_ROW = 291; static readonly KW_ROWS = 292; static readonly KW_SCHEDULED = 293; static readonly KW_SCHEDULING_POLICY = 294; static readonly KW_SCHEMA = 295; static readonly KW_SCHEMAS = 296; static readonly KW_SECOND = 297; static readonly KW_SECONDS = 298; static readonly KW_SELECT = 299; static readonly KW_SEMI = 300; static readonly KW_SERDE = 301; static readonly KW_SERDEPROPERTIES = 302; static readonly KW_SERVER = 303; static readonly KW_SET = 304; static readonly KW_SETS = 305; static readonly KW_SET_CURRENT_SNAPSHOT = 306; static readonly KW_SHARED = 307; static readonly KW_SHOW = 308; static readonly KW_SHOW_DATABASE = 309; static readonly KW_SKEWED = 310; static readonly KW_SMALLINT = 311; static readonly KW_SNAPSHOT = 312; static readonly KW_SOME = 313; static readonly KW_SORT = 314; static readonly KW_SORTED = 315; static readonly KW_SPEC = 316; static readonly KW_SSL = 317; static readonly KW_START = 318; static readonly KW_STATISTICS = 319; static readonly KW_STATUS = 320; static readonly KW_STORED = 321; static readonly KW_STREAMTABLE = 322; static readonly KW_STRING = 323; static readonly KW_STRUCT = 324; static readonly KW_SUMMARY = 325; static readonly KW_SYNC = 326; static readonly KW_SYSTEM_TIME = 327; static readonly KW_SYSTEM_VERSION = 328; static readonly KW_TABLE = 329; static readonly KW_TABLES = 330; static readonly KW_TABLESAMPLE = 331; static readonly KW_TBLPROPERTIES = 332; static readonly KW_TEMPORARY = 333; static readonly KW_TERMINATED = 334; static readonly KW_THEN = 335; static readonly KW_TIME = 336; static readonly KW_TIMESTAMP = 337; static readonly KW_TIMESTAMPLOCALTZ = 338; static readonly KW_TIMESTAMPTZ = 339; static readonly KW_TINYINT = 340; static readonly KW_TO = 341; static readonly KW_TOUCH = 342; static readonly KW_TRAILING = 343; static readonly KW_TRANSACTION = 344; static readonly KW_TRANSACTIONAL = 345; static readonly KW_TRANSACTIONS = 346; static readonly KW_TRANSFORM = 347; static readonly KW_TRIGGER = 348; static readonly KW_TRIM = 349; static readonly KW_TRUE = 350; static readonly KW_TRUNCATE = 351; static readonly KW_TYPE = 352; static readonly KW_UNARCHIVE = 353; static readonly KW_UNBOUNDED = 354; static readonly KW_UNDO = 355; static readonly KW_UNION = 356; static readonly KW_UNIONTYPE = 357; static readonly KW_UNIQUE = 358; static readonly KW_UNIQUEJOIN = 359; static readonly KW_UNKNOWN = 360; static readonly KW_UNLOCK = 361; static readonly KW_UNMANAGED = 362; static readonly KW_UNSET = 363; static readonly KW_UNSIGNED = 364; static readonly KW_UPDATE = 365; static readonly KW_URI = 366; static readonly KW_URL = 367; static readonly KW_USE = 368; static readonly KW_USER = 369; static readonly KW_USING = 370; static readonly KW_UTC = 371; static readonly KW_UTCTIMESTAMP = 372; static readonly KW_VALIDATE = 373; static readonly KW_VALUES = 374; static readonly KW_VALUE_TYPE = 375; static readonly KW_VARCHAR = 376; static readonly KW_VECTORIZATION = 377; static readonly KW_VIEW = 378; static readonly KW_VIEWS = 379; static readonly KW_WAIT = 380; static readonly KW_WEEK = 381; static readonly KW_WEEKS = 382; static readonly KW_WHEN = 383; static readonly KW_WHERE = 384; static readonly KW_WHILE = 385; static readonly KW_WINDOW = 386; static readonly KW_WITH = 387; static readonly KW_WITHIN = 388; static readonly KW_WORK = 389; static readonly KW_WORKLOAD = 390; static readonly KW_WRITE = 391; static readonly KW_YEAR = 392; static readonly KW_YEARS = 393; static readonly KW_ZONE = 394; static readonly DOT = 395; static readonly COLON = 396; static readonly COMMA = 397; static readonly SEMICOLON = 398; static readonly LPAREN = 399; static readonly RPAREN = 400; static readonly LSQUARE = 401; static readonly RSQUARE = 402; static readonly LCURLY = 403; static readonly RCURLY = 404; static readonly EQUAL = 405; static readonly EQUAL_NS = 406; static readonly NOTEQUAL = 407; static readonly LESSTHANOREQUALTO = 408; static readonly LESSTHAN = 409; static readonly GREATERTHANOREQUALTO = 410; static readonly GREATERTHAN = 411; static readonly DIVIDE = 412; static readonly PLUS = 413; static readonly MINUS = 414; static readonly STAR = 415; static readonly MOD = 416; static readonly DIV = 417; static readonly BITWISENOT = 418; static readonly AMPERSAND = 419; static readonly TILDE = 420; static readonly BITWISEOR = 421; static readonly CONCATENATE = 422; static readonly BITWISEXOR = 423; static readonly QUESTION = 424; static readonly DOLLAR = 425; static readonly StringLiteral = 426; static readonly CharSetLiteral = 427; static readonly IntegralLiteral = 428; static readonly NumberLiteral = 429; static readonly ByteLengthLiteral = 430; static readonly Number = 431; static readonly Identifier = 432; static readonly CharSetName = 433; static readonly WHITE_SPACE = 434; static readonly LINE_COMMENT = 435; static readonly QUERY_HINT = 436; static readonly SHOW_HINT = 437; static readonly HIDDEN_HINT = 438; static readonly channelNames: string[]; static readonly literalNames: (string | null)[]; static readonly symbolicNames: (string | null)[]; static readonly modeNames: string[]; static readonly ruleNames: string[]; constructor(input: antlr.CharStream); get grammarFileName(): string; get literalNames(): (string | null)[]; get symbolicNames(): (string | null)[]; get ruleNames(): string[]; get serializedATN(): number[]; get channelNames(): string[]; get modeNames(): string[]; static readonly _serializedATN: number[]; private static __ATN; static get _ATN(): antlr.ATN; private static readonly vocabulary; get vocabulary(): antlr.Vocabulary; private static readonly decisionsToDFA; }