dt-sql-parser 4.0.0-ng.2 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +119 -112
- package/dist/index.d.ts +14 -6
- package/dist/index.js +11 -4
- package/dist/lib/SQLParserBase.d.ts +8 -0
- package/dist/lib/SQLParserBase.js +14 -0
- package/dist/lib/{flinksql → flink}/FlinkSqlLexer.d.ts +2 -2
- package/dist/lib/{flinksql → flink}/FlinkSqlLexer.js +2 -1
- package/dist/lib/{flinksql → flink}/FlinkSqlParser.d.ts +5 -11
- package/dist/lib/{flinksql → flink}/FlinkSqlParser.js +2065 -2054
- package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.d.ts +0 -13
- package/dist/lib/{flinksql → flink}/FlinkSqlParserListener.js +1 -1
- package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.d.ts +0 -8
- package/dist/lib/{flinksql → flink}/FlinkSqlParserVisitor.js +2 -1
- package/dist/lib/hive/HiveSqlLexer.d.ts +258 -257
- package/dist/lib/hive/HiveSqlLexer.js +1794 -1786
- package/dist/lib/hive/HiveSqlParser.d.ts +1266 -3176
- package/dist/lib/hive/HiveSqlParser.js +23046 -33454
- package/dist/lib/hive/HiveSqlParserListener.d.ts +141 -2036
- package/dist/lib/hive/HiveSqlParserVisitor.d.ts +151 -1358
- package/dist/lib/hive/HiveSqlParserVisitor.js +1 -0
- package/dist/lib/impala/ImpalaSqlLexer.d.ts +170 -154
- package/dist/lib/impala/ImpalaSqlLexer.js +1179 -1099
- package/dist/lib/impala/ImpalaSqlParser.d.ts +282 -240
- package/dist/lib/impala/ImpalaSqlParser.js +3881 -3744
- package/dist/lib/impala/ImpalaSqlParserListener.d.ts +22 -11
- package/dist/lib/impala/ImpalaSqlParserVisitor.d.ts +14 -7
- package/dist/lib/impala/ImpalaSqlParserVisitor.js +1 -0
- package/dist/lib/index.d.ts +6 -6
- package/dist/lib/index.js +6 -6
- package/dist/lib/mysql/MySqlLexer.d.ts +2 -2
- package/dist/lib/mysql/MySqlLexer.js +1 -0
- package/dist/lib/mysql/MySqlParser.d.ts +347 -418
- package/dist/lib/mysql/MySqlParser.js +10484 -11099
- package/dist/lib/mysql/MySqlParserListener.d.ts +41 -126
- package/dist/lib/mysql/MySqlParserVisitor.d.ts +23 -76
- package/dist/lib/mysql/MySqlParserVisitor.js +1 -0
- package/dist/lib/plsql/PlSqlBaseLexer.d.ts +1 -2
- package/dist/lib/plsql/PlSqlBaseLexer.js +1 -1
- package/dist/lib/plsql/PlSqlBaseParser.d.ts +3 -2
- package/dist/lib/plsql/PlSqlBaseParser.js +2 -2
- package/dist/lib/plsql/PlSqlLexer.d.ts +3 -3
- package/dist/lib/plsql/PlSqlLexer.js +2 -1
- package/dist/lib/plsql/PlSqlParser.d.ts +3 -3
- package/dist/lib/plsql/PlSqlParser.js +2 -1
- package/dist/lib/plsql/PlSqlParserVisitor.js +1 -0
- package/dist/lib/{pgsql/PostgreSQLLexer.d.ts → postgresql/PostgreSqlLexer.d.ts} +3 -3
- package/dist/lib/{pgsql/PostgreSQLLexer.js → postgresql/PostgreSqlLexer.js} +618 -617
- package/dist/lib/{pgsql/PostgreSQLParser.d.ts → postgresql/PostgreSqlParser.d.ts} +3598 -3484
- package/dist/lib/{pgsql/PostgreSQLParser.js → postgresql/PostgreSqlParser.js} +41502 -42831
- package/dist/lib/{pgsql/PostgreSQLParserListener.d.ts → postgresql/PostgreSqlParserListener.d.ts} +2797 -2730
- package/dist/lib/{pgsql/PostgreSQLParserListener.js → postgresql/PostgreSqlParserListener.js} +3 -3
- package/dist/lib/{pgsql/PostgreSQLParserVisitor.d.ts → postgresql/PostgreSqlParserVisitor.d.ts} +1845 -1810
- package/dist/lib/{pgsql/PostgreSQLParserVisitor.js → postgresql/PostgreSqlParserVisitor.js} +4 -3
- package/dist/lib/spark/SparkSqlLexer.d.ts +305 -298
- package/dist/lib/spark/SparkSqlLexer.js +1777 -1735
- package/dist/lib/spark/SparkSqlParser.d.ts +1764 -669
- package/dist/lib/spark/SparkSqlParser.js +15460 -10769
- package/dist/lib/spark/SparkSqlParserListener.d.ts +1285 -35
- package/dist/lib/spark/SparkSqlParserVisitor.d.ts +790 -21
- package/dist/lib/spark/SparkSqlParserVisitor.js +1 -0
- package/dist/lib/{trinosql → trino}/TrinoSqlLexer.d.ts +2 -2
- package/dist/lib/{trinosql → trino}/TrinoSqlLexer.js +2 -1
- package/dist/lib/{trinosql → trino}/TrinoSqlListener.d.ts +7 -5
- package/dist/lib/{trinosql → trino}/TrinoSqlListener.js +1 -1
- package/dist/lib/{trinosql → trino}/TrinoSqlParser.d.ts +11 -5
- package/dist/lib/{trinosql → trino}/TrinoSqlParser.js +360 -320
- package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.d.ts +4 -3
- package/dist/lib/{trinosql → trino}/TrinoSqlVisitor.js +2 -1
- package/dist/parser/common/{basicParser.d.ts → basicSQL.d.ts} +22 -19
- package/dist/parser/common/{basicParser.js → basicSQL.js} +52 -34
- package/dist/parser/common/entityCollector.d.ts +78 -0
- package/dist/parser/common/entityCollector.js +191 -0
- package/dist/parser/common/{utils/findCaretTokenIndex.d.ts → findCaretTokenIndex.d.ts} +2 -2
- package/dist/parser/common/{utils/findCaretTokenIndex.js → findCaretTokenIndex.js} +3 -2
- package/dist/parser/common/parseErrorListener.d.ts +6 -6
- package/dist/parser/common/parseErrorListener.js +1 -1
- package/dist/parser/common/simpleStack.d.ts +10 -0
- package/dist/parser/common/simpleStack.js +23 -0
- package/dist/parser/common/splitListener.d.ts +8 -0
- package/dist/parser/common/splitListener.js +12 -0
- package/dist/parser/common/textAndWord.d.ts +52 -0
- package/dist/parser/common/textAndWord.js +58 -0
- package/dist/parser/common/{basic-parser-types.d.ts → types.d.ts} +4 -31
- package/dist/parser/common/types.js +34 -0
- package/dist/parser/flink/flinkEntityCollector.d.ts +33 -0
- package/dist/parser/flink/flinkEntityCollector.js +84 -0
- package/dist/parser/flink/flinkSplitListener.d.ts +6 -0
- package/dist/parser/flink/flinkSplitListener.js +6 -0
- package/dist/parser/flink/index.d.ts +17 -0
- package/dist/parser/{flinksql.js → flink/index.js} +26 -37
- package/dist/parser/hive/hiveEntityCollector.d.ts +35 -0
- package/dist/parser/hive/hiveEntityCollector.js +90 -0
- package/dist/parser/hive/hiveSplitListener.d.ts +6 -0
- package/dist/parser/hive/hiveSplitListener.js +6 -0
- package/dist/parser/hive/index.d.ts +17 -0
- package/dist/parser/{hive.js → hive/index.js} +24 -34
- package/dist/parser/impala/impalaEntityCollector.d.ts +35 -0
- package/dist/parser/impala/impalaEntityCollector.js +90 -0
- package/dist/parser/impala/impalaSplitListener.d.ts +6 -0
- package/dist/parser/impala/impalaSplitListener.js +6 -0
- package/dist/parser/impala/index.d.ts +17 -0
- package/dist/parser/{impala.js → impala/index.js} +24 -34
- package/dist/parser/index.d.ts +8 -8
- package/dist/parser/index.js +8 -8
- package/dist/parser/mysql/index.d.ts +17 -0
- package/dist/parser/{mysql.js → mysql/index.js} +24 -34
- package/dist/parser/mysql/mysqlEntityCollector.d.ts +37 -0
- package/dist/parser/mysql/mysqlEntityCollector.js +96 -0
- package/dist/parser/mysql/mysqlSplitListener.d.ts +6 -0
- package/dist/parser/mysql/mysqlSplitListener.js +6 -0
- package/dist/parser/plsql.d.ts +7 -6
- package/dist/parser/plsql.js +6 -4
- package/dist/parser/postgresql/index.d.ts +17 -0
- package/dist/parser/postgresql/index.js +130 -0
- package/dist/parser/postgresql/postgreEntityCollector.d.ts +37 -0
- package/dist/parser/postgresql/postgreEntityCollector.js +96 -0
- package/dist/parser/postgresql/postgreSplitListener.d.ts +6 -0
- package/dist/parser/postgresql/postgreSplitListener.js +6 -0
- package/dist/parser/spark/index.d.ts +17 -0
- package/dist/parser/{spark.js → spark/index.js} +29 -40
- package/dist/parser/spark/sparkEntityCollector.d.ts +37 -0
- package/dist/parser/spark/sparkEntityCollector.js +96 -0
- package/dist/parser/spark/sparkSplitListener.d.ts +6 -0
- package/dist/parser/spark/sparkSplitListener.js +6 -0
- package/dist/parser/trino/index.d.ts +17 -0
- package/dist/parser/{trinosql.js → trino/index.js} +25 -36
- package/dist/parser/trino/trinoEntityCollector.d.ts +30 -0
- package/dist/parser/trino/trinoEntityCollector.js +75 -0
- package/dist/parser/trino/trinoSplitListener.d.ts +6 -0
- package/dist/parser/trino/trinoSplitListener.js +6 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/token.d.ts +1 -1
- package/package.json +1 -1
- package/dist/parser/common/basic-parser-types.js +0 -34
- package/dist/parser/flinksql.d.ts +0 -23
- package/dist/parser/hive.d.ts +0 -23
- package/dist/parser/impala.d.ts +0 -23
- package/dist/parser/mysql.d.ts +0 -23
- package/dist/parser/pgsql.d.ts +0 -23
- package/dist/parser/pgsql.js +0 -140
- package/dist/parser/spark.d.ts +0 -23
- package/dist/parser/trinosql.d.ts +0 -23
|
@@ -2,7 +2,8 @@ import * as antlr from "antlr4ng";
|
|
|
2
2
|
import { Token } from "antlr4ng";
|
|
3
3
|
import { ImpalaSqlParserListener } from "./ImpalaSqlParserListener.js";
|
|
4
4
|
import { ImpalaSqlParserVisitor } from "./ImpalaSqlParserVisitor.js";
|
|
5
|
-
|
|
5
|
+
import { SQLParserBase } from '../SQLParserBase';
|
|
6
|
+
export declare class ImpalaSqlParser extends SQLParserBase {
|
|
6
7
|
static readonly KW_ADD = 1;
|
|
7
8
|
static readonly KW_ALL = 2;
|
|
8
9
|
static readonly KW_ANALYTIC = 3;
|
|
@@ -124,158 +125,174 @@ export declare class ImpalaSqlParser extends antlr.Parser {
|
|
|
124
125
|
static readonly KW_LOCALTIME = 119;
|
|
125
126
|
static readonly KW_LOCALTIMESTAMP = 120;
|
|
126
127
|
static readonly KW_METADATA = 121;
|
|
127
|
-
static readonly
|
|
128
|
-
static readonly
|
|
129
|
-
static readonly
|
|
130
|
-
static readonly
|
|
131
|
-
static readonly
|
|
132
|
-
static readonly
|
|
133
|
-
static readonly
|
|
134
|
-
static readonly
|
|
135
|
-
static readonly
|
|
136
|
-
static readonly
|
|
137
|
-
static readonly
|
|
138
|
-
static readonly
|
|
139
|
-
static readonly
|
|
140
|
-
static readonly
|
|
141
|
-
static readonly
|
|
142
|
-
static readonly
|
|
143
|
-
static readonly
|
|
144
|
-
static readonly
|
|
145
|
-
static readonly
|
|
146
|
-
static readonly
|
|
147
|
-
static readonly
|
|
148
|
-
static readonly
|
|
149
|
-
static readonly
|
|
150
|
-
static readonly
|
|
151
|
-
static readonly
|
|
152
|
-
static readonly
|
|
153
|
-
static readonly
|
|
154
|
-
static readonly
|
|
155
|
-
static readonly
|
|
156
|
-
static readonly
|
|
157
|
-
static readonly
|
|
158
|
-
static readonly
|
|
159
|
-
static readonly
|
|
160
|
-
static readonly
|
|
161
|
-
static readonly
|
|
162
|
-
static readonly
|
|
163
|
-
static readonly
|
|
164
|
-
static readonly
|
|
165
|
-
static readonly
|
|
166
|
-
static readonly
|
|
167
|
-
static readonly
|
|
168
|
-
static readonly
|
|
169
|
-
static readonly
|
|
170
|
-
static readonly
|
|
171
|
-
static readonly
|
|
172
|
-
static readonly
|
|
173
|
-
static readonly
|
|
174
|
-
static readonly
|
|
175
|
-
static readonly
|
|
176
|
-
static readonly
|
|
177
|
-
static readonly
|
|
178
|
-
static readonly
|
|
179
|
-
static readonly
|
|
180
|
-
static readonly
|
|
181
|
-
static readonly
|
|
182
|
-
static readonly
|
|
183
|
-
static readonly
|
|
184
|
-
static readonly
|
|
185
|
-
static readonly
|
|
186
|
-
static readonly
|
|
187
|
-
static readonly
|
|
188
|
-
static readonly
|
|
189
|
-
static readonly
|
|
190
|
-
static readonly
|
|
191
|
-
static readonly
|
|
192
|
-
static readonly
|
|
193
|
-
static readonly
|
|
194
|
-
static readonly
|
|
195
|
-
static readonly
|
|
196
|
-
static readonly
|
|
197
|
-
static readonly
|
|
198
|
-
static readonly
|
|
199
|
-
static readonly
|
|
200
|
-
static readonly
|
|
201
|
-
static readonly
|
|
202
|
-
static readonly
|
|
203
|
-
static readonly
|
|
204
|
-
static readonly
|
|
205
|
-
static readonly
|
|
206
|
-
static readonly
|
|
207
|
-
static readonly
|
|
208
|
-
static readonly
|
|
209
|
-
static readonly
|
|
210
|
-
static readonly
|
|
211
|
-
static readonly
|
|
212
|
-
static readonly
|
|
213
|
-
static readonly
|
|
214
|
-
static readonly
|
|
215
|
-
static readonly
|
|
216
|
-
static readonly
|
|
217
|
-
static readonly
|
|
218
|
-
static readonly
|
|
219
|
-
static readonly
|
|
220
|
-
static readonly
|
|
221
|
-
static readonly
|
|
222
|
-
static readonly
|
|
223
|
-
static readonly
|
|
224
|
-
static readonly
|
|
225
|
-
static readonly
|
|
226
|
-
static readonly
|
|
227
|
-
static readonly
|
|
228
|
-
static readonly
|
|
229
|
-
static readonly
|
|
230
|
-
static readonly
|
|
231
|
-
static readonly
|
|
232
|
-
static readonly
|
|
233
|
-
static readonly
|
|
234
|
-
static readonly
|
|
235
|
-
static readonly
|
|
236
|
-
static readonly
|
|
237
|
-
static readonly
|
|
238
|
-
static readonly
|
|
239
|
-
static readonly
|
|
240
|
-
static readonly
|
|
241
|
-
static readonly
|
|
242
|
-
static readonly
|
|
243
|
-
static readonly
|
|
244
|
-
static readonly
|
|
245
|
-
static readonly
|
|
246
|
-
static readonly
|
|
247
|
-
static readonly
|
|
248
|
-
static readonly
|
|
249
|
-
static readonly
|
|
250
|
-
static readonly
|
|
251
|
-
static readonly
|
|
252
|
-
static readonly
|
|
253
|
-
static readonly
|
|
254
|
-
static readonly
|
|
255
|
-
static readonly
|
|
256
|
-
static readonly
|
|
257
|
-
static readonly
|
|
258
|
-
static readonly
|
|
259
|
-
static readonly
|
|
260
|
-
static readonly
|
|
261
|
-
static readonly
|
|
262
|
-
static readonly
|
|
263
|
-
static readonly
|
|
264
|
-
static readonly
|
|
265
|
-
static readonly
|
|
266
|
-
static readonly
|
|
267
|
-
static readonly
|
|
268
|
-
static readonly
|
|
269
|
-
static readonly
|
|
270
|
-
static readonly
|
|
271
|
-
static readonly
|
|
272
|
-
static readonly
|
|
273
|
-
static readonly
|
|
274
|
-
static readonly
|
|
275
|
-
static readonly
|
|
276
|
-
static readonly
|
|
277
|
-
static readonly
|
|
278
|
-
static readonly
|
|
128
|
+
static readonly KW_MINUTE = 122;
|
|
129
|
+
static readonly KW_MINUTES = 123;
|
|
130
|
+
static readonly KW_MONTH = 124;
|
|
131
|
+
static readonly KW_MONTHS = 125;
|
|
132
|
+
static readonly KW_MERGE_FN = 126;
|
|
133
|
+
static readonly KW_NFC = 127;
|
|
134
|
+
static readonly KW_NFD = 128;
|
|
135
|
+
static readonly KW_NFKC = 129;
|
|
136
|
+
static readonly KW_NFKD = 130;
|
|
137
|
+
static readonly KW_NORMALIZE = 131;
|
|
138
|
+
static readonly KW_NOT = 132;
|
|
139
|
+
static readonly KW_NULL = 133;
|
|
140
|
+
static readonly KW_NULLS = 134;
|
|
141
|
+
static readonly KW_OFFSET = 135;
|
|
142
|
+
static readonly KW_ON = 136;
|
|
143
|
+
static readonly KW_OPTION = 137;
|
|
144
|
+
static readonly KW_OR = 138;
|
|
145
|
+
static readonly KW_ORDER = 139;
|
|
146
|
+
static readonly KW_ORDINALITY = 140;
|
|
147
|
+
static readonly KW_OUTER = 141;
|
|
148
|
+
static readonly KW_OWNER = 142;
|
|
149
|
+
static readonly KW_OVER = 143;
|
|
150
|
+
static readonly KW_OVERWRITE = 144;
|
|
151
|
+
static readonly KW_PARTITION = 145;
|
|
152
|
+
static readonly KW_PARTITIONS = 146;
|
|
153
|
+
static readonly KW_PARQUET = 147;
|
|
154
|
+
static readonly KW_POSITION = 148;
|
|
155
|
+
static readonly KW_PRECEDING = 149;
|
|
156
|
+
static readonly KW_PRIMARY = 150;
|
|
157
|
+
static readonly KW_REPLICATION = 151;
|
|
158
|
+
static readonly KW_PRIVILEGES = 152;
|
|
159
|
+
static readonly KW_PROPERTIES = 153;
|
|
160
|
+
static readonly KW_RANGE = 154;
|
|
161
|
+
static readonly KW_RECOVER = 155;
|
|
162
|
+
static readonly KW_RENAME = 156;
|
|
163
|
+
static readonly KW_REPEATABLE = 157;
|
|
164
|
+
static readonly KW_REPLACE = 158;
|
|
165
|
+
static readonly KW_RESTRICT = 159;
|
|
166
|
+
static readonly KW_RETURNS = 160;
|
|
167
|
+
static readonly KW_REVOKE = 161;
|
|
168
|
+
static readonly KW_REFRESH = 162;
|
|
169
|
+
static readonly KW_REGEXP = 163;
|
|
170
|
+
static readonly KW_RLIKE = 164;
|
|
171
|
+
static readonly KW_RIGHT = 165;
|
|
172
|
+
static readonly KW_ROLE = 166;
|
|
173
|
+
static readonly KW_ROLES = 167;
|
|
174
|
+
static readonly KW_ROW = 168;
|
|
175
|
+
static readonly KW_ROWS = 169;
|
|
176
|
+
static readonly KW_SCHEMA = 170;
|
|
177
|
+
static readonly KW_SCHEMAS = 171;
|
|
178
|
+
static readonly KW_SECOND = 172;
|
|
179
|
+
static readonly KW_SECONDS = 173;
|
|
180
|
+
static readonly KW_SELECT = 174;
|
|
181
|
+
static readonly KW_SERDEPROPERTIES = 175;
|
|
182
|
+
static readonly KW_SET = 176;
|
|
183
|
+
static readonly KW_SEMI = 177;
|
|
184
|
+
static readonly KW_SERVER = 178;
|
|
185
|
+
static readonly KW_SHOW = 179;
|
|
186
|
+
static readonly KW_SHUTDOWN = 180;
|
|
187
|
+
static readonly KW_SOME = 181;
|
|
188
|
+
static readonly KW_STATS = 182;
|
|
189
|
+
static readonly KW_STRAIGHT_JOIN = 183;
|
|
190
|
+
static readonly KW_SUBSTRING = 184;
|
|
191
|
+
static readonly KW_SYSTEM = 185;
|
|
192
|
+
static readonly KW_SYMBOL = 186;
|
|
193
|
+
static readonly KW_SERIALIZE_FN = 187;
|
|
194
|
+
static readonly KW_TABLE = 188;
|
|
195
|
+
static readonly KW_TABLES = 189;
|
|
196
|
+
static readonly KW_TABLESAMPLE = 190;
|
|
197
|
+
static readonly KW_TERMINATED = 191;
|
|
198
|
+
static readonly KW_THEN = 192;
|
|
199
|
+
static readonly KW_TO = 193;
|
|
200
|
+
static readonly KW_TRUE = 194;
|
|
201
|
+
static readonly KW_TRY_CAST = 195;
|
|
202
|
+
static readonly KW_TRUNCATE = 196;
|
|
203
|
+
static readonly KW_UNCACHED = 197;
|
|
204
|
+
static readonly KW_UESCAPE = 198;
|
|
205
|
+
static readonly KW_UNBOUNDED = 199;
|
|
206
|
+
static readonly KW_UNION = 200;
|
|
207
|
+
static readonly KW_UNNEST = 201;
|
|
208
|
+
static readonly KW_UNSET = 202;
|
|
209
|
+
static readonly KW_USE = 203;
|
|
210
|
+
static readonly KW_USER = 204;
|
|
211
|
+
static readonly KW_USING = 205;
|
|
212
|
+
static readonly KW_UPDATE_FN = 206;
|
|
213
|
+
static readonly KW_UPSERT = 207;
|
|
214
|
+
static readonly KW_UNKNOWN = 208;
|
|
215
|
+
static readonly KW_URI = 209;
|
|
216
|
+
static readonly KW_VALUE = 210;
|
|
217
|
+
static readonly KW_VALUES = 211;
|
|
218
|
+
static readonly KW_VIEW = 212;
|
|
219
|
+
static readonly KW_VIEWS = 213;
|
|
220
|
+
static readonly KW_WHEN = 214;
|
|
221
|
+
static readonly KW_WHERE = 215;
|
|
222
|
+
static readonly KW_WITH = 216;
|
|
223
|
+
static readonly KW_YEAR = 217;
|
|
224
|
+
static readonly KW_YEARS = 218;
|
|
225
|
+
static readonly KW_TEXTFILE = 219;
|
|
226
|
+
static readonly KW_ORC = 220;
|
|
227
|
+
static readonly KW_AVRO = 221;
|
|
228
|
+
static readonly KW_SEQUENCEFILE = 222;
|
|
229
|
+
static readonly KW_RCFILE = 223;
|
|
230
|
+
static readonly KW_REFERENCES = 224;
|
|
231
|
+
static readonly KW_NOVALIDATE = 225;
|
|
232
|
+
static readonly KW_RELY = 226;
|
|
233
|
+
static readonly KW_BINARY = 227;
|
|
234
|
+
static readonly KW_BIGINT = 228;
|
|
235
|
+
static readonly KW_BOOLEAN = 229;
|
|
236
|
+
static readonly KW_CHAR = 230;
|
|
237
|
+
static readonly KW_DATE = 231;
|
|
238
|
+
static readonly KW_DECIMAL = 232;
|
|
239
|
+
static readonly KW_DOUBLE = 233;
|
|
240
|
+
static readonly KW_INT = 234;
|
|
241
|
+
static readonly KW_MAP = 235;
|
|
242
|
+
static readonly KW_REAL = 236;
|
|
243
|
+
static readonly KW_SMALLINT = 237;
|
|
244
|
+
static readonly KW_FLOAT = 238;
|
|
245
|
+
static readonly KW_STRING = 239;
|
|
246
|
+
static readonly KW_STRUCT = 240;
|
|
247
|
+
static readonly KW_TIMESTAMP = 241;
|
|
248
|
+
static readonly KW_TINYINT = 242;
|
|
249
|
+
static readonly KW_VARCHAR = 243;
|
|
250
|
+
static readonly KW_COMPLEX = 244;
|
|
251
|
+
static readonly STATS_NUMDVS = 245;
|
|
252
|
+
static readonly STATS_NUMNULLS = 246;
|
|
253
|
+
static readonly STATS_AVGSIZE = 247;
|
|
254
|
+
static readonly STATS_MAXSIZE = 248;
|
|
255
|
+
static readonly EQ = 249;
|
|
256
|
+
static readonly NEQ = 250;
|
|
257
|
+
static readonly LT = 251;
|
|
258
|
+
static readonly LTE = 252;
|
|
259
|
+
static readonly GT = 253;
|
|
260
|
+
static readonly GTE = 254;
|
|
261
|
+
static readonly PLUS = 255;
|
|
262
|
+
static readonly MINUS = 256;
|
|
263
|
+
static readonly ASTERISK = 257;
|
|
264
|
+
static readonly SLASH = 258;
|
|
265
|
+
static readonly PERCENT = 259;
|
|
266
|
+
static readonly CONCAT = 260;
|
|
267
|
+
static readonly DOT = 261;
|
|
268
|
+
static readonly SEMICOLON = 262;
|
|
269
|
+
static readonly COMMA = 263;
|
|
270
|
+
static readonly COLON = 264;
|
|
271
|
+
static readonly LPAREN = 265;
|
|
272
|
+
static readonly RPAREN = 266;
|
|
273
|
+
static readonly LSQUARE = 267;
|
|
274
|
+
static readonly RSQUARE = 268;
|
|
275
|
+
static readonly LCURLY = 269;
|
|
276
|
+
static readonly RCURLY = 270;
|
|
277
|
+
static readonly BITWISEOR = 271;
|
|
278
|
+
static readonly QUESTION = 272;
|
|
279
|
+
static readonly RIGHT_ARROW = 273;
|
|
280
|
+
static readonly STRING = 274;
|
|
281
|
+
static readonly UNICODE_STRING = 275;
|
|
282
|
+
static readonly BINARY_LITERAL = 276;
|
|
283
|
+
static readonly INTEGER_VALUE = 277;
|
|
284
|
+
static readonly DECIMAL_VALUE = 278;
|
|
285
|
+
static readonly DOUBLE_VALUE = 279;
|
|
286
|
+
static readonly IDENTIFIER = 280;
|
|
287
|
+
static readonly DIGIT_IDENTIFIER = 281;
|
|
288
|
+
static readonly QUOTED_IDENTIFIER = 282;
|
|
289
|
+
static readonly BACKQUOTED_IDENTIFIER = 283;
|
|
290
|
+
static readonly TIME_WITH_TIME_ZONE = 284;
|
|
291
|
+
static readonly TIMESTAMP_WITH_TIME_ZONE = 285;
|
|
292
|
+
static readonly DOUBLE_PRECISION = 286;
|
|
293
|
+
static readonly SIMPLE_COMMENT = 287;
|
|
294
|
+
static readonly BRACKETED_COMMENT = 288;
|
|
295
|
+
static readonly WS = 289;
|
|
279
296
|
static readonly RULE_program = 0;
|
|
280
297
|
static readonly RULE_singleStatement = 1;
|
|
281
298
|
static readonly RULE_sqlStatement = 2;
|
|
@@ -382,47 +399,47 @@ export declare class ImpalaSqlParser extends antlr.Parser {
|
|
|
382
399
|
static readonly RULE_with = 103;
|
|
383
400
|
static readonly RULE_constraintSpecification = 104;
|
|
384
401
|
static readonly RULE_foreignKeySpecification = 105;
|
|
385
|
-
static readonly
|
|
386
|
-
static readonly
|
|
387
|
-
static readonly
|
|
388
|
-
static readonly
|
|
389
|
-
static readonly
|
|
390
|
-
static readonly
|
|
391
|
-
static readonly
|
|
392
|
-
static readonly
|
|
393
|
-
static readonly
|
|
394
|
-
static readonly
|
|
395
|
-
static readonly
|
|
396
|
-
static readonly
|
|
397
|
-
static readonly
|
|
398
|
-
static readonly
|
|
399
|
-
static readonly
|
|
400
|
-
static readonly
|
|
401
|
-
static readonly
|
|
402
|
-
static readonly
|
|
403
|
-
static readonly
|
|
404
|
-
static readonly
|
|
405
|
-
static readonly
|
|
406
|
-
static readonly
|
|
407
|
-
static readonly
|
|
408
|
-
static readonly
|
|
409
|
-
static readonly
|
|
410
|
-
static readonly
|
|
411
|
-
static readonly
|
|
412
|
-
static readonly
|
|
413
|
-
static readonly
|
|
414
|
-
static readonly
|
|
415
|
-
static readonly
|
|
416
|
-
static readonly
|
|
417
|
-
static readonly
|
|
418
|
-
static readonly
|
|
419
|
-
static readonly
|
|
420
|
-
static readonly
|
|
421
|
-
static readonly
|
|
422
|
-
static readonly
|
|
423
|
-
static readonly
|
|
424
|
-
static readonly
|
|
425
|
-
static readonly
|
|
402
|
+
static readonly RULE_columnSpec = 106;
|
|
403
|
+
static readonly RULE_columnDefinition = 107;
|
|
404
|
+
static readonly RULE_kuduTableElement = 108;
|
|
405
|
+
static readonly RULE_kuduColumnDefinition = 109;
|
|
406
|
+
static readonly RULE_columnSpecWithKudu = 110;
|
|
407
|
+
static readonly RULE_createColumnSpecWithKudu = 111;
|
|
408
|
+
static readonly RULE_kuduAttributes = 112;
|
|
409
|
+
static readonly RULE_kuduStorageAttr = 113;
|
|
410
|
+
static readonly RULE_statsKey = 114;
|
|
411
|
+
static readonly RULE_fileFormat = 115;
|
|
412
|
+
static readonly RULE_kuduPartitionClause = 116;
|
|
413
|
+
static readonly RULE_hashClause = 117;
|
|
414
|
+
static readonly RULE_rangeClause = 118;
|
|
415
|
+
static readonly RULE_kuduPartitionSpec = 119;
|
|
416
|
+
static readonly RULE_cacheSpec = 120;
|
|
417
|
+
static readonly RULE_rangeOperator = 121;
|
|
418
|
+
static readonly RULE_partitionCol = 122;
|
|
419
|
+
static readonly RULE_likeClause = 123;
|
|
420
|
+
static readonly RULE_properties = 124;
|
|
421
|
+
static readonly RULE_partitionedBy = 125;
|
|
422
|
+
static readonly RULE_sortedBy = 126;
|
|
423
|
+
static readonly RULE_rowFormat = 127;
|
|
424
|
+
static readonly RULE_property = 128;
|
|
425
|
+
static readonly RULE_queryNoWith = 129;
|
|
426
|
+
static readonly RULE_queryTerm = 130;
|
|
427
|
+
static readonly RULE_queryPrimary = 131;
|
|
428
|
+
static readonly RULE_sortItem = 132;
|
|
429
|
+
static readonly RULE_querySpecification = 133;
|
|
430
|
+
static readonly RULE_groupBy = 134;
|
|
431
|
+
static readonly RULE_groupingElement = 135;
|
|
432
|
+
static readonly RULE_groupingSet = 136;
|
|
433
|
+
static readonly RULE_namedQuery = 137;
|
|
434
|
+
static readonly RULE_setQuantifier = 138;
|
|
435
|
+
static readonly RULE_selectItem = 139;
|
|
436
|
+
static readonly RULE_relation = 140;
|
|
437
|
+
static readonly RULE_joinType = 141;
|
|
438
|
+
static readonly RULE_joinCriteria = 142;
|
|
439
|
+
static readonly RULE_sampledRelation = 143;
|
|
440
|
+
static readonly RULE_sampleType = 144;
|
|
441
|
+
static readonly RULE_aliasedRelation = 145;
|
|
442
|
+
static readonly RULE_columnAliases = 146;
|
|
426
443
|
static readonly RULE_relationPrimary = 147;
|
|
427
444
|
static readonly RULE_subQueryRelation = 148;
|
|
428
445
|
static readonly RULE_unnest = 149;
|
|
@@ -441,25 +458,26 @@ export declare class ImpalaSqlParser extends antlr.Parser {
|
|
|
441
458
|
static readonly RULE_intervalField = 162;
|
|
442
459
|
static readonly RULE_normalForm = 163;
|
|
443
460
|
static readonly RULE_type = 164;
|
|
444
|
-
static readonly
|
|
445
|
-
static readonly
|
|
446
|
-
static readonly
|
|
447
|
-
static readonly
|
|
448
|
-
static readonly
|
|
449
|
-
static readonly
|
|
450
|
-
static readonly
|
|
451
|
-
static readonly
|
|
452
|
-
static readonly
|
|
453
|
-
static readonly
|
|
454
|
-
static readonly
|
|
455
|
-
static readonly
|
|
456
|
-
static readonly
|
|
457
|
-
static readonly
|
|
458
|
-
static readonly
|
|
459
|
-
static readonly
|
|
460
|
-
static readonly
|
|
461
|
-
static readonly
|
|
462
|
-
static readonly
|
|
461
|
+
static readonly RULE_dataType = 165;
|
|
462
|
+
static readonly RULE_typeParameter = 166;
|
|
463
|
+
static readonly RULE_baseType = 167;
|
|
464
|
+
static readonly RULE_whenClause = 168;
|
|
465
|
+
static readonly RULE_filter = 169;
|
|
466
|
+
static readonly RULE_over = 170;
|
|
467
|
+
static readonly RULE_windowFrame = 171;
|
|
468
|
+
static readonly RULE_frameBound = 172;
|
|
469
|
+
static readonly RULE_pathElement = 173;
|
|
470
|
+
static readonly RULE_pathSpecification = 174;
|
|
471
|
+
static readonly RULE_privilege = 175;
|
|
472
|
+
static readonly RULE_objectType = 176;
|
|
473
|
+
static readonly RULE_qualifiedName = 177;
|
|
474
|
+
static readonly RULE_principal = 178;
|
|
475
|
+
static readonly RULE_identifier = 179;
|
|
476
|
+
static readonly RULE_number = 180;
|
|
477
|
+
static readonly RULE_reservedKeywordsUsedAsFuncName = 181;
|
|
478
|
+
static readonly RULE_nonReserved = 182;
|
|
479
|
+
static readonly literalNames: (string | null)[];
|
|
480
|
+
static readonly symbolicNames: (string | null)[];
|
|
463
481
|
static readonly ruleNames: string[];
|
|
464
482
|
get grammarFileName(): string;
|
|
465
483
|
get literalNames(): (string | null)[];
|
|
@@ -574,6 +592,7 @@ export declare class ImpalaSqlParser extends antlr.Parser {
|
|
|
574
592
|
with_(): WithContext;
|
|
575
593
|
constraintSpecification(): ConstraintSpecificationContext;
|
|
576
594
|
foreignKeySpecification(): ForeignKeySpecificationContext;
|
|
595
|
+
columnSpec(): ColumnSpecContext;
|
|
577
596
|
columnDefinition(): ColumnDefinitionContext;
|
|
578
597
|
kuduTableElement(): KuduTableElementContext;
|
|
579
598
|
kuduColumnDefinition(): KuduColumnDefinitionContext;
|
|
@@ -616,7 +635,6 @@ export declare class ImpalaSqlParser extends antlr.Parser {
|
|
|
616
635
|
sampleType(): SampleTypeContext;
|
|
617
636
|
aliasedRelation(): AliasedRelationContext;
|
|
618
637
|
columnAliases(): ColumnAliasesContext;
|
|
619
|
-
createColumnAliases(): CreateColumnAliasesContext;
|
|
620
638
|
relationPrimary(): RelationPrimaryContext;
|
|
621
639
|
subQueryRelation(): SubQueryRelationContext;
|
|
622
640
|
unnest(): UnnestContext;
|
|
@@ -639,6 +657,7 @@ export declare class ImpalaSqlParser extends antlr.Parser {
|
|
|
639
657
|
normalForm(): NormalFormContext;
|
|
640
658
|
type_(): TypeContext;
|
|
641
659
|
type_(_p: number): TypeContext;
|
|
660
|
+
dataType(): DataTypeContext;
|
|
642
661
|
typeParameter(): TypeParameterContext;
|
|
643
662
|
baseType(): BaseTypeContext;
|
|
644
663
|
whenClause(): WhenClauseContext;
|
|
@@ -657,6 +676,7 @@ export declare class ImpalaSqlParser extends antlr.Parser {
|
|
|
657
676
|
reservedKeywordsUsedAsFuncName(): ReservedKeywordsUsedAsFuncNameContext;
|
|
658
677
|
nonReserved(): NonReservedContext;
|
|
659
678
|
sempred(localContext: antlr.RuleContext | null, ruleIndex: number, predIndex: number): boolean;
|
|
679
|
+
private columnNamePath_sempred;
|
|
660
680
|
private queryTerm_sempred;
|
|
661
681
|
private relation_sempred;
|
|
662
682
|
private booleanExpression_sempred;
|
|
@@ -758,8 +778,8 @@ export declare class CreateTableSelectContext extends antlr.ParserRuleContext {
|
|
|
758
778
|
KW_BY(): antlr.TerminalNode | null;
|
|
759
779
|
KW_AS(): antlr.TerminalNode | null;
|
|
760
780
|
queryStatement(): QueryStatementContext | null;
|
|
781
|
+
columnAliases(): ColumnAliasesContext | null;
|
|
761
782
|
partitionedBy(): PartitionedByContext | null;
|
|
762
|
-
createColumnAliases(): CreateColumnAliasesContext | null;
|
|
763
783
|
COMMA(): antlr.TerminalNode[];
|
|
764
784
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
765
785
|
constraintSpecification(): ConstraintSpecificationContext | null;
|
|
@@ -1308,7 +1328,9 @@ export declare class ComputeIncrementalStatsContext extends antlr.ParserRuleCont
|
|
|
1308
1328
|
KW_STATS(): antlr.TerminalNode;
|
|
1309
1329
|
tableNamePath(): TableNamePathContext;
|
|
1310
1330
|
KW_PARTITION(): antlr.TerminalNode | null;
|
|
1331
|
+
LPAREN(): antlr.TerminalNode | null;
|
|
1311
1332
|
expression(): ExpressionContext | null;
|
|
1333
|
+
RPAREN(): antlr.TerminalNode | null;
|
|
1312
1334
|
get ruleIndex(): number;
|
|
1313
1335
|
enterRule(listener: ImpalaSqlParserListener): void;
|
|
1314
1336
|
exitRule(listener: ImpalaSqlParserListener): void;
|
|
@@ -2073,7 +2095,7 @@ export declare class FunctionNamePathContext extends antlr.ParserRuleContext {
|
|
|
2073
2095
|
}
|
|
2074
2096
|
export declare class ColumnNamePathContext extends antlr.ParserRuleContext {
|
|
2075
2097
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2076
|
-
qualifiedName(): QualifiedNameContext;
|
|
2098
|
+
qualifiedName(): QualifiedNameContext | null;
|
|
2077
2099
|
get ruleIndex(): number;
|
|
2078
2100
|
enterRule(listener: ImpalaSqlParserListener): void;
|
|
2079
2101
|
exitRule(listener: ImpalaSqlParserListener): void;
|
|
@@ -2150,7 +2172,8 @@ export declare class AssignmentItemContext extends antlr.ParserRuleContext {
|
|
|
2150
2172
|
export declare class ViewColumnsContext extends antlr.ParserRuleContext {
|
|
2151
2173
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2152
2174
|
LPAREN(): antlr.TerminalNode;
|
|
2153
|
-
|
|
2175
|
+
columnNamePathCreate(): ColumnNamePathCreateContext[];
|
|
2176
|
+
columnNamePathCreate(i: number): ColumnNamePathCreateContext | null;
|
|
2154
2177
|
RPAREN(): antlr.TerminalNode;
|
|
2155
2178
|
KW_COMMENT(): antlr.TerminalNode[];
|
|
2156
2179
|
KW_COMMENT(i: number): antlr.TerminalNode | null;
|
|
@@ -2158,8 +2181,6 @@ export declare class ViewColumnsContext extends antlr.ParserRuleContext {
|
|
|
2158
2181
|
stringLiteral(i: number): StringLiteralContext | null;
|
|
2159
2182
|
COMMA(): antlr.TerminalNode[];
|
|
2160
2183
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
2161
|
-
identifier(): IdentifierContext[];
|
|
2162
|
-
identifier(i: number): IdentifierContext | null;
|
|
2163
2184
|
get ruleIndex(): number;
|
|
2164
2185
|
enterRule(listener: ImpalaSqlParserListener): void;
|
|
2165
2186
|
exitRule(listener: ImpalaSqlParserListener): void;
|
|
@@ -2219,6 +2240,17 @@ export declare class ForeignKeySpecificationContext extends antlr.ParserRuleCont
|
|
|
2219
2240
|
exitRule(listener: ImpalaSqlParserListener): void;
|
|
2220
2241
|
accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
|
|
2221
2242
|
}
|
|
2243
|
+
export declare class ColumnSpecContext extends antlr.ParserRuleContext {
|
|
2244
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2245
|
+
columnNamePath(): ColumnNamePathContext;
|
|
2246
|
+
type(): TypeContext;
|
|
2247
|
+
KW_COMMENT(): antlr.TerminalNode | null;
|
|
2248
|
+
stringLiteral(): StringLiteralContext | null;
|
|
2249
|
+
get ruleIndex(): number;
|
|
2250
|
+
enterRule(listener: ImpalaSqlParserListener): void;
|
|
2251
|
+
exitRule(listener: ImpalaSqlParserListener): void;
|
|
2252
|
+
accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
|
|
2253
|
+
}
|
|
2222
2254
|
export declare class ColumnDefinitionContext extends antlr.ParserRuleContext {
|
|
2223
2255
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2224
2256
|
columnNamePathCreate(): ColumnNamePathCreateContext;
|
|
@@ -2255,10 +2287,7 @@ export declare class KuduColumnDefinitionContext extends antlr.ParserRuleContext
|
|
|
2255
2287
|
}
|
|
2256
2288
|
export declare class ColumnSpecWithKuduContext extends antlr.ParserRuleContext {
|
|
2257
2289
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2258
|
-
|
|
2259
|
-
type(): TypeContext;
|
|
2260
|
-
KW_COMMENT(): antlr.TerminalNode | null;
|
|
2261
|
-
stringLiteral(): StringLiteralContext | null;
|
|
2290
|
+
columnSpec(): ColumnSpecContext | null;
|
|
2262
2291
|
kuduAttributes(): KuduAttributesContext[];
|
|
2263
2292
|
kuduAttributes(i: number): KuduAttributesContext | null;
|
|
2264
2293
|
get ruleIndex(): number;
|
|
@@ -2450,8 +2479,8 @@ export declare class PropertiesContext extends antlr.ParserRuleContext {
|
|
|
2450
2479
|
export declare class PartitionedByContext extends antlr.ParserRuleContext {
|
|
2451
2480
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2452
2481
|
LPAREN(): antlr.TerminalNode;
|
|
2453
|
-
|
|
2454
|
-
|
|
2482
|
+
columnSpec(): ColumnSpecContext[];
|
|
2483
|
+
columnSpec(i: number): ColumnSpecContext | null;
|
|
2455
2484
|
RPAREN(): antlr.TerminalNode;
|
|
2456
2485
|
COMMA(): antlr.TerminalNode[];
|
|
2457
2486
|
COMMA(i: number): antlr.TerminalNode | null;
|
|
@@ -2817,19 +2846,6 @@ export declare class ColumnAliasesContext extends antlr.ParserRuleContext {
|
|
|
2817
2846
|
exitRule(listener: ImpalaSqlParserListener): void;
|
|
2818
2847
|
accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
|
|
2819
2848
|
}
|
|
2820
|
-
export declare class CreateColumnAliasesContext extends antlr.ParserRuleContext {
|
|
2821
|
-
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2822
|
-
LPAREN(): antlr.TerminalNode;
|
|
2823
|
-
columnNamePathCreate(): ColumnNamePathCreateContext[];
|
|
2824
|
-
columnNamePathCreate(i: number): ColumnNamePathCreateContext | null;
|
|
2825
|
-
RPAREN(): antlr.TerminalNode;
|
|
2826
|
-
COMMA(): antlr.TerminalNode[];
|
|
2827
|
-
COMMA(i: number): antlr.TerminalNode | null;
|
|
2828
|
-
get ruleIndex(): number;
|
|
2829
|
-
enterRule(listener: ImpalaSqlParserListener): void;
|
|
2830
|
-
exitRule(listener: ImpalaSqlParserListener): void;
|
|
2831
|
-
accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
|
|
2832
|
-
}
|
|
2833
2849
|
export declare class RelationPrimaryContext extends antlr.ParserRuleContext {
|
|
2834
2850
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
2835
2851
|
tableOrViewPath(): TableOrViewPathContext | null;
|
|
@@ -3516,9 +3532,8 @@ export declare class TypeContext extends antlr.ParserRuleContext {
|
|
|
3516
3532
|
KW_STRUCT(): antlr.TerminalNode | null;
|
|
3517
3533
|
identifier(): IdentifierContext[];
|
|
3518
3534
|
identifier(i: number): IdentifierContext | null;
|
|
3519
|
-
COLON(): antlr.TerminalNode[];
|
|
3520
|
-
COLON(i: number): antlr.TerminalNode | null;
|
|
3521
3535
|
baseType(): BaseTypeContext | null;
|
|
3536
|
+
dataType(): DataTypeContext | null;
|
|
3522
3537
|
LPAREN(): antlr.TerminalNode | null;
|
|
3523
3538
|
typeParameter(): TypeParameterContext[];
|
|
3524
3539
|
typeParameter(i: number): TypeParameterContext | null;
|
|
@@ -3528,6 +3543,32 @@ export declare class TypeContext extends antlr.ParserRuleContext {
|
|
|
3528
3543
|
exitRule(listener: ImpalaSqlParserListener): void;
|
|
3529
3544
|
accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
|
|
3530
3545
|
}
|
|
3546
|
+
export declare class DataTypeContext extends antlr.ParserRuleContext {
|
|
3547
|
+
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3548
|
+
KW_ARRAY(): antlr.TerminalNode | null;
|
|
3549
|
+
KW_BINARY(): antlr.TerminalNode | null;
|
|
3550
|
+
KW_BIGINT(): antlr.TerminalNode | null;
|
|
3551
|
+
KW_BOOLEAN(): antlr.TerminalNode | null;
|
|
3552
|
+
KW_CHAR(): antlr.TerminalNode | null;
|
|
3553
|
+
KW_DATE(): antlr.TerminalNode | null;
|
|
3554
|
+
KW_DECIMAL(): antlr.TerminalNode | null;
|
|
3555
|
+
KW_DOUBLE(): antlr.TerminalNode | null;
|
|
3556
|
+
KW_FLOAT(): antlr.TerminalNode | null;
|
|
3557
|
+
KW_INT(): antlr.TerminalNode | null;
|
|
3558
|
+
KW_MAP(): antlr.TerminalNode | null;
|
|
3559
|
+
KW_REAL(): antlr.TerminalNode | null;
|
|
3560
|
+
KW_SMALLINT(): antlr.TerminalNode | null;
|
|
3561
|
+
KW_STRING(): antlr.TerminalNode | null;
|
|
3562
|
+
KW_STRUCT(): antlr.TerminalNode | null;
|
|
3563
|
+
KW_TIMESTAMP(): antlr.TerminalNode | null;
|
|
3564
|
+
KW_TINYINT(): antlr.TerminalNode | null;
|
|
3565
|
+
KW_VARCHAR(): antlr.TerminalNode | null;
|
|
3566
|
+
KW_COMPLEX(): antlr.TerminalNode | null;
|
|
3567
|
+
get ruleIndex(): number;
|
|
3568
|
+
enterRule(listener: ImpalaSqlParserListener): void;
|
|
3569
|
+
exitRule(listener: ImpalaSqlParserListener): void;
|
|
3570
|
+
accept<Result>(visitor: ImpalaSqlParserVisitor<Result>): Result | null;
|
|
3571
|
+
}
|
|
3531
3572
|
export declare class TypeParameterContext extends antlr.ParserRuleContext {
|
|
3532
3573
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3533
3574
|
INTEGER_VALUE(): antlr.TerminalNode | null;
|
|
@@ -3837,6 +3878,7 @@ export declare class NonReservedContext extends antlr.ParserRuleContext {
|
|
|
3837
3878
|
constructor(parent: antlr.ParserRuleContext | null, invokingState: number);
|
|
3838
3879
|
KW_BERNOULLI(): antlr.TerminalNode | null;
|
|
3839
3880
|
KW_DAY(): antlr.TerminalNode | null;
|
|
3881
|
+
KW_DATE(): antlr.TerminalNode | null;
|
|
3840
3882
|
KW_DAYS(): antlr.TerminalNode | null;
|
|
3841
3883
|
KW_EXCLUDING(): antlr.TerminalNode | null;
|
|
3842
3884
|
KW_HOUR(): antlr.TerminalNode | null;
|