UNPKG

dt-sql-parser

Version:

SQL Parsers for BigData, built with antlr4

312 lines (311 loc) 11.6 kB
import * as antlr from "antlr4ng"; export declare class ImpalaSqlLexer extends antlr.Lexer { static readonly KW_ADD = 1; static readonly KW_ALL = 2; static readonly KW_ANALYTIC = 3; static readonly KW_ALTER = 4; static readonly KW_AND = 5; static readonly KW_ANY = 6; static readonly KW_ANTI = 7; static readonly KW_ARRAY = 8; static readonly KW_AS = 9; static readonly KW_ASC = 10; static readonly KW_AT = 11; static readonly KW_AGGREGATE = 12; static readonly KW_AUTHORIZATION = 13; static readonly KW_BERNOULLI = 14; static readonly KW_BETWEEN = 15; static readonly KW_BLOCK_SIZE = 16; static readonly KW_PARTITIONED = 17; static readonly KW_PREPARE_FN = 18; static readonly KW_EXTERNAL = 19; static readonly KW_CLOSEFN = 20; static readonly KW_SORT = 21; static readonly KW_PURGE = 22; static readonly KW_STORED = 23; static readonly KW_LOCATION = 24; static readonly KW_TBLPROPERTIES = 25; static readonly KW_BY = 26; static readonly KW_CASCADE = 27; static readonly KW_CASE = 28; static readonly KW_CAST = 29; static readonly KW_CACHED = 30; static readonly KW_CHANGE = 31; static readonly KW_COLUMN = 32; static readonly KW_COLUMNS = 33; static readonly KW_COMMENT = 34; static readonly KW_COMPRESSION = 35; static readonly KW_COMPUTE = 36; static readonly KW_CREATE = 37; static readonly KW_CROSS = 38; static readonly KW_CURRENT = 39; static readonly KW_CURRENT_DATE = 40; static readonly KW_CURRENT_PATH = 41; static readonly KW_CURRENT_TIME = 42; static readonly KW_CURRENT_TIMESTAMP = 43; static readonly KW_CURRENT_USER = 44; static readonly KW_DATA = 45; static readonly KW_DATABASE = 46; static readonly KW_DATABASES = 47; static readonly KW_DAY = 48; static readonly KW_DAYS = 49; static readonly KW_DELETE = 50; static readonly KW_DEFAULT = 51; static readonly KW_DELIMITED = 52; static readonly KW_DISABLE = 53; static readonly KW_UPDATE = 54; static readonly KW_DESC = 55; static readonly KW_DESCRIBE = 56; static readonly KW_DISTINCT = 57; static readonly KW_DROP = 58; static readonly KW_ELSE = 59; static readonly KW_ENCODING = 60; static readonly KW_END = 61; static readonly KW_ESCAPE = 62; static readonly KW_ESCAPED = 63; static readonly KW_EXCEPT = 64; static readonly KW_EXCLUDING = 65; static readonly KW_EXISTS = 66; static readonly KW_EXPLAIN = 67; static readonly KW_EXTRACT = 68; static readonly KW_EXTENDED = 69; static readonly KW_FALSE = 70; static readonly KW_FIELDS = 71; static readonly KW_FILEFORMAT = 72; static readonly KW_FILES = 73; static readonly KW_FILTER = 74; static readonly KW_FIRST = 75; static readonly KW_FINALIZE_FN = 76; static readonly KW_FOLLOWING = 77; static readonly KW_FOR = 78; static readonly KW_FORMAT = 79; static readonly KW_FORMATTED = 80; static readonly KW_FOREIGN = 81; static readonly KW_FROM = 82; static readonly KW_FULL = 83; static readonly KW_FUNCTION = 84; static readonly KW_FUNCTIONS = 85; static readonly KW_GRANT = 86; static readonly KW_GROUP = 87; static readonly KW_GROUPING = 88; static readonly KW_HASH = 89; static readonly KW_HAVING = 90; static readonly KW_HOUR = 91; static readonly KW_HOURS = 92; static readonly KW_IF = 93; static readonly KW_IN = 94; static readonly KW_INCLUDING = 95; static readonly KW_INCREMENTAL = 96; static readonly KW_INNER = 97; static readonly KW_INPATH = 98; static readonly KW_INSERT = 99; static readonly KW_INTERSECT = 100; static readonly KW_INTERVAL = 101; static readonly KW_INTERMEDIATE = 102; static readonly KW_INTO = 103; static readonly KW_INIT_FN = 104; static readonly KW_IREGEXP = 105; static readonly KW_ILIKE = 106; static readonly KW_INVALIDATE = 107; static readonly KW_IS = 108; static readonly KW_JOIN = 109; static readonly KW_KEY = 110; static readonly KW_KUDU = 111; static readonly KW_LAST = 112; static readonly KW_LATERAL = 113; static readonly KW_LEFT = 114; static readonly KW_LIKE = 115; static readonly KW_LIMIT = 116; static readonly KW_LINES = 117; static readonly KW_LOAD = 118; static readonly KW_LOCALTIME = 119; static readonly KW_LOCALTIMESTAMP = 120; static readonly KW_METADATA = 121; static readonly KW_MINUTE = 122; static readonly KW_MINUTES = 123; static readonly KW_MONTH = 124; static readonly KW_MONTHS = 125; static readonly KW_MERGE_FN = 126; static readonly KW_NFC = 127; static readonly KW_NFD = 128; static readonly KW_NFKC = 129; static readonly KW_NFKD = 130; static readonly KW_NORMALIZE = 131; static readonly KW_NOT = 132; static readonly KW_NULL = 133; static readonly KW_NULLS = 134; static readonly KW_OFFSET = 135; static readonly KW_ON = 136; static readonly KW_OPTION = 137; static readonly KW_OR = 138; static readonly KW_ORDER = 139; static readonly KW_ORDINALITY = 140; static readonly KW_OUTER = 141; static readonly KW_OWNER = 142; static readonly KW_OVER = 143; static readonly KW_OVERWRITE = 144; static readonly KW_PARTITION = 145; static readonly KW_PARTITIONS = 146; static readonly KW_PARQUET = 147; static readonly KW_POSITION = 148; static readonly KW_PRECEDING = 149; static readonly KW_PRIMARY = 150; static readonly KW_REPLICATION = 151; static readonly KW_PRIVILEGES = 152; static readonly KW_PROPERTIES = 153; static readonly KW_RANGE = 154; static readonly KW_RECOVER = 155; static readonly KW_RENAME = 156; static readonly KW_REPEATABLE = 157; static readonly KW_REPLACE = 158; static readonly KW_RESTRICT = 159; static readonly KW_RETURNS = 160; static readonly KW_REVOKE = 161; static readonly KW_REFRESH = 162; static readonly KW_REGEXP = 163; static readonly KW_RLIKE = 164; static readonly KW_RIGHT = 165; static readonly KW_ROLE = 166; static readonly KW_ROLES = 167; static readonly KW_ROW = 168; static readonly KW_ROWS = 169; static readonly KW_SCHEMA = 170; static readonly KW_SCHEMAS = 171; static readonly KW_SECOND = 172; static readonly KW_SECONDS = 173; static readonly KW_SELECT = 174; static readonly KW_SERDEPROPERTIES = 175; static readonly KW_SET = 176; static readonly KW_SEMI = 177; static readonly KW_SERVER = 178; static readonly KW_SHOW = 179; static readonly KW_SHUTDOWN = 180; static readonly KW_SOME = 181; static readonly KW_STATS = 182; static readonly KW_STRAIGHT_JOIN = 183; static readonly KW_SUBSTRING = 184; static readonly KW_SYSTEM = 185; static readonly KW_SYMBOL = 186; static readonly KW_SERIALIZE_FN = 187; static readonly KW_TABLE = 188; static readonly KW_TABLES = 189; static readonly KW_TABLESAMPLE = 190; static readonly KW_TERMINATED = 191; static readonly KW_THEN = 192; static readonly KW_TO = 193; static readonly KW_TRUE = 194; static readonly KW_TRY_CAST = 195; static readonly KW_TRUNCATE = 196; static readonly KW_UNCACHED = 197; static readonly KW_UESCAPE = 198; static readonly KW_UNBOUNDED = 199; static readonly KW_UNION = 200; static readonly KW_UNNEST = 201; static readonly KW_UNSET = 202; static readonly KW_USE = 203; static readonly KW_USER = 204; static readonly KW_USING = 205; static readonly KW_UPDATE_FN = 206; static readonly KW_UPSERT = 207; static readonly KW_UNKNOWN = 208; static readonly KW_URI = 209; static readonly KW_VALUE = 210; static readonly KW_VALUES = 211; static readonly KW_VIEW = 212; static readonly KW_VIEWS = 213; static readonly KW_WHEN = 214; static readonly KW_WHERE = 215; static readonly KW_WITH = 216; static readonly KW_YEAR = 217; static readonly KW_YEARS = 218; static readonly KW_TEXTFILE = 219; static readonly KW_ORC = 220; static readonly KW_AVRO = 221; static readonly KW_SEQUENCEFILE = 222; static readonly KW_RCFILE = 223; static readonly KW_REFERENCES = 224; static readonly KW_NOVALIDATE = 225; static readonly KW_RELY = 226; static readonly KW_BINARY = 227; static readonly KW_BIGINT = 228; static readonly KW_BOOLEAN = 229; static readonly KW_CHAR = 230; static readonly KW_DATE = 231; static readonly KW_DECIMAL = 232; static readonly KW_DOUBLE = 233; static readonly KW_INT = 234; static readonly KW_MAP = 235; static readonly KW_REAL = 236; static readonly KW_SMALLINT = 237; static readonly KW_FLOAT = 238; static readonly KW_STRING = 239; static readonly KW_STRUCT = 240; static readonly KW_TIMESTAMP = 241; static readonly KW_TINYINT = 242; static readonly KW_VARCHAR = 243; static readonly KW_COMPLEX = 244; static readonly STATS_NUMDVS = 245; static readonly STATS_NUMNULLS = 246; static readonly STATS_AVGSIZE = 247; static readonly STATS_MAXSIZE = 248; static readonly EQ = 249; static readonly NEQ = 250; static readonly LT = 251; static readonly LTE = 252; static readonly GT = 253; static readonly GTE = 254; static readonly PLUS = 255; static readonly MINUS = 256; static readonly ASTERISK = 257; static readonly SLASH = 258; static readonly PERCENT = 259; static readonly CONCAT = 260; static readonly DOT = 261; static readonly SEMICOLON = 262; static readonly COMMA = 263; static readonly COLON = 264; static readonly LPAREN = 265; static readonly RPAREN = 266; static readonly LSQUARE = 267; static readonly RSQUARE = 268; static readonly LCURLY = 269; static readonly RCURLY = 270; static readonly BITWISEOR = 271; static readonly QUESTION = 272; static readonly RIGHT_ARROW = 273; static readonly STRING = 274; static readonly UNICODE_STRING = 275; static readonly BINARY_LITERAL = 276; static readonly INTEGER_VALUE = 277; static readonly DECIMAL_VALUE = 278; static readonly DOUBLE_VALUE = 279; static readonly IDENTIFIER = 280; static readonly DIGIT_IDENTIFIER = 281; static readonly QUOTED_IDENTIFIER = 282; static readonly BACKQUOTED_IDENTIFIER = 283; static readonly TIME_WITH_TIME_ZONE = 284; static readonly TIMESTAMP_WITH_TIME_ZONE = 285; static readonly DOUBLE_PRECISION = 286; static readonly LINE_COMMENT = 287; static readonly BRACKETED_COMMENT = 288; static readonly WHITE_SPACE = 289; 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; }