dt-sql-parser 4.0.0-beta.4.1 → 4.0.0-beta.4.3

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.
Files changed (93) hide show
  1. package/README.md +124 -43
  2. package/dist/index.d.ts +5 -5
  3. package/dist/index.js +4 -4
  4. package/dist/index.js.map +1 -1
  5. package/dist/lib/flinksql/FlinkSqlLexer.d.ts +202 -201
  6. package/dist/lib/flinksql/FlinkSqlLexer.js +2003 -1996
  7. package/dist/lib/flinksql/FlinkSqlLexer.js.map +1 -1
  8. package/dist/lib/flinksql/FlinkSqlParser.d.ts +328 -265
  9. package/dist/lib/flinksql/FlinkSqlParser.js +3712 -3076
  10. package/dist/lib/flinksql/FlinkSqlParser.js.map +1 -1
  11. package/dist/lib/flinksql/FlinkSqlParserListener.d.ts +44 -0
  12. package/dist/lib/flinksql/FlinkSqlParserVisitor.d.ts +28 -0
  13. package/dist/lib/hive/HiveSqlLexer.d.ts +365 -351
  14. package/dist/lib/hive/HiveSqlLexer.js +2494 -2457
  15. package/dist/lib/hive/HiveSqlLexer.js.map +1 -1
  16. package/dist/lib/hive/{HiveSql.d.ts → HiveSqlParser.d.ts} +2791 -2463
  17. package/dist/lib/hive/{HiveSql.js → HiveSqlParser.js} +18554 -16800
  18. package/dist/lib/hive/HiveSqlParser.js.map +1 -0
  19. package/dist/lib/hive/{HiveSqlListener.d.ts → HiveSqlParserListener.d.ts} +1759 -1517
  20. package/dist/lib/hive/HiveSqlParserListener.js +3 -0
  21. package/dist/lib/hive/HiveSqlParserListener.js.map +1 -0
  22. package/dist/lib/hive/{HiveSqlVisitor.d.ts → HiveSqlParserVisitor.d.ts} +1165 -1011
  23. package/dist/lib/hive/HiveSqlParserVisitor.js +3 -0
  24. package/dist/lib/hive/HiveSqlParserVisitor.js.map +1 -0
  25. package/dist/lib/pgsql/PostgreSQLLexerBase.js +0 -4
  26. package/dist/lib/pgsql/PostgreSQLLexerBase.js.map +1 -1
  27. package/dist/lib/pgsql/PostgreSQLParserBase.js +0 -6
  28. package/dist/lib/pgsql/PostgreSQLParserBase.js.map +1 -1
  29. package/dist/lib/spark/SparkSqlLexer.d.ts +398 -322
  30. package/dist/lib/spark/SparkSqlLexer.js +2302 -1738
  31. package/dist/lib/spark/SparkSqlLexer.js.map +1 -1
  32. package/dist/lib/spark/SparkSqlParser.d.ts +3319 -3314
  33. package/dist/lib/spark/SparkSqlParser.js +18718 -16132
  34. package/dist/lib/spark/SparkSqlParser.js.map +1 -1
  35. package/dist/lib/spark/SparkSqlParserListener.d.ts +2130 -0
  36. package/dist/lib/spark/SparkSqlParserListener.js +3 -0
  37. package/dist/lib/spark/SparkSqlParserListener.js.map +1 -0
  38. package/dist/lib/spark/SparkSqlParserVisitor.d.ts +1361 -0
  39. package/dist/lib/spark/SparkSqlParserVisitor.js +3 -0
  40. package/dist/lib/spark/SparkSqlParserVisitor.js.map +1 -0
  41. package/dist/parser/common/basic-parser-types.d.ts +16 -3
  42. package/dist/parser/common/basic-parser-types.js +12 -2
  43. package/dist/parser/common/basic-parser-types.js.map +1 -1
  44. package/dist/parser/common/basicParser.d.ts +27 -28
  45. package/dist/parser/common/basicParser.js +76 -60
  46. package/dist/parser/common/basicParser.js.map +1 -1
  47. package/dist/parser/common/parseErrorListener.d.ts +33 -0
  48. package/dist/parser/common/parseErrorListener.js +28 -0
  49. package/dist/parser/common/parseErrorListener.js.map +1 -0
  50. package/dist/parser/flinksql.d.ts +1 -1
  51. package/dist/parser/flinksql.js +32 -13
  52. package/dist/parser/flinksql.js.map +1 -1
  53. package/dist/parser/generic.js +1 -1
  54. package/dist/parser/generic.js.map +1 -1
  55. package/dist/parser/hive.d.ts +12 -5
  56. package/dist/parser/hive.js +91 -7
  57. package/dist/parser/hive.js.map +1 -1
  58. package/dist/parser/index.d.ts +1 -0
  59. package/dist/parser/index.js +1 -0
  60. package/dist/parser/index.js.map +1 -1
  61. package/dist/parser/pgsql.js +1 -1
  62. package/dist/parser/pgsql.js.map +1 -1
  63. package/dist/parser/plsql.js +1 -1
  64. package/dist/parser/plsql.js.map +1 -1
  65. package/dist/parser/spark.d.ts +10 -3
  66. package/dist/parser/spark.js +90 -7
  67. package/dist/parser/spark.js.map +1 -1
  68. package/dist/parser/trinosql.js +1 -1
  69. package/dist/parser/trinosql.js.map +1 -1
  70. package/dist/utils/findCaretTokenIndex.d.ts +2 -2
  71. package/dist/utils/findCaretTokenIndex.js +5 -4
  72. package/dist/utils/findCaretTokenIndex.js.map +1 -1
  73. package/dist/utils/index.d.ts +1 -1
  74. package/dist/utils/index.js +1 -5
  75. package/dist/utils/index.js.map +1 -1
  76. package/dist/utils/token.d.ts +2 -2
  77. package/dist/utils/token.js +2 -2
  78. package/dist/utils/token.js.map +1 -1
  79. package/package.json +16 -9
  80. package/dist/lib/hive/HiveSql.js.map +0 -1
  81. package/dist/lib/hive/HiveSqlListener.js +0 -3
  82. package/dist/lib/hive/HiveSqlListener.js.map +0 -1
  83. package/dist/lib/hive/HiveSqlVisitor.js +0 -3
  84. package/dist/lib/hive/HiveSqlVisitor.js.map +0 -1
  85. package/dist/lib/spark/SparkSqlListener.d.ts +0 -3516
  86. package/dist/lib/spark/SparkSqlListener.js +0 -3
  87. package/dist/lib/spark/SparkSqlListener.js.map +0 -1
  88. package/dist/lib/spark/SparkSqlVisitor.d.ts +0 -2201
  89. package/dist/lib/spark/SparkSqlVisitor.js +0 -3
  90. package/dist/lib/spark/SparkSqlVisitor.js.map +0 -1
  91. package/dist/parser/common/parserErrorListener.d.ts +0 -30
  92. package/dist/parser/common/parserErrorListener.js +0 -62
  93. package/dist/parser/common/parserErrorListener.js.map +0 -1
@@ -1,2201 +0,0 @@
1
- import { ParseTreeVisitor } from "antlr4ts/tree/ParseTreeVisitor";
2
- import { TableNameContext } from "./SparkSqlParser";
3
- import { AliasedQueryContext } from "./SparkSqlParser";
4
- import { AliasedRelationContext } from "./SparkSqlParser";
5
- import { InlineTableDefault2Context } from "./SparkSqlParser";
6
- import { TableValuedFunctionContext } from "./SparkSqlParser";
7
- import { ExponentLiteralContext } from "./SparkSqlParser";
8
- import { DecimalLiteralContext } from "./SparkSqlParser";
9
- import { LegacyDecimalLiteralContext } from "./SparkSqlParser";
10
- import { IntegerLiteralContext } from "./SparkSqlParser";
11
- import { BigIntLiteralContext } from "./SparkSqlParser";
12
- import { SmallIntLiteralContext } from "./SparkSqlParser";
13
- import { TinyIntLiteralContext } from "./SparkSqlParser";
14
- import { DoubleLiteralContext } from "./SparkSqlParser";
15
- import { FloatLiteralContext } from "./SparkSqlParser";
16
- import { BigDecimalLiteralContext } from "./SparkSqlParser";
17
- import { QueryTermDefaultContext } from "./SparkSqlParser";
18
- import { SetOperationContext } from "./SparkSqlParser";
19
- import { InsertOverwriteTableContext } from "./SparkSqlParser";
20
- import { InsertIntoTableContext } from "./SparkSqlParser";
21
- import { InsertOverwriteHiveDirContext } from "./SparkSqlParser";
22
- import { InsertOverwriteDirContext } from "./SparkSqlParser";
23
- import { ValueExpressionDefaultContext } from "./SparkSqlParser";
24
- import { ArithmeticUnaryContext } from "./SparkSqlParser";
25
- import { ArithmeticBinaryContext } from "./SparkSqlParser";
26
- import { ComparisonContext } from "./SparkSqlParser";
27
- import { QueryPrimaryDefaultContext } from "./SparkSqlParser";
28
- import { FromStmtContext } from "./SparkSqlParser";
29
- import { TableContext } from "./SparkSqlParser";
30
- import { InlineTableDefault1Context } from "./SparkSqlParser";
31
- import { SubqueryContext } from "./SparkSqlParser";
32
- import { SingleInsertQueryContext } from "./SparkSqlParser";
33
- import { MultiInsertQueryContext } from "./SparkSqlParser";
34
- import { DeleteFromTableContext } from "./SparkSqlParser";
35
- import { UpdateTableContext } from "./SparkSqlParser";
36
- import { MergeIntoTableContext } from "./SparkSqlParser";
37
- import { CurrentDatetimeContext } from "./SparkSqlParser";
38
- import { SearchedCaseContext } from "./SparkSqlParser";
39
- import { SimpleCaseContext } from "./SparkSqlParser";
40
- import { CastContext } from "./SparkSqlParser";
41
- import { StructContext } from "./SparkSqlParser";
42
- import { FirstContext } from "./SparkSqlParser";
43
- import { LastContext } from "./SparkSqlParser";
44
- import { PositionContext } from "./SparkSqlParser";
45
- import { ConstantDefaultContext } from "./SparkSqlParser";
46
- import { StarContext } from "./SparkSqlParser";
47
- import { RowConstructorContext } from "./SparkSqlParser";
48
- import { SubqueryExpressionContext } from "./SparkSqlParser";
49
- import { FunctionCallContext } from "./SparkSqlParser";
50
- import { LambdaContext } from "./SparkSqlParser";
51
- import { SubscriptContext } from "./SparkSqlParser";
52
- import { ColumnReferenceContext } from "./SparkSqlParser";
53
- import { DereferenceContext } from "./SparkSqlParser";
54
- import { ParenthesizedExpressionContext } from "./SparkSqlParser";
55
- import { ExtractContext } from "./SparkSqlParser";
56
- import { SubstringContext } from "./SparkSqlParser";
57
- import { TrimContext } from "./SparkSqlParser";
58
- import { OverlayContext } from "./SparkSqlParser";
59
- import { UnquotedIdentifierContext } from "./SparkSqlParser";
60
- import { QuotedIdentifierAlternativeContext } from "./SparkSqlParser";
61
- import { TableFileFormatContext } from "./SparkSqlParser";
62
- import { GenericFileFormatContext } from "./SparkSqlParser";
63
- import { SampleByPercentileContext } from "./SparkSqlParser";
64
- import { SampleByRowsContext } from "./SparkSqlParser";
65
- import { SampleByBucketContext } from "./SparkSqlParser";
66
- import { SampleByBytesContext } from "./SparkSqlParser";
67
- import { NullLiteralContext } from "./SparkSqlParser";
68
- import { IntervalLiteralContext } from "./SparkSqlParser";
69
- import { TypeConstructorContext } from "./SparkSqlParser";
70
- import { NumericLiteralContext } from "./SparkSqlParser";
71
- import { BooleanLiteralContext } from "./SparkSqlParser";
72
- import { StringLiteralContext } from "./SparkSqlParser";
73
- import { RowFormatSerdeContext } from "./SparkSqlParser";
74
- import { RowFormatDelimitedContext } from "./SparkSqlParser";
75
- import { ComplexDataTypeContext } from "./SparkSqlParser";
76
- import { PrimitiveDataTypeContext } from "./SparkSqlParser";
77
- import { TransformQuerySpecificationContext } from "./SparkSqlParser";
78
- import { RegularQuerySpecificationContext } from "./SparkSqlParser";
79
- import { ErrorIdentContext } from "./SparkSqlParser";
80
- import { RealIdentContext } from "./SparkSqlParser";
81
- import { WindowRefContext } from "./SparkSqlParser";
82
- import { WindowDefContext } from "./SparkSqlParser";
83
- import { IdentityTransformContext } from "./SparkSqlParser";
84
- import { ApplyTransformContext } from "./SparkSqlParser";
85
- import { StatementDefaultContext } from "./SparkSqlParser";
86
- import { DmlStatementContext } from "./SparkSqlParser";
87
- import { UseContext } from "./SparkSqlParser";
88
- import { CreateNamespaceContext } from "./SparkSqlParser";
89
- import { SetNamespacePropertiesContext } from "./SparkSqlParser";
90
- import { SetNamespaceLocationContext } from "./SparkSqlParser";
91
- import { DropNamespaceContext } from "./SparkSqlParser";
92
- import { ShowNamespacesContext } from "./SparkSqlParser";
93
- import { CreateTableContext } from "./SparkSqlParser";
94
- import { CreateHiveTableContext } from "./SparkSqlParser";
95
- import { CreateTableLikeContext } from "./SparkSqlParser";
96
- import { ReplaceTableContext } from "./SparkSqlParser";
97
- import { AnalyzeContext } from "./SparkSqlParser";
98
- import { AddTableColumnsContext } from "./SparkSqlParser";
99
- import { RenameTableColumnContext } from "./SparkSqlParser";
100
- import { DropTableColumnsContext } from "./SparkSqlParser";
101
- import { RenameTableContext } from "./SparkSqlParser";
102
- import { SetTablePropertiesContext } from "./SparkSqlParser";
103
- import { UnsetTablePropertiesContext } from "./SparkSqlParser";
104
- import { AlterTableAlterColumnContext } from "./SparkSqlParser";
105
- import { HiveChangeColumnContext } from "./SparkSqlParser";
106
- import { HiveReplaceColumnsContext } from "./SparkSqlParser";
107
- import { SetTableSerDeContext } from "./SparkSqlParser";
108
- import { AddTablePartitionContext } from "./SparkSqlParser";
109
- import { RenameTablePartitionContext } from "./SparkSqlParser";
110
- import { DropTablePartitionsContext } from "./SparkSqlParser";
111
- import { SetTableLocationContext } from "./SparkSqlParser";
112
- import { RecoverPartitionsContext } from "./SparkSqlParser";
113
- import { DropTableContext } from "./SparkSqlParser";
114
- import { DropViewContext } from "./SparkSqlParser";
115
- import { CreateViewContext } from "./SparkSqlParser";
116
- import { CreateTempViewUsingContext } from "./SparkSqlParser";
117
- import { AlterViewQueryContext } from "./SparkSqlParser";
118
- import { CreateFunctionContext } from "./SparkSqlParser";
119
- import { DropFunctionContext } from "./SparkSqlParser";
120
- import { ExplainContext } from "./SparkSqlParser";
121
- import { ShowTablesContext } from "./SparkSqlParser";
122
- import { ShowTableContext } from "./SparkSqlParser";
123
- import { ShowTblPropertiesContext } from "./SparkSqlParser";
124
- import { ShowColumnsContext } from "./SparkSqlParser";
125
- import { ShowViewsContext } from "./SparkSqlParser";
126
- import { ShowPartitionsContext } from "./SparkSqlParser";
127
- import { ShowFunctionsContext } from "./SparkSqlParser";
128
- import { ShowCreateTableContext } from "./SparkSqlParser";
129
- import { ShowCurrentNamespaceContext } from "./SparkSqlParser";
130
- import { DescribeFunctionContext } from "./SparkSqlParser";
131
- import { DescribeNamespaceContext } from "./SparkSqlParser";
132
- import { DescribeRelationContext } from "./SparkSqlParser";
133
- import { DescribeQueryContext } from "./SparkSqlParser";
134
- import { CommentNamespaceContext } from "./SparkSqlParser";
135
- import { CommentTableContext } from "./SparkSqlParser";
136
- import { RefreshTableContext } from "./SparkSqlParser";
137
- import { RefreshFunctionContext } from "./SparkSqlParser";
138
- import { RefreshResourceContext } from "./SparkSqlParser";
139
- import { CacheTableContext } from "./SparkSqlParser";
140
- import { UncacheTableContext } from "./SparkSqlParser";
141
- import { ClearCacheContext } from "./SparkSqlParser";
142
- import { LoadDataContext } from "./SparkSqlParser";
143
- import { TruncateTableContext } from "./SparkSqlParser";
144
- import { RepairTableContext } from "./SparkSqlParser";
145
- import { ManageResourceContext } from "./SparkSqlParser";
146
- import { FailNativeCommandContext } from "./SparkSqlParser";
147
- import { SetTimeZoneContext } from "./SparkSqlParser";
148
- import { SetQuotedConfigurationContext } from "./SparkSqlParser";
149
- import { SetConfigurationContext } from "./SparkSqlParser";
150
- import { ResetQuotedConfigurationContext } from "./SparkSqlParser";
151
- import { ResetConfigurationContext } from "./SparkSqlParser";
152
- import { LogicalNotContext } from "./SparkSqlParser";
153
- import { ExistsContext } from "./SparkSqlParser";
154
- import { PredicatedContext } from "./SparkSqlParser";
155
- import { LogicalBinaryContext } from "./SparkSqlParser";
156
- import { ProgramContext } from "./SparkSqlParser";
157
- import { SingleStatementContext } from "./SparkSqlParser";
158
- import { EmptyStatementContext } from "./SparkSqlParser";
159
- import { SingleExpressionContext } from "./SparkSqlParser";
160
- import { SingleTableIdentifierContext } from "./SparkSqlParser";
161
- import { SingleMultipartIdentifierContext } from "./SparkSqlParser";
162
- import { SingleDataTypeContext } from "./SparkSqlParser";
163
- import { SingleTableSchemaContext } from "./SparkSqlParser";
164
- import { StatementContext } from "./SparkSqlParser";
165
- import { ConfigKeyContext } from "./SparkSqlParser";
166
- import { UnsupportedHiveNativeCommandsContext } from "./SparkSqlParser";
167
- import { CreateTableHeaderContext } from "./SparkSqlParser";
168
- import { ReplaceTableHeaderContext } from "./SparkSqlParser";
169
- import { BucketSpecContext } from "./SparkSqlParser";
170
- import { SkewSpecContext } from "./SparkSqlParser";
171
- import { LocationSpecContext } from "./SparkSqlParser";
172
- import { CommentSpecContext } from "./SparkSqlParser";
173
- import { QueryContext } from "./SparkSqlParser";
174
- import { InsertIntoContext } from "./SparkSqlParser";
175
- import { PartitionSpecLocationContext } from "./SparkSqlParser";
176
- import { PartitionSpecContext } from "./SparkSqlParser";
177
- import { PartitionValContext } from "./SparkSqlParser";
178
- import { NamespaceContext } from "./SparkSqlParser";
179
- import { DescribeFuncNameContext } from "./SparkSqlParser";
180
- import { DescribeColNameContext } from "./SparkSqlParser";
181
- import { CtesContext } from "./SparkSqlParser";
182
- import { NamedQueryContext } from "./SparkSqlParser";
183
- import { TableProviderContext } from "./SparkSqlParser";
184
- import { CreateTableClausesContext } from "./SparkSqlParser";
185
- import { TablePropertyListContext } from "./SparkSqlParser";
186
- import { TablePropertyContext } from "./SparkSqlParser";
187
- import { TablePropertyKeyContext } from "./SparkSqlParser";
188
- import { TablePropertyValueContext } from "./SparkSqlParser";
189
- import { ConstantListContext } from "./SparkSqlParser";
190
- import { NestedConstantListContext } from "./SparkSqlParser";
191
- import { CreateFileFormatContext } from "./SparkSqlParser";
192
- import { FileFormatContext } from "./SparkSqlParser";
193
- import { StorageHandlerContext } from "./SparkSqlParser";
194
- import { ResourceContext } from "./SparkSqlParser";
195
- import { DmlStatementNoWithContext } from "./SparkSqlParser";
196
- import { QueryOrganizationContext } from "./SparkSqlParser";
197
- import { MultiInsertQueryBodyContext } from "./SparkSqlParser";
198
- import { QueryTermContext } from "./SparkSqlParser";
199
- import { QueryPrimaryContext } from "./SparkSqlParser";
200
- import { SortItemContext } from "./SparkSqlParser";
201
- import { FromStatementContext } from "./SparkSqlParser";
202
- import { FromStatementBodyContext } from "./SparkSqlParser";
203
- import { QuerySpecificationContext } from "./SparkSqlParser";
204
- import { TransformClauseContext } from "./SparkSqlParser";
205
- import { SelectClauseContext } from "./SparkSqlParser";
206
- import { SetClauseContext } from "./SparkSqlParser";
207
- import { MatchedClauseContext } from "./SparkSqlParser";
208
- import { NotMatchedClauseContext } from "./SparkSqlParser";
209
- import { MatchedActionContext } from "./SparkSqlParser";
210
- import { NotMatchedActionContext } from "./SparkSqlParser";
211
- import { AssignmentListContext } from "./SparkSqlParser";
212
- import { AssignmentContext } from "./SparkSqlParser";
213
- import { WhereClauseContext } from "./SparkSqlParser";
214
- import { HavingClauseContext } from "./SparkSqlParser";
215
- import { HintContext } from "./SparkSqlParser";
216
- import { HintStatementContext } from "./SparkSqlParser";
217
- import { FromClauseContext } from "./SparkSqlParser";
218
- import { AggregationClauseContext } from "./SparkSqlParser";
219
- import { GroupingSetContext } from "./SparkSqlParser";
220
- import { PivotClauseContext } from "./SparkSqlParser";
221
- import { PivotColumnContext } from "./SparkSqlParser";
222
- import { PivotValueContext } from "./SparkSqlParser";
223
- import { LateralViewContext } from "./SparkSqlParser";
224
- import { SetQuantifierContext } from "./SparkSqlParser";
225
- import { RelationContext } from "./SparkSqlParser";
226
- import { JoinRelationContext } from "./SparkSqlParser";
227
- import { JoinTypeContext } from "./SparkSqlParser";
228
- import { JoinCriteriaContext } from "./SparkSqlParser";
229
- import { SampleContext } from "./SparkSqlParser";
230
- import { SampleMethodContext } from "./SparkSqlParser";
231
- import { IdentifierListContext } from "./SparkSqlParser";
232
- import { IdentifierSeqContext } from "./SparkSqlParser";
233
- import { OrderedIdentifierListContext } from "./SparkSqlParser";
234
- import { OrderedIdentifierContext } from "./SparkSqlParser";
235
- import { IdentifierCommentListContext } from "./SparkSqlParser";
236
- import { IdentifierCommentContext } from "./SparkSqlParser";
237
- import { RelationPrimaryContext } from "./SparkSqlParser";
238
- import { InlineTableContext } from "./SparkSqlParser";
239
- import { FunctionTableContext } from "./SparkSqlParser";
240
- import { TableAliasContext } from "./SparkSqlParser";
241
- import { RowFormatContext } from "./SparkSqlParser";
242
- import { MultipartIdentifierListContext } from "./SparkSqlParser";
243
- import { MultipartIdentifierContext } from "./SparkSqlParser";
244
- import { TableIdentifierContext } from "./SparkSqlParser";
245
- import { NamedExpressionContext } from "./SparkSqlParser";
246
- import { NamedExpressionSeqContext } from "./SparkSqlParser";
247
- import { TransformListContext } from "./SparkSqlParser";
248
- import { TransformContext } from "./SparkSqlParser";
249
- import { TransformArgumentContext } from "./SparkSqlParser";
250
- import { ExpressionContext } from "./SparkSqlParser";
251
- import { BooleanExpressionContext } from "./SparkSqlParser";
252
- import { PredicateContext } from "./SparkSqlParser";
253
- import { ValueExpressionContext } from "./SparkSqlParser";
254
- import { PrimaryExpressionContext } from "./SparkSqlParser";
255
- import { ConstantContext } from "./SparkSqlParser";
256
- import { ComparisonOperatorContext } from "./SparkSqlParser";
257
- import { ArithmeticOperatorContext } from "./SparkSqlParser";
258
- import { PredicateOperatorContext } from "./SparkSqlParser";
259
- import { BooleanValueContext } from "./SparkSqlParser";
260
- import { IntervalContext } from "./SparkSqlParser";
261
- import { ErrorCapturingMultiUnitsIntervalContext } from "./SparkSqlParser";
262
- import { MultiUnitsIntervalContext } from "./SparkSqlParser";
263
- import { ErrorCapturingUnitToUnitIntervalContext } from "./SparkSqlParser";
264
- import { UnitToUnitIntervalContext } from "./SparkSqlParser";
265
- import { IntervalValueContext } from "./SparkSqlParser";
266
- import { ColPositionContext } from "./SparkSqlParser";
267
- import { DataTypeContext } from "./SparkSqlParser";
268
- import { QualifiedColTypeWithPositionListContext } from "./SparkSqlParser";
269
- import { QualifiedColTypeWithPositionContext } from "./SparkSqlParser";
270
- import { ColTypeListContext } from "./SparkSqlParser";
271
- import { ColTypeContext } from "./SparkSqlParser";
272
- import { ComplexColTypeListContext } from "./SparkSqlParser";
273
- import { ComplexColTypeContext } from "./SparkSqlParser";
274
- import { WhenClauseContext } from "./SparkSqlParser";
275
- import { WindowClauseContext } from "./SparkSqlParser";
276
- import { NamedWindowContext } from "./SparkSqlParser";
277
- import { WindowSpecContext } from "./SparkSqlParser";
278
- import { WindowFrameContext } from "./SparkSqlParser";
279
- import { FrameBoundContext } from "./SparkSqlParser";
280
- import { QualifiedNameListContext } from "./SparkSqlParser";
281
- import { FunctionNameContext } from "./SparkSqlParser";
282
- import { QualifiedNameContext } from "./SparkSqlParser";
283
- import { ErrorCapturingIdentifierContext } from "./SparkSqlParser";
284
- import { ErrorCapturingIdentifierExtraContext } from "./SparkSqlParser";
285
- import { IdentifierContext } from "./SparkSqlParser";
286
- import { StrictIdentifierContext } from "./SparkSqlParser";
287
- import { QuotedIdentifierContext } from "./SparkSqlParser";
288
- import { NumberContext } from "./SparkSqlParser";
289
- import { AlterColumnActionContext } from "./SparkSqlParser";
290
- import { AnsiNonReservedContext } from "./SparkSqlParser";
291
- import { StrictNonReservedContext } from "./SparkSqlParser";
292
- import { NonReservedContext } from "./SparkSqlParser";
293
- /**
294
- * This interface defines a complete generic visitor for a parse tree produced
295
- * by `SparkSqlParser`.
296
- *
297
- * @param <Result> The return type of the visit operation. Use `void` for
298
- * operations with no return type.
299
- */
300
- export interface SparkSqlVisitor<Result> extends ParseTreeVisitor<Result> {
301
- /**
302
- * Visit a parse tree produced by the `tableName`
303
- * labeled alternative in `SparkSqlParser.relationPrimary`.
304
- * @param ctx the parse tree
305
- * @return the visitor result
306
- */
307
- visitTableName?: (ctx: TableNameContext) => Result;
308
- /**
309
- * Visit a parse tree produced by the `aliasedQuery`
310
- * labeled alternative in `SparkSqlParser.relationPrimary`.
311
- * @param ctx the parse tree
312
- * @return the visitor result
313
- */
314
- visitAliasedQuery?: (ctx: AliasedQueryContext) => Result;
315
- /**
316
- * Visit a parse tree produced by the `aliasedRelation`
317
- * labeled alternative in `SparkSqlParser.relationPrimary`.
318
- * @param ctx the parse tree
319
- * @return the visitor result
320
- */
321
- visitAliasedRelation?: (ctx: AliasedRelationContext) => Result;
322
- /**
323
- * Visit a parse tree produced by the `inlineTableDefault2`
324
- * labeled alternative in `SparkSqlParser.relationPrimary`.
325
- * @param ctx the parse tree
326
- * @return the visitor result
327
- */
328
- visitInlineTableDefault2?: (ctx: InlineTableDefault2Context) => Result;
329
- /**
330
- * Visit a parse tree produced by the `tableValuedFunction`
331
- * labeled alternative in `SparkSqlParser.relationPrimary`.
332
- * @param ctx the parse tree
333
- * @return the visitor result
334
- */
335
- visitTableValuedFunction?: (ctx: TableValuedFunctionContext) => Result;
336
- /**
337
- * Visit a parse tree produced by the `exponentLiteral`
338
- * labeled alternative in `SparkSqlParser.number`.
339
- * @param ctx the parse tree
340
- * @return the visitor result
341
- */
342
- visitExponentLiteral?: (ctx: ExponentLiteralContext) => Result;
343
- /**
344
- * Visit a parse tree produced by the `decimalLiteral`
345
- * labeled alternative in `SparkSqlParser.number`.
346
- * @param ctx the parse tree
347
- * @return the visitor result
348
- */
349
- visitDecimalLiteral?: (ctx: DecimalLiteralContext) => Result;
350
- /**
351
- * Visit a parse tree produced by the `legacyDecimalLiteral`
352
- * labeled alternative in `SparkSqlParser.number`.
353
- * @param ctx the parse tree
354
- * @return the visitor result
355
- */
356
- visitLegacyDecimalLiteral?: (ctx: LegacyDecimalLiteralContext) => Result;
357
- /**
358
- * Visit a parse tree produced by the `integerLiteral`
359
- * labeled alternative in `SparkSqlParser.number`.
360
- * @param ctx the parse tree
361
- * @return the visitor result
362
- */
363
- visitIntegerLiteral?: (ctx: IntegerLiteralContext) => Result;
364
- /**
365
- * Visit a parse tree produced by the `bigIntLiteral`
366
- * labeled alternative in `SparkSqlParser.number`.
367
- * @param ctx the parse tree
368
- * @return the visitor result
369
- */
370
- visitBigIntLiteral?: (ctx: BigIntLiteralContext) => Result;
371
- /**
372
- * Visit a parse tree produced by the `smallIntLiteral`
373
- * labeled alternative in `SparkSqlParser.number`.
374
- * @param ctx the parse tree
375
- * @return the visitor result
376
- */
377
- visitSmallIntLiteral?: (ctx: SmallIntLiteralContext) => Result;
378
- /**
379
- * Visit a parse tree produced by the `tinyIntLiteral`
380
- * labeled alternative in `SparkSqlParser.number`.
381
- * @param ctx the parse tree
382
- * @return the visitor result
383
- */
384
- visitTinyIntLiteral?: (ctx: TinyIntLiteralContext) => Result;
385
- /**
386
- * Visit a parse tree produced by the `doubleLiteral`
387
- * labeled alternative in `SparkSqlParser.number`.
388
- * @param ctx the parse tree
389
- * @return the visitor result
390
- */
391
- visitDoubleLiteral?: (ctx: DoubleLiteralContext) => Result;
392
- /**
393
- * Visit a parse tree produced by the `floatLiteral`
394
- * labeled alternative in `SparkSqlParser.number`.
395
- * @param ctx the parse tree
396
- * @return the visitor result
397
- */
398
- visitFloatLiteral?: (ctx: FloatLiteralContext) => Result;
399
- /**
400
- * Visit a parse tree produced by the `bigDecimalLiteral`
401
- * labeled alternative in `SparkSqlParser.number`.
402
- * @param ctx the parse tree
403
- * @return the visitor result
404
- */
405
- visitBigDecimalLiteral?: (ctx: BigDecimalLiteralContext) => Result;
406
- /**
407
- * Visit a parse tree produced by the `queryTermDefault`
408
- * labeled alternative in `SparkSqlParser.queryTerm`.
409
- * @param ctx the parse tree
410
- * @return the visitor result
411
- */
412
- visitQueryTermDefault?: (ctx: QueryTermDefaultContext) => Result;
413
- /**
414
- * Visit a parse tree produced by the `setOperation`
415
- * labeled alternative in `SparkSqlParser.queryTerm`.
416
- * @param ctx the parse tree
417
- * @return the visitor result
418
- */
419
- visitSetOperation?: (ctx: SetOperationContext) => Result;
420
- /**
421
- * Visit a parse tree produced by the `insertOverwriteTable`
422
- * labeled alternative in `SparkSqlParser.insertInto`.
423
- * @param ctx the parse tree
424
- * @return the visitor result
425
- */
426
- visitInsertOverwriteTable?: (ctx: InsertOverwriteTableContext) => Result;
427
- /**
428
- * Visit a parse tree produced by the `insertIntoTable`
429
- * labeled alternative in `SparkSqlParser.insertInto`.
430
- * @param ctx the parse tree
431
- * @return the visitor result
432
- */
433
- visitInsertIntoTable?: (ctx: InsertIntoTableContext) => Result;
434
- /**
435
- * Visit a parse tree produced by the `insertOverwriteHiveDir`
436
- * labeled alternative in `SparkSqlParser.insertInto`.
437
- * @param ctx the parse tree
438
- * @return the visitor result
439
- */
440
- visitInsertOverwriteHiveDir?: (ctx: InsertOverwriteHiveDirContext) => Result;
441
- /**
442
- * Visit a parse tree produced by the `insertOverwriteDir`
443
- * labeled alternative in `SparkSqlParser.insertInto`.
444
- * @param ctx the parse tree
445
- * @return the visitor result
446
- */
447
- visitInsertOverwriteDir?: (ctx: InsertOverwriteDirContext) => Result;
448
- /**
449
- * Visit a parse tree produced by the `valueExpressionDefault`
450
- * labeled alternative in `SparkSqlParser.valueExpression`.
451
- * @param ctx the parse tree
452
- * @return the visitor result
453
- */
454
- visitValueExpressionDefault?: (ctx: ValueExpressionDefaultContext) => Result;
455
- /**
456
- * Visit a parse tree produced by the `arithmeticUnary`
457
- * labeled alternative in `SparkSqlParser.valueExpression`.
458
- * @param ctx the parse tree
459
- * @return the visitor result
460
- */
461
- visitArithmeticUnary?: (ctx: ArithmeticUnaryContext) => Result;
462
- /**
463
- * Visit a parse tree produced by the `arithmeticBinary`
464
- * labeled alternative in `SparkSqlParser.valueExpression`.
465
- * @param ctx the parse tree
466
- * @return the visitor result
467
- */
468
- visitArithmeticBinary?: (ctx: ArithmeticBinaryContext) => Result;
469
- /**
470
- * Visit a parse tree produced by the `comparison`
471
- * labeled alternative in `SparkSqlParser.valueExpression`.
472
- * @param ctx the parse tree
473
- * @return the visitor result
474
- */
475
- visitComparison?: (ctx: ComparisonContext) => Result;
476
- /**
477
- * Visit a parse tree produced by the `queryPrimaryDefault`
478
- * labeled alternative in `SparkSqlParser.queryPrimary`.
479
- * @param ctx the parse tree
480
- * @return the visitor result
481
- */
482
- visitQueryPrimaryDefault?: (ctx: QueryPrimaryDefaultContext) => Result;
483
- /**
484
- * Visit a parse tree produced by the `fromStmt`
485
- * labeled alternative in `SparkSqlParser.queryPrimary`.
486
- * @param ctx the parse tree
487
- * @return the visitor result
488
- */
489
- visitFromStmt?: (ctx: FromStmtContext) => Result;
490
- /**
491
- * Visit a parse tree produced by the `table`
492
- * labeled alternative in `SparkSqlParser.queryPrimary`.
493
- * @param ctx the parse tree
494
- * @return the visitor result
495
- */
496
- visitTable?: (ctx: TableContext) => Result;
497
- /**
498
- * Visit a parse tree produced by the `inlineTableDefault1`
499
- * labeled alternative in `SparkSqlParser.queryPrimary`.
500
- * @param ctx the parse tree
501
- * @return the visitor result
502
- */
503
- visitInlineTableDefault1?: (ctx: InlineTableDefault1Context) => Result;
504
- /**
505
- * Visit a parse tree produced by the `subquery`
506
- * labeled alternative in `SparkSqlParser.queryPrimary`.
507
- * @param ctx the parse tree
508
- * @return the visitor result
509
- */
510
- visitSubquery?: (ctx: SubqueryContext) => Result;
511
- /**
512
- * Visit a parse tree produced by the `singleInsertQuery`
513
- * labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
514
- * @param ctx the parse tree
515
- * @return the visitor result
516
- */
517
- visitSingleInsertQuery?: (ctx: SingleInsertQueryContext) => Result;
518
- /**
519
- * Visit a parse tree produced by the `multiInsertQuery`
520
- * labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
521
- * @param ctx the parse tree
522
- * @return the visitor result
523
- */
524
- visitMultiInsertQuery?: (ctx: MultiInsertQueryContext) => Result;
525
- /**
526
- * Visit a parse tree produced by the `deleteFromTable`
527
- * labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
528
- * @param ctx the parse tree
529
- * @return the visitor result
530
- */
531
- visitDeleteFromTable?: (ctx: DeleteFromTableContext) => Result;
532
- /**
533
- * Visit a parse tree produced by the `updateTable`
534
- * labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
535
- * @param ctx the parse tree
536
- * @return the visitor result
537
- */
538
- visitUpdateTable?: (ctx: UpdateTableContext) => Result;
539
- /**
540
- * Visit a parse tree produced by the `mergeIntoTable`
541
- * labeled alternative in `SparkSqlParser.dmlStatementNoWith`.
542
- * @param ctx the parse tree
543
- * @return the visitor result
544
- */
545
- visitMergeIntoTable?: (ctx: MergeIntoTableContext) => Result;
546
- /**
547
- * Visit a parse tree produced by the `currentDatetime`
548
- * labeled alternative in `SparkSqlParser.primaryExpression`.
549
- * @param ctx the parse tree
550
- * @return the visitor result
551
- */
552
- visitCurrentDatetime?: (ctx: CurrentDatetimeContext) => Result;
553
- /**
554
- * Visit a parse tree produced by the `searchedCase`
555
- * labeled alternative in `SparkSqlParser.primaryExpression`.
556
- * @param ctx the parse tree
557
- * @return the visitor result
558
- */
559
- visitSearchedCase?: (ctx: SearchedCaseContext) => Result;
560
- /**
561
- * Visit a parse tree produced by the `simpleCase`
562
- * labeled alternative in `SparkSqlParser.primaryExpression`.
563
- * @param ctx the parse tree
564
- * @return the visitor result
565
- */
566
- visitSimpleCase?: (ctx: SimpleCaseContext) => Result;
567
- /**
568
- * Visit a parse tree produced by the `cast`
569
- * labeled alternative in `SparkSqlParser.primaryExpression`.
570
- * @param ctx the parse tree
571
- * @return the visitor result
572
- */
573
- visitCast?: (ctx: CastContext) => Result;
574
- /**
575
- * Visit a parse tree produced by the `struct`
576
- * labeled alternative in `SparkSqlParser.primaryExpression`.
577
- * @param ctx the parse tree
578
- * @return the visitor result
579
- */
580
- visitStruct?: (ctx: StructContext) => Result;
581
- /**
582
- * Visit a parse tree produced by the `first`
583
- * labeled alternative in `SparkSqlParser.primaryExpression`.
584
- * @param ctx the parse tree
585
- * @return the visitor result
586
- */
587
- visitFirst?: (ctx: FirstContext) => Result;
588
- /**
589
- * Visit a parse tree produced by the `last`
590
- * labeled alternative in `SparkSqlParser.primaryExpression`.
591
- * @param ctx the parse tree
592
- * @return the visitor result
593
- */
594
- visitLast?: (ctx: LastContext) => Result;
595
- /**
596
- * Visit a parse tree produced by the `position`
597
- * labeled alternative in `SparkSqlParser.primaryExpression`.
598
- * @param ctx the parse tree
599
- * @return the visitor result
600
- */
601
- visitPosition?: (ctx: PositionContext) => Result;
602
- /**
603
- * Visit a parse tree produced by the `constantDefault`
604
- * labeled alternative in `SparkSqlParser.primaryExpression`.
605
- * @param ctx the parse tree
606
- * @return the visitor result
607
- */
608
- visitConstantDefault?: (ctx: ConstantDefaultContext) => Result;
609
- /**
610
- * Visit a parse tree produced by the `star`
611
- * labeled alternative in `SparkSqlParser.primaryExpression`.
612
- * @param ctx the parse tree
613
- * @return the visitor result
614
- */
615
- visitStar?: (ctx: StarContext) => Result;
616
- /**
617
- * Visit a parse tree produced by the `rowConstructor`
618
- * labeled alternative in `SparkSqlParser.primaryExpression`.
619
- * @param ctx the parse tree
620
- * @return the visitor result
621
- */
622
- visitRowConstructor?: (ctx: RowConstructorContext) => Result;
623
- /**
624
- * Visit a parse tree produced by the `subqueryExpression`
625
- * labeled alternative in `SparkSqlParser.primaryExpression`.
626
- * @param ctx the parse tree
627
- * @return the visitor result
628
- */
629
- visitSubqueryExpression?: (ctx: SubqueryExpressionContext) => Result;
630
- /**
631
- * Visit a parse tree produced by the `functionCall`
632
- * labeled alternative in `SparkSqlParser.primaryExpression`.
633
- * @param ctx the parse tree
634
- * @return the visitor result
635
- */
636
- visitFunctionCall?: (ctx: FunctionCallContext) => Result;
637
- /**
638
- * Visit a parse tree produced by the `lambda`
639
- * labeled alternative in `SparkSqlParser.primaryExpression`.
640
- * @param ctx the parse tree
641
- * @return the visitor result
642
- */
643
- visitLambda?: (ctx: LambdaContext) => Result;
644
- /**
645
- * Visit a parse tree produced by the `subscript`
646
- * labeled alternative in `SparkSqlParser.primaryExpression`.
647
- * @param ctx the parse tree
648
- * @return the visitor result
649
- */
650
- visitSubscript?: (ctx: SubscriptContext) => Result;
651
- /**
652
- * Visit a parse tree produced by the `columnReference`
653
- * labeled alternative in `SparkSqlParser.primaryExpression`.
654
- * @param ctx the parse tree
655
- * @return the visitor result
656
- */
657
- visitColumnReference?: (ctx: ColumnReferenceContext) => Result;
658
- /**
659
- * Visit a parse tree produced by the `dereference`
660
- * labeled alternative in `SparkSqlParser.primaryExpression`.
661
- * @param ctx the parse tree
662
- * @return the visitor result
663
- */
664
- visitDereference?: (ctx: DereferenceContext) => Result;
665
- /**
666
- * Visit a parse tree produced by the `parenthesizedExpression`
667
- * labeled alternative in `SparkSqlParser.primaryExpression`.
668
- * @param ctx the parse tree
669
- * @return the visitor result
670
- */
671
- visitParenthesizedExpression?: (ctx: ParenthesizedExpressionContext) => Result;
672
- /**
673
- * Visit a parse tree produced by the `extract`
674
- * labeled alternative in `SparkSqlParser.primaryExpression`.
675
- * @param ctx the parse tree
676
- * @return the visitor result
677
- */
678
- visitExtract?: (ctx: ExtractContext) => Result;
679
- /**
680
- * Visit a parse tree produced by the `substring`
681
- * labeled alternative in `SparkSqlParser.primaryExpression`.
682
- * @param ctx the parse tree
683
- * @return the visitor result
684
- */
685
- visitSubstring?: (ctx: SubstringContext) => Result;
686
- /**
687
- * Visit a parse tree produced by the `trim`
688
- * labeled alternative in `SparkSqlParser.primaryExpression`.
689
- * @param ctx the parse tree
690
- * @return the visitor result
691
- */
692
- visitTrim?: (ctx: TrimContext) => Result;
693
- /**
694
- * Visit a parse tree produced by the `overlay`
695
- * labeled alternative in `SparkSqlParser.primaryExpression`.
696
- * @param ctx the parse tree
697
- * @return the visitor result
698
- */
699
- visitOverlay?: (ctx: OverlayContext) => Result;
700
- /**
701
- * Visit a parse tree produced by the `unquotedIdentifier`
702
- * labeled alternative in `SparkSqlParser.strictIdentifier`.
703
- * @param ctx the parse tree
704
- * @return the visitor result
705
- */
706
- visitUnquotedIdentifier?: (ctx: UnquotedIdentifierContext) => Result;
707
- /**
708
- * Visit a parse tree produced by the `quotedIdentifierAlternative`
709
- * labeled alternative in `SparkSqlParser.strictIdentifier`.
710
- * @param ctx the parse tree
711
- * @return the visitor result
712
- */
713
- visitQuotedIdentifierAlternative?: (ctx: QuotedIdentifierAlternativeContext) => Result;
714
- /**
715
- * Visit a parse tree produced by the `tableFileFormat`
716
- * labeled alternative in `SparkSqlParser.fileFormat`.
717
- * @param ctx the parse tree
718
- * @return the visitor result
719
- */
720
- visitTableFileFormat?: (ctx: TableFileFormatContext) => Result;
721
- /**
722
- * Visit a parse tree produced by the `genericFileFormat`
723
- * labeled alternative in `SparkSqlParser.fileFormat`.
724
- * @param ctx the parse tree
725
- * @return the visitor result
726
- */
727
- visitGenericFileFormat?: (ctx: GenericFileFormatContext) => Result;
728
- /**
729
- * Visit a parse tree produced by the `sampleByPercentile`
730
- * labeled alternative in `SparkSqlParser.sampleMethod`.
731
- * @param ctx the parse tree
732
- * @return the visitor result
733
- */
734
- visitSampleByPercentile?: (ctx: SampleByPercentileContext) => Result;
735
- /**
736
- * Visit a parse tree produced by the `sampleByRows`
737
- * labeled alternative in `SparkSqlParser.sampleMethod`.
738
- * @param ctx the parse tree
739
- * @return the visitor result
740
- */
741
- visitSampleByRows?: (ctx: SampleByRowsContext) => Result;
742
- /**
743
- * Visit a parse tree produced by the `sampleByBucket`
744
- * labeled alternative in `SparkSqlParser.sampleMethod`.
745
- * @param ctx the parse tree
746
- * @return the visitor result
747
- */
748
- visitSampleByBucket?: (ctx: SampleByBucketContext) => Result;
749
- /**
750
- * Visit a parse tree produced by the `sampleByBytes`
751
- * labeled alternative in `SparkSqlParser.sampleMethod`.
752
- * @param ctx the parse tree
753
- * @return the visitor result
754
- */
755
- visitSampleByBytes?: (ctx: SampleByBytesContext) => Result;
756
- /**
757
- * Visit a parse tree produced by the `nullLiteral`
758
- * labeled alternative in `SparkSqlParser.constant`.
759
- * @param ctx the parse tree
760
- * @return the visitor result
761
- */
762
- visitNullLiteral?: (ctx: NullLiteralContext) => Result;
763
- /**
764
- * Visit a parse tree produced by the `intervalLiteral`
765
- * labeled alternative in `SparkSqlParser.constant`.
766
- * @param ctx the parse tree
767
- * @return the visitor result
768
- */
769
- visitIntervalLiteral?: (ctx: IntervalLiteralContext) => Result;
770
- /**
771
- * Visit a parse tree produced by the `typeConstructor`
772
- * labeled alternative in `SparkSqlParser.constant`.
773
- * @param ctx the parse tree
774
- * @return the visitor result
775
- */
776
- visitTypeConstructor?: (ctx: TypeConstructorContext) => Result;
777
- /**
778
- * Visit a parse tree produced by the `numericLiteral`
779
- * labeled alternative in `SparkSqlParser.constant`.
780
- * @param ctx the parse tree
781
- * @return the visitor result
782
- */
783
- visitNumericLiteral?: (ctx: NumericLiteralContext) => Result;
784
- /**
785
- * Visit a parse tree produced by the `booleanLiteral`
786
- * labeled alternative in `SparkSqlParser.constant`.
787
- * @param ctx the parse tree
788
- * @return the visitor result
789
- */
790
- visitBooleanLiteral?: (ctx: BooleanLiteralContext) => Result;
791
- /**
792
- * Visit a parse tree produced by the `stringLiteral`
793
- * labeled alternative in `SparkSqlParser.constant`.
794
- * @param ctx the parse tree
795
- * @return the visitor result
796
- */
797
- visitStringLiteral?: (ctx: StringLiteralContext) => Result;
798
- /**
799
- * Visit a parse tree produced by the `rowFormatSerde`
800
- * labeled alternative in `SparkSqlParser.rowFormat`.
801
- * @param ctx the parse tree
802
- * @return the visitor result
803
- */
804
- visitRowFormatSerde?: (ctx: RowFormatSerdeContext) => Result;
805
- /**
806
- * Visit a parse tree produced by the `rowFormatDelimited`
807
- * labeled alternative in `SparkSqlParser.rowFormat`.
808
- * @param ctx the parse tree
809
- * @return the visitor result
810
- */
811
- visitRowFormatDelimited?: (ctx: RowFormatDelimitedContext) => Result;
812
- /**
813
- * Visit a parse tree produced by the `complexDataType`
814
- * labeled alternative in `SparkSqlParser.dataType`.
815
- * @param ctx the parse tree
816
- * @return the visitor result
817
- */
818
- visitComplexDataType?: (ctx: ComplexDataTypeContext) => Result;
819
- /**
820
- * Visit a parse tree produced by the `primitiveDataType`
821
- * labeled alternative in `SparkSqlParser.dataType`.
822
- * @param ctx the parse tree
823
- * @return the visitor result
824
- */
825
- visitPrimitiveDataType?: (ctx: PrimitiveDataTypeContext) => Result;
826
- /**
827
- * Visit a parse tree produced by the `transformQuerySpecification`
828
- * labeled alternative in `SparkSqlParser.querySpecification`.
829
- * @param ctx the parse tree
830
- * @return the visitor result
831
- */
832
- visitTransformQuerySpecification?: (ctx: TransformQuerySpecificationContext) => Result;
833
- /**
834
- * Visit a parse tree produced by the `regularQuerySpecification`
835
- * labeled alternative in `SparkSqlParser.querySpecification`.
836
- * @param ctx the parse tree
837
- * @return the visitor result
838
- */
839
- visitRegularQuerySpecification?: (ctx: RegularQuerySpecificationContext) => Result;
840
- /**
841
- * Visit a parse tree produced by the `errorIdent`
842
- * labeled alternative in `SparkSqlParser.errorCapturingIdentifierExtra`.
843
- * @param ctx the parse tree
844
- * @return the visitor result
845
- */
846
- visitErrorIdent?: (ctx: ErrorIdentContext) => Result;
847
- /**
848
- * Visit a parse tree produced by the `realIdent`
849
- * labeled alternative in `SparkSqlParser.errorCapturingIdentifierExtra`.
850
- * @param ctx the parse tree
851
- * @return the visitor result
852
- */
853
- visitRealIdent?: (ctx: RealIdentContext) => Result;
854
- /**
855
- * Visit a parse tree produced by the `windowRef`
856
- * labeled alternative in `SparkSqlParser.windowSpec`.
857
- * @param ctx the parse tree
858
- * @return the visitor result
859
- */
860
- visitWindowRef?: (ctx: WindowRefContext) => Result;
861
- /**
862
- * Visit a parse tree produced by the `windowDef`
863
- * labeled alternative in `SparkSqlParser.windowSpec`.
864
- * @param ctx the parse tree
865
- * @return the visitor result
866
- */
867
- visitWindowDef?: (ctx: WindowDefContext) => Result;
868
- /**
869
- * Visit a parse tree produced by the `identityTransform`
870
- * labeled alternative in `SparkSqlParser.transform`.
871
- * @param ctx the parse tree
872
- * @return the visitor result
873
- */
874
- visitIdentityTransform?: (ctx: IdentityTransformContext) => Result;
875
- /**
876
- * Visit a parse tree produced by the `applyTransform`
877
- * labeled alternative in `SparkSqlParser.transform`.
878
- * @param ctx the parse tree
879
- * @return the visitor result
880
- */
881
- visitApplyTransform?: (ctx: ApplyTransformContext) => Result;
882
- /**
883
- * Visit a parse tree produced by the `statementDefault`
884
- * labeled alternative in `SparkSqlParser.statement`.
885
- * @param ctx the parse tree
886
- * @return the visitor result
887
- */
888
- visitStatementDefault?: (ctx: StatementDefaultContext) => Result;
889
- /**
890
- * Visit a parse tree produced by the `dmlStatement`
891
- * labeled alternative in `SparkSqlParser.statement`.
892
- * @param ctx the parse tree
893
- * @return the visitor result
894
- */
895
- visitDmlStatement?: (ctx: DmlStatementContext) => Result;
896
- /**
897
- * Visit a parse tree produced by the `use`
898
- * labeled alternative in `SparkSqlParser.statement`.
899
- * @param ctx the parse tree
900
- * @return the visitor result
901
- */
902
- visitUse?: (ctx: UseContext) => Result;
903
- /**
904
- * Visit a parse tree produced by the `createNamespace`
905
- * labeled alternative in `SparkSqlParser.statement`.
906
- * @param ctx the parse tree
907
- * @return the visitor result
908
- */
909
- visitCreateNamespace?: (ctx: CreateNamespaceContext) => Result;
910
- /**
911
- * Visit a parse tree produced by the `setNamespaceProperties`
912
- * labeled alternative in `SparkSqlParser.statement`.
913
- * @param ctx the parse tree
914
- * @return the visitor result
915
- */
916
- visitSetNamespaceProperties?: (ctx: SetNamespacePropertiesContext) => Result;
917
- /**
918
- * Visit a parse tree produced by the `setNamespaceLocation`
919
- * labeled alternative in `SparkSqlParser.statement`.
920
- * @param ctx the parse tree
921
- * @return the visitor result
922
- */
923
- visitSetNamespaceLocation?: (ctx: SetNamespaceLocationContext) => Result;
924
- /**
925
- * Visit a parse tree produced by the `dropNamespace`
926
- * labeled alternative in `SparkSqlParser.statement`.
927
- * @param ctx the parse tree
928
- * @return the visitor result
929
- */
930
- visitDropNamespace?: (ctx: DropNamespaceContext) => Result;
931
- /**
932
- * Visit a parse tree produced by the `showNamespaces`
933
- * labeled alternative in `SparkSqlParser.statement`.
934
- * @param ctx the parse tree
935
- * @return the visitor result
936
- */
937
- visitShowNamespaces?: (ctx: ShowNamespacesContext) => Result;
938
- /**
939
- * Visit a parse tree produced by the `createTable`
940
- * labeled alternative in `SparkSqlParser.statement`.
941
- * @param ctx the parse tree
942
- * @return the visitor result
943
- */
944
- visitCreateTable?: (ctx: CreateTableContext) => Result;
945
- /**
946
- * Visit a parse tree produced by the `createHiveTable`
947
- * labeled alternative in `SparkSqlParser.statement`.
948
- * @param ctx the parse tree
949
- * @return the visitor result
950
- */
951
- visitCreateHiveTable?: (ctx: CreateHiveTableContext) => Result;
952
- /**
953
- * Visit a parse tree produced by the `createTableLike`
954
- * labeled alternative in `SparkSqlParser.statement`.
955
- * @param ctx the parse tree
956
- * @return the visitor result
957
- */
958
- visitCreateTableLike?: (ctx: CreateTableLikeContext) => Result;
959
- /**
960
- * Visit a parse tree produced by the `replaceTable`
961
- * labeled alternative in `SparkSqlParser.statement`.
962
- * @param ctx the parse tree
963
- * @return the visitor result
964
- */
965
- visitReplaceTable?: (ctx: ReplaceTableContext) => Result;
966
- /**
967
- * Visit a parse tree produced by the `analyze`
968
- * labeled alternative in `SparkSqlParser.statement`.
969
- * @param ctx the parse tree
970
- * @return the visitor result
971
- */
972
- visitAnalyze?: (ctx: AnalyzeContext) => Result;
973
- /**
974
- * Visit a parse tree produced by the `addTableColumns`
975
- * labeled alternative in `SparkSqlParser.statement`.
976
- * @param ctx the parse tree
977
- * @return the visitor result
978
- */
979
- visitAddTableColumns?: (ctx: AddTableColumnsContext) => Result;
980
- /**
981
- * Visit a parse tree produced by the `renameTableColumn`
982
- * labeled alternative in `SparkSqlParser.statement`.
983
- * @param ctx the parse tree
984
- * @return the visitor result
985
- */
986
- visitRenameTableColumn?: (ctx: RenameTableColumnContext) => Result;
987
- /**
988
- * Visit a parse tree produced by the `dropTableColumns`
989
- * labeled alternative in `SparkSqlParser.statement`.
990
- * @param ctx the parse tree
991
- * @return the visitor result
992
- */
993
- visitDropTableColumns?: (ctx: DropTableColumnsContext) => Result;
994
- /**
995
- * Visit a parse tree produced by the `renameTable`
996
- * labeled alternative in `SparkSqlParser.statement`.
997
- * @param ctx the parse tree
998
- * @return the visitor result
999
- */
1000
- visitRenameTable?: (ctx: RenameTableContext) => Result;
1001
- /**
1002
- * Visit a parse tree produced by the `setTableProperties`
1003
- * labeled alternative in `SparkSqlParser.statement`.
1004
- * @param ctx the parse tree
1005
- * @return the visitor result
1006
- */
1007
- visitSetTableProperties?: (ctx: SetTablePropertiesContext) => Result;
1008
- /**
1009
- * Visit a parse tree produced by the `unsetTableProperties`
1010
- * labeled alternative in `SparkSqlParser.statement`.
1011
- * @param ctx the parse tree
1012
- * @return the visitor result
1013
- */
1014
- visitUnsetTableProperties?: (ctx: UnsetTablePropertiesContext) => Result;
1015
- /**
1016
- * Visit a parse tree produced by the `alterTableAlterColumn`
1017
- * labeled alternative in `SparkSqlParser.statement`.
1018
- * @param ctx the parse tree
1019
- * @return the visitor result
1020
- */
1021
- visitAlterTableAlterColumn?: (ctx: AlterTableAlterColumnContext) => Result;
1022
- /**
1023
- * Visit a parse tree produced by the `hiveChangeColumn`
1024
- * labeled alternative in `SparkSqlParser.statement`.
1025
- * @param ctx the parse tree
1026
- * @return the visitor result
1027
- */
1028
- visitHiveChangeColumn?: (ctx: HiveChangeColumnContext) => Result;
1029
- /**
1030
- * Visit a parse tree produced by the `hiveReplaceColumns`
1031
- * labeled alternative in `SparkSqlParser.statement`.
1032
- * @param ctx the parse tree
1033
- * @return the visitor result
1034
- */
1035
- visitHiveReplaceColumns?: (ctx: HiveReplaceColumnsContext) => Result;
1036
- /**
1037
- * Visit a parse tree produced by the `setTableSerDe`
1038
- * labeled alternative in `SparkSqlParser.statement`.
1039
- * @param ctx the parse tree
1040
- * @return the visitor result
1041
- */
1042
- visitSetTableSerDe?: (ctx: SetTableSerDeContext) => Result;
1043
- /**
1044
- * Visit a parse tree produced by the `addTablePartition`
1045
- * labeled alternative in `SparkSqlParser.statement`.
1046
- * @param ctx the parse tree
1047
- * @return the visitor result
1048
- */
1049
- visitAddTablePartition?: (ctx: AddTablePartitionContext) => Result;
1050
- /**
1051
- * Visit a parse tree produced by the `renameTablePartition`
1052
- * labeled alternative in `SparkSqlParser.statement`.
1053
- * @param ctx the parse tree
1054
- * @return the visitor result
1055
- */
1056
- visitRenameTablePartition?: (ctx: RenameTablePartitionContext) => Result;
1057
- /**
1058
- * Visit a parse tree produced by the `dropTablePartitions`
1059
- * labeled alternative in `SparkSqlParser.statement`.
1060
- * @param ctx the parse tree
1061
- * @return the visitor result
1062
- */
1063
- visitDropTablePartitions?: (ctx: DropTablePartitionsContext) => Result;
1064
- /**
1065
- * Visit a parse tree produced by the `setTableLocation`
1066
- * labeled alternative in `SparkSqlParser.statement`.
1067
- * @param ctx the parse tree
1068
- * @return the visitor result
1069
- */
1070
- visitSetTableLocation?: (ctx: SetTableLocationContext) => Result;
1071
- /**
1072
- * Visit a parse tree produced by the `recoverPartitions`
1073
- * labeled alternative in `SparkSqlParser.statement`.
1074
- * @param ctx the parse tree
1075
- * @return the visitor result
1076
- */
1077
- visitRecoverPartitions?: (ctx: RecoverPartitionsContext) => Result;
1078
- /**
1079
- * Visit a parse tree produced by the `dropTable`
1080
- * labeled alternative in `SparkSqlParser.statement`.
1081
- * @param ctx the parse tree
1082
- * @return the visitor result
1083
- */
1084
- visitDropTable?: (ctx: DropTableContext) => Result;
1085
- /**
1086
- * Visit a parse tree produced by the `dropView`
1087
- * labeled alternative in `SparkSqlParser.statement`.
1088
- * @param ctx the parse tree
1089
- * @return the visitor result
1090
- */
1091
- visitDropView?: (ctx: DropViewContext) => Result;
1092
- /**
1093
- * Visit a parse tree produced by the `createView`
1094
- * labeled alternative in `SparkSqlParser.statement`.
1095
- * @param ctx the parse tree
1096
- * @return the visitor result
1097
- */
1098
- visitCreateView?: (ctx: CreateViewContext) => Result;
1099
- /**
1100
- * Visit a parse tree produced by the `createTempViewUsing`
1101
- * labeled alternative in `SparkSqlParser.statement`.
1102
- * @param ctx the parse tree
1103
- * @return the visitor result
1104
- */
1105
- visitCreateTempViewUsing?: (ctx: CreateTempViewUsingContext) => Result;
1106
- /**
1107
- * Visit a parse tree produced by the `alterViewQuery`
1108
- * labeled alternative in `SparkSqlParser.statement`.
1109
- * @param ctx the parse tree
1110
- * @return the visitor result
1111
- */
1112
- visitAlterViewQuery?: (ctx: AlterViewQueryContext) => Result;
1113
- /**
1114
- * Visit a parse tree produced by the `createFunction`
1115
- * labeled alternative in `SparkSqlParser.statement`.
1116
- * @param ctx the parse tree
1117
- * @return the visitor result
1118
- */
1119
- visitCreateFunction?: (ctx: CreateFunctionContext) => Result;
1120
- /**
1121
- * Visit a parse tree produced by the `dropFunction`
1122
- * labeled alternative in `SparkSqlParser.statement`.
1123
- * @param ctx the parse tree
1124
- * @return the visitor result
1125
- */
1126
- visitDropFunction?: (ctx: DropFunctionContext) => Result;
1127
- /**
1128
- * Visit a parse tree produced by the `explain`
1129
- * labeled alternative in `SparkSqlParser.statement`.
1130
- * @param ctx the parse tree
1131
- * @return the visitor result
1132
- */
1133
- visitExplain?: (ctx: ExplainContext) => Result;
1134
- /**
1135
- * Visit a parse tree produced by the `showTables`
1136
- * labeled alternative in `SparkSqlParser.statement`.
1137
- * @param ctx the parse tree
1138
- * @return the visitor result
1139
- */
1140
- visitShowTables?: (ctx: ShowTablesContext) => Result;
1141
- /**
1142
- * Visit a parse tree produced by the `showTable`
1143
- * labeled alternative in `SparkSqlParser.statement`.
1144
- * @param ctx the parse tree
1145
- * @return the visitor result
1146
- */
1147
- visitShowTable?: (ctx: ShowTableContext) => Result;
1148
- /**
1149
- * Visit a parse tree produced by the `showTblProperties`
1150
- * labeled alternative in `SparkSqlParser.statement`.
1151
- * @param ctx the parse tree
1152
- * @return the visitor result
1153
- */
1154
- visitShowTblProperties?: (ctx: ShowTblPropertiesContext) => Result;
1155
- /**
1156
- * Visit a parse tree produced by the `showColumns`
1157
- * labeled alternative in `SparkSqlParser.statement`.
1158
- * @param ctx the parse tree
1159
- * @return the visitor result
1160
- */
1161
- visitShowColumns?: (ctx: ShowColumnsContext) => Result;
1162
- /**
1163
- * Visit a parse tree produced by the `showViews`
1164
- * labeled alternative in `SparkSqlParser.statement`.
1165
- * @param ctx the parse tree
1166
- * @return the visitor result
1167
- */
1168
- visitShowViews?: (ctx: ShowViewsContext) => Result;
1169
- /**
1170
- * Visit a parse tree produced by the `showPartitions`
1171
- * labeled alternative in `SparkSqlParser.statement`.
1172
- * @param ctx the parse tree
1173
- * @return the visitor result
1174
- */
1175
- visitShowPartitions?: (ctx: ShowPartitionsContext) => Result;
1176
- /**
1177
- * Visit a parse tree produced by the `showFunctions`
1178
- * labeled alternative in `SparkSqlParser.statement`.
1179
- * @param ctx the parse tree
1180
- * @return the visitor result
1181
- */
1182
- visitShowFunctions?: (ctx: ShowFunctionsContext) => Result;
1183
- /**
1184
- * Visit a parse tree produced by the `showCreateTable`
1185
- * labeled alternative in `SparkSqlParser.statement`.
1186
- * @param ctx the parse tree
1187
- * @return the visitor result
1188
- */
1189
- visitShowCreateTable?: (ctx: ShowCreateTableContext) => Result;
1190
- /**
1191
- * Visit a parse tree produced by the `showCurrentNamespace`
1192
- * labeled alternative in `SparkSqlParser.statement`.
1193
- * @param ctx the parse tree
1194
- * @return the visitor result
1195
- */
1196
- visitShowCurrentNamespace?: (ctx: ShowCurrentNamespaceContext) => Result;
1197
- /**
1198
- * Visit a parse tree produced by the `describeFunction`
1199
- * labeled alternative in `SparkSqlParser.statement`.
1200
- * @param ctx the parse tree
1201
- * @return the visitor result
1202
- */
1203
- visitDescribeFunction?: (ctx: DescribeFunctionContext) => Result;
1204
- /**
1205
- * Visit a parse tree produced by the `describeNamespace`
1206
- * labeled alternative in `SparkSqlParser.statement`.
1207
- * @param ctx the parse tree
1208
- * @return the visitor result
1209
- */
1210
- visitDescribeNamespace?: (ctx: DescribeNamespaceContext) => Result;
1211
- /**
1212
- * Visit a parse tree produced by the `describeRelation`
1213
- * labeled alternative in `SparkSqlParser.statement`.
1214
- * @param ctx the parse tree
1215
- * @return the visitor result
1216
- */
1217
- visitDescribeRelation?: (ctx: DescribeRelationContext) => Result;
1218
- /**
1219
- * Visit a parse tree produced by the `describeQuery`
1220
- * labeled alternative in `SparkSqlParser.statement`.
1221
- * @param ctx the parse tree
1222
- * @return the visitor result
1223
- */
1224
- visitDescribeQuery?: (ctx: DescribeQueryContext) => Result;
1225
- /**
1226
- * Visit a parse tree produced by the `commentNamespace`
1227
- * labeled alternative in `SparkSqlParser.statement`.
1228
- * @param ctx the parse tree
1229
- * @return the visitor result
1230
- */
1231
- visitCommentNamespace?: (ctx: CommentNamespaceContext) => Result;
1232
- /**
1233
- * Visit a parse tree produced by the `commentTable`
1234
- * labeled alternative in `SparkSqlParser.statement`.
1235
- * @param ctx the parse tree
1236
- * @return the visitor result
1237
- */
1238
- visitCommentTable?: (ctx: CommentTableContext) => Result;
1239
- /**
1240
- * Visit a parse tree produced by the `refreshTable`
1241
- * labeled alternative in `SparkSqlParser.statement`.
1242
- * @param ctx the parse tree
1243
- * @return the visitor result
1244
- */
1245
- visitRefreshTable?: (ctx: RefreshTableContext) => Result;
1246
- /**
1247
- * Visit a parse tree produced by the `refreshFunction`
1248
- * labeled alternative in `SparkSqlParser.statement`.
1249
- * @param ctx the parse tree
1250
- * @return the visitor result
1251
- */
1252
- visitRefreshFunction?: (ctx: RefreshFunctionContext) => Result;
1253
- /**
1254
- * Visit a parse tree produced by the `refreshResource`
1255
- * labeled alternative in `SparkSqlParser.statement`.
1256
- * @param ctx the parse tree
1257
- * @return the visitor result
1258
- */
1259
- visitRefreshResource?: (ctx: RefreshResourceContext) => Result;
1260
- /**
1261
- * Visit a parse tree produced by the `cacheTable`
1262
- * labeled alternative in `SparkSqlParser.statement`.
1263
- * @param ctx the parse tree
1264
- * @return the visitor result
1265
- */
1266
- visitCacheTable?: (ctx: CacheTableContext) => Result;
1267
- /**
1268
- * Visit a parse tree produced by the `uncacheTable`
1269
- * labeled alternative in `SparkSqlParser.statement`.
1270
- * @param ctx the parse tree
1271
- * @return the visitor result
1272
- */
1273
- visitUncacheTable?: (ctx: UncacheTableContext) => Result;
1274
- /**
1275
- * Visit a parse tree produced by the `clearCache`
1276
- * labeled alternative in `SparkSqlParser.statement`.
1277
- * @param ctx the parse tree
1278
- * @return the visitor result
1279
- */
1280
- visitClearCache?: (ctx: ClearCacheContext) => Result;
1281
- /**
1282
- * Visit a parse tree produced by the `loadData`
1283
- * labeled alternative in `SparkSqlParser.statement`.
1284
- * @param ctx the parse tree
1285
- * @return the visitor result
1286
- */
1287
- visitLoadData?: (ctx: LoadDataContext) => Result;
1288
- /**
1289
- * Visit a parse tree produced by the `truncateTable`
1290
- * labeled alternative in `SparkSqlParser.statement`.
1291
- * @param ctx the parse tree
1292
- * @return the visitor result
1293
- */
1294
- visitTruncateTable?: (ctx: TruncateTableContext) => Result;
1295
- /**
1296
- * Visit a parse tree produced by the `repairTable`
1297
- * labeled alternative in `SparkSqlParser.statement`.
1298
- * @param ctx the parse tree
1299
- * @return the visitor result
1300
- */
1301
- visitRepairTable?: (ctx: RepairTableContext) => Result;
1302
- /**
1303
- * Visit a parse tree produced by the `manageResource`
1304
- * labeled alternative in `SparkSqlParser.statement`.
1305
- * @param ctx the parse tree
1306
- * @return the visitor result
1307
- */
1308
- visitManageResource?: (ctx: ManageResourceContext) => Result;
1309
- /**
1310
- * Visit a parse tree produced by the `failNativeCommand`
1311
- * labeled alternative in `SparkSqlParser.statement`.
1312
- * @param ctx the parse tree
1313
- * @return the visitor result
1314
- */
1315
- visitFailNativeCommand?: (ctx: FailNativeCommandContext) => Result;
1316
- /**
1317
- * Visit a parse tree produced by the `setTimeZone`
1318
- * labeled alternative in `SparkSqlParser.statement`.
1319
- * @param ctx the parse tree
1320
- * @return the visitor result
1321
- */
1322
- visitSetTimeZone?: (ctx: SetTimeZoneContext) => Result;
1323
- /**
1324
- * Visit a parse tree produced by the `setQuotedConfiguration`
1325
- * labeled alternative in `SparkSqlParser.statement`.
1326
- * @param ctx the parse tree
1327
- * @return the visitor result
1328
- */
1329
- visitSetQuotedConfiguration?: (ctx: SetQuotedConfigurationContext) => Result;
1330
- /**
1331
- * Visit a parse tree produced by the `setConfiguration`
1332
- * labeled alternative in `SparkSqlParser.statement`.
1333
- * @param ctx the parse tree
1334
- * @return the visitor result
1335
- */
1336
- visitSetConfiguration?: (ctx: SetConfigurationContext) => Result;
1337
- /**
1338
- * Visit a parse tree produced by the `resetQuotedConfiguration`
1339
- * labeled alternative in `SparkSqlParser.statement`.
1340
- * @param ctx the parse tree
1341
- * @return the visitor result
1342
- */
1343
- visitResetQuotedConfiguration?: (ctx: ResetQuotedConfigurationContext) => Result;
1344
- /**
1345
- * Visit a parse tree produced by the `resetConfiguration`
1346
- * labeled alternative in `SparkSqlParser.statement`.
1347
- * @param ctx the parse tree
1348
- * @return the visitor result
1349
- */
1350
- visitResetConfiguration?: (ctx: ResetConfigurationContext) => Result;
1351
- /**
1352
- * Visit a parse tree produced by the `logicalNot`
1353
- * labeled alternative in `SparkSqlParser.booleanExpression`.
1354
- * @param ctx the parse tree
1355
- * @return the visitor result
1356
- */
1357
- visitLogicalNot?: (ctx: LogicalNotContext) => Result;
1358
- /**
1359
- * Visit a parse tree produced by the `exists`
1360
- * labeled alternative in `SparkSqlParser.booleanExpression`.
1361
- * @param ctx the parse tree
1362
- * @return the visitor result
1363
- */
1364
- visitExists?: (ctx: ExistsContext) => Result;
1365
- /**
1366
- * Visit a parse tree produced by the `predicated`
1367
- * labeled alternative in `SparkSqlParser.booleanExpression`.
1368
- * @param ctx the parse tree
1369
- * @return the visitor result
1370
- */
1371
- visitPredicated?: (ctx: PredicatedContext) => Result;
1372
- /**
1373
- * Visit a parse tree produced by the `logicalBinary`
1374
- * labeled alternative in `SparkSqlParser.booleanExpression`.
1375
- * @param ctx the parse tree
1376
- * @return the visitor result
1377
- */
1378
- visitLogicalBinary?: (ctx: LogicalBinaryContext) => Result;
1379
- /**
1380
- * Visit a parse tree produced by `SparkSqlParser.program`.
1381
- * @param ctx the parse tree
1382
- * @return the visitor result
1383
- */
1384
- visitProgram?: (ctx: ProgramContext) => Result;
1385
- /**
1386
- * Visit a parse tree produced by `SparkSqlParser.singleStatement`.
1387
- * @param ctx the parse tree
1388
- * @return the visitor result
1389
- */
1390
- visitSingleStatement?: (ctx: SingleStatementContext) => Result;
1391
- /**
1392
- * Visit a parse tree produced by `SparkSqlParser.emptyStatement`.
1393
- * @param ctx the parse tree
1394
- * @return the visitor result
1395
- */
1396
- visitEmptyStatement?: (ctx: EmptyStatementContext) => Result;
1397
- /**
1398
- * Visit a parse tree produced by `SparkSqlParser.singleExpression`.
1399
- * @param ctx the parse tree
1400
- * @return the visitor result
1401
- */
1402
- visitSingleExpression?: (ctx: SingleExpressionContext) => Result;
1403
- /**
1404
- * Visit a parse tree produced by `SparkSqlParser.singleTableIdentifier`.
1405
- * @param ctx the parse tree
1406
- * @return the visitor result
1407
- */
1408
- visitSingleTableIdentifier?: (ctx: SingleTableIdentifierContext) => Result;
1409
- /**
1410
- * Visit a parse tree produced by `SparkSqlParser.singleMultipartIdentifier`.
1411
- * @param ctx the parse tree
1412
- * @return the visitor result
1413
- */
1414
- visitSingleMultipartIdentifier?: (ctx: SingleMultipartIdentifierContext) => Result;
1415
- /**
1416
- * Visit a parse tree produced by `SparkSqlParser.singleDataType`.
1417
- * @param ctx the parse tree
1418
- * @return the visitor result
1419
- */
1420
- visitSingleDataType?: (ctx: SingleDataTypeContext) => Result;
1421
- /**
1422
- * Visit a parse tree produced by `SparkSqlParser.singleTableSchema`.
1423
- * @param ctx the parse tree
1424
- * @return the visitor result
1425
- */
1426
- visitSingleTableSchema?: (ctx: SingleTableSchemaContext) => Result;
1427
- /**
1428
- * Visit a parse tree produced by `SparkSqlParser.statement`.
1429
- * @param ctx the parse tree
1430
- * @return the visitor result
1431
- */
1432
- visitStatement?: (ctx: StatementContext) => Result;
1433
- /**
1434
- * Visit a parse tree produced by `SparkSqlParser.configKey`.
1435
- * @param ctx the parse tree
1436
- * @return the visitor result
1437
- */
1438
- visitConfigKey?: (ctx: ConfigKeyContext) => Result;
1439
- /**
1440
- * Visit a parse tree produced by `SparkSqlParser.unsupportedHiveNativeCommands`.
1441
- * @param ctx the parse tree
1442
- * @return the visitor result
1443
- */
1444
- visitUnsupportedHiveNativeCommands?: (ctx: UnsupportedHiveNativeCommandsContext) => Result;
1445
- /**
1446
- * Visit a parse tree produced by `SparkSqlParser.createTableHeader`.
1447
- * @param ctx the parse tree
1448
- * @return the visitor result
1449
- */
1450
- visitCreateTableHeader?: (ctx: CreateTableHeaderContext) => Result;
1451
- /**
1452
- * Visit a parse tree produced by `SparkSqlParser.replaceTableHeader`.
1453
- * @param ctx the parse tree
1454
- * @return the visitor result
1455
- */
1456
- visitReplaceTableHeader?: (ctx: ReplaceTableHeaderContext) => Result;
1457
- /**
1458
- * Visit a parse tree produced by `SparkSqlParser.bucketSpec`.
1459
- * @param ctx the parse tree
1460
- * @return the visitor result
1461
- */
1462
- visitBucketSpec?: (ctx: BucketSpecContext) => Result;
1463
- /**
1464
- * Visit a parse tree produced by `SparkSqlParser.skewSpec`.
1465
- * @param ctx the parse tree
1466
- * @return the visitor result
1467
- */
1468
- visitSkewSpec?: (ctx: SkewSpecContext) => Result;
1469
- /**
1470
- * Visit a parse tree produced by `SparkSqlParser.locationSpec`.
1471
- * @param ctx the parse tree
1472
- * @return the visitor result
1473
- */
1474
- visitLocationSpec?: (ctx: LocationSpecContext) => Result;
1475
- /**
1476
- * Visit a parse tree produced by `SparkSqlParser.commentSpec`.
1477
- * @param ctx the parse tree
1478
- * @return the visitor result
1479
- */
1480
- visitCommentSpec?: (ctx: CommentSpecContext) => Result;
1481
- /**
1482
- * Visit a parse tree produced by `SparkSqlParser.query`.
1483
- * @param ctx the parse tree
1484
- * @return the visitor result
1485
- */
1486
- visitQuery?: (ctx: QueryContext) => Result;
1487
- /**
1488
- * Visit a parse tree produced by `SparkSqlParser.insertInto`.
1489
- * @param ctx the parse tree
1490
- * @return the visitor result
1491
- */
1492
- visitInsertInto?: (ctx: InsertIntoContext) => Result;
1493
- /**
1494
- * Visit a parse tree produced by `SparkSqlParser.partitionSpecLocation`.
1495
- * @param ctx the parse tree
1496
- * @return the visitor result
1497
- */
1498
- visitPartitionSpecLocation?: (ctx: PartitionSpecLocationContext) => Result;
1499
- /**
1500
- * Visit a parse tree produced by `SparkSqlParser.partitionSpec`.
1501
- * @param ctx the parse tree
1502
- * @return the visitor result
1503
- */
1504
- visitPartitionSpec?: (ctx: PartitionSpecContext) => Result;
1505
- /**
1506
- * Visit a parse tree produced by `SparkSqlParser.partitionVal`.
1507
- * @param ctx the parse tree
1508
- * @return the visitor result
1509
- */
1510
- visitPartitionVal?: (ctx: PartitionValContext) => Result;
1511
- /**
1512
- * Visit a parse tree produced by `SparkSqlParser.namespace`.
1513
- * @param ctx the parse tree
1514
- * @return the visitor result
1515
- */
1516
- visitNamespace?: (ctx: NamespaceContext) => Result;
1517
- /**
1518
- * Visit a parse tree produced by `SparkSqlParser.describeFuncName`.
1519
- * @param ctx the parse tree
1520
- * @return the visitor result
1521
- */
1522
- visitDescribeFuncName?: (ctx: DescribeFuncNameContext) => Result;
1523
- /**
1524
- * Visit a parse tree produced by `SparkSqlParser.describeColName`.
1525
- * @param ctx the parse tree
1526
- * @return the visitor result
1527
- */
1528
- visitDescribeColName?: (ctx: DescribeColNameContext) => Result;
1529
- /**
1530
- * Visit a parse tree produced by `SparkSqlParser.ctes`.
1531
- * @param ctx the parse tree
1532
- * @return the visitor result
1533
- */
1534
- visitCtes?: (ctx: CtesContext) => Result;
1535
- /**
1536
- * Visit a parse tree produced by `SparkSqlParser.namedQuery`.
1537
- * @param ctx the parse tree
1538
- * @return the visitor result
1539
- */
1540
- visitNamedQuery?: (ctx: NamedQueryContext) => Result;
1541
- /**
1542
- * Visit a parse tree produced by `SparkSqlParser.tableProvider`.
1543
- * @param ctx the parse tree
1544
- * @return the visitor result
1545
- */
1546
- visitTableProvider?: (ctx: TableProviderContext) => Result;
1547
- /**
1548
- * Visit a parse tree produced by `SparkSqlParser.createTableClauses`.
1549
- * @param ctx the parse tree
1550
- * @return the visitor result
1551
- */
1552
- visitCreateTableClauses?: (ctx: CreateTableClausesContext) => Result;
1553
- /**
1554
- * Visit a parse tree produced by `SparkSqlParser.tablePropertyList`.
1555
- * @param ctx the parse tree
1556
- * @return the visitor result
1557
- */
1558
- visitTablePropertyList?: (ctx: TablePropertyListContext) => Result;
1559
- /**
1560
- * Visit a parse tree produced by `SparkSqlParser.tableProperty`.
1561
- * @param ctx the parse tree
1562
- * @return the visitor result
1563
- */
1564
- visitTableProperty?: (ctx: TablePropertyContext) => Result;
1565
- /**
1566
- * Visit a parse tree produced by `SparkSqlParser.tablePropertyKey`.
1567
- * @param ctx the parse tree
1568
- * @return the visitor result
1569
- */
1570
- visitTablePropertyKey?: (ctx: TablePropertyKeyContext) => Result;
1571
- /**
1572
- * Visit a parse tree produced by `SparkSqlParser.tablePropertyValue`.
1573
- * @param ctx the parse tree
1574
- * @return the visitor result
1575
- */
1576
- visitTablePropertyValue?: (ctx: TablePropertyValueContext) => Result;
1577
- /**
1578
- * Visit a parse tree produced by `SparkSqlParser.constantList`.
1579
- * @param ctx the parse tree
1580
- * @return the visitor result
1581
- */
1582
- visitConstantList?: (ctx: ConstantListContext) => Result;
1583
- /**
1584
- * Visit a parse tree produced by `SparkSqlParser.nestedConstantList`.
1585
- * @param ctx the parse tree
1586
- * @return the visitor result
1587
- */
1588
- visitNestedConstantList?: (ctx: NestedConstantListContext) => Result;
1589
- /**
1590
- * Visit a parse tree produced by `SparkSqlParser.createFileFormat`.
1591
- * @param ctx the parse tree
1592
- * @return the visitor result
1593
- */
1594
- visitCreateFileFormat?: (ctx: CreateFileFormatContext) => Result;
1595
- /**
1596
- * Visit a parse tree produced by `SparkSqlParser.fileFormat`.
1597
- * @param ctx the parse tree
1598
- * @return the visitor result
1599
- */
1600
- visitFileFormat?: (ctx: FileFormatContext) => Result;
1601
- /**
1602
- * Visit a parse tree produced by `SparkSqlParser.storageHandler`.
1603
- * @param ctx the parse tree
1604
- * @return the visitor result
1605
- */
1606
- visitStorageHandler?: (ctx: StorageHandlerContext) => Result;
1607
- /**
1608
- * Visit a parse tree produced by `SparkSqlParser.resource`.
1609
- * @param ctx the parse tree
1610
- * @return the visitor result
1611
- */
1612
- visitResource?: (ctx: ResourceContext) => Result;
1613
- /**
1614
- * Visit a parse tree produced by `SparkSqlParser.dmlStatementNoWith`.
1615
- * @param ctx the parse tree
1616
- * @return the visitor result
1617
- */
1618
- visitDmlStatementNoWith?: (ctx: DmlStatementNoWithContext) => Result;
1619
- /**
1620
- * Visit a parse tree produced by `SparkSqlParser.queryOrganization`.
1621
- * @param ctx the parse tree
1622
- * @return the visitor result
1623
- */
1624
- visitQueryOrganization?: (ctx: QueryOrganizationContext) => Result;
1625
- /**
1626
- * Visit a parse tree produced by `SparkSqlParser.multiInsertQueryBody`.
1627
- * @param ctx the parse tree
1628
- * @return the visitor result
1629
- */
1630
- visitMultiInsertQueryBody?: (ctx: MultiInsertQueryBodyContext) => Result;
1631
- /**
1632
- * Visit a parse tree produced by `SparkSqlParser.queryTerm`.
1633
- * @param ctx the parse tree
1634
- * @return the visitor result
1635
- */
1636
- visitQueryTerm?: (ctx: QueryTermContext) => Result;
1637
- /**
1638
- * Visit a parse tree produced by `SparkSqlParser.queryPrimary`.
1639
- * @param ctx the parse tree
1640
- * @return the visitor result
1641
- */
1642
- visitQueryPrimary?: (ctx: QueryPrimaryContext) => Result;
1643
- /**
1644
- * Visit a parse tree produced by `SparkSqlParser.sortItem`.
1645
- * @param ctx the parse tree
1646
- * @return the visitor result
1647
- */
1648
- visitSortItem?: (ctx: SortItemContext) => Result;
1649
- /**
1650
- * Visit a parse tree produced by `SparkSqlParser.fromStatement`.
1651
- * @param ctx the parse tree
1652
- * @return the visitor result
1653
- */
1654
- visitFromStatement?: (ctx: FromStatementContext) => Result;
1655
- /**
1656
- * Visit a parse tree produced by `SparkSqlParser.fromStatementBody`.
1657
- * @param ctx the parse tree
1658
- * @return the visitor result
1659
- */
1660
- visitFromStatementBody?: (ctx: FromStatementBodyContext) => Result;
1661
- /**
1662
- * Visit a parse tree produced by `SparkSqlParser.querySpecification`.
1663
- * @param ctx the parse tree
1664
- * @return the visitor result
1665
- */
1666
- visitQuerySpecification?: (ctx: QuerySpecificationContext) => Result;
1667
- /**
1668
- * Visit a parse tree produced by `SparkSqlParser.transformClause`.
1669
- * @param ctx the parse tree
1670
- * @return the visitor result
1671
- */
1672
- visitTransformClause?: (ctx: TransformClauseContext) => Result;
1673
- /**
1674
- * Visit a parse tree produced by `SparkSqlParser.selectClause`.
1675
- * @param ctx the parse tree
1676
- * @return the visitor result
1677
- */
1678
- visitSelectClause?: (ctx: SelectClauseContext) => Result;
1679
- /**
1680
- * Visit a parse tree produced by `SparkSqlParser.setClause`.
1681
- * @param ctx the parse tree
1682
- * @return the visitor result
1683
- */
1684
- visitSetClause?: (ctx: SetClauseContext) => Result;
1685
- /**
1686
- * Visit a parse tree produced by `SparkSqlParser.matchedClause`.
1687
- * @param ctx the parse tree
1688
- * @return the visitor result
1689
- */
1690
- visitMatchedClause?: (ctx: MatchedClauseContext) => Result;
1691
- /**
1692
- * Visit a parse tree produced by `SparkSqlParser.notMatchedClause`.
1693
- * @param ctx the parse tree
1694
- * @return the visitor result
1695
- */
1696
- visitNotMatchedClause?: (ctx: NotMatchedClauseContext) => Result;
1697
- /**
1698
- * Visit a parse tree produced by `SparkSqlParser.matchedAction`.
1699
- * @param ctx the parse tree
1700
- * @return the visitor result
1701
- */
1702
- visitMatchedAction?: (ctx: MatchedActionContext) => Result;
1703
- /**
1704
- * Visit a parse tree produced by `SparkSqlParser.notMatchedAction`.
1705
- * @param ctx the parse tree
1706
- * @return the visitor result
1707
- */
1708
- visitNotMatchedAction?: (ctx: NotMatchedActionContext) => Result;
1709
- /**
1710
- * Visit a parse tree produced by `SparkSqlParser.assignmentList`.
1711
- * @param ctx the parse tree
1712
- * @return the visitor result
1713
- */
1714
- visitAssignmentList?: (ctx: AssignmentListContext) => Result;
1715
- /**
1716
- * Visit a parse tree produced by `SparkSqlParser.assignment`.
1717
- * @param ctx the parse tree
1718
- * @return the visitor result
1719
- */
1720
- visitAssignment?: (ctx: AssignmentContext) => Result;
1721
- /**
1722
- * Visit a parse tree produced by `SparkSqlParser.whereClause`.
1723
- * @param ctx the parse tree
1724
- * @return the visitor result
1725
- */
1726
- visitWhereClause?: (ctx: WhereClauseContext) => Result;
1727
- /**
1728
- * Visit a parse tree produced by `SparkSqlParser.havingClause`.
1729
- * @param ctx the parse tree
1730
- * @return the visitor result
1731
- */
1732
- visitHavingClause?: (ctx: HavingClauseContext) => Result;
1733
- /**
1734
- * Visit a parse tree produced by `SparkSqlParser.hint`.
1735
- * @param ctx the parse tree
1736
- * @return the visitor result
1737
- */
1738
- visitHint?: (ctx: HintContext) => Result;
1739
- /**
1740
- * Visit a parse tree produced by `SparkSqlParser.hintStatement`.
1741
- * @param ctx the parse tree
1742
- * @return the visitor result
1743
- */
1744
- visitHintStatement?: (ctx: HintStatementContext) => Result;
1745
- /**
1746
- * Visit a parse tree produced by `SparkSqlParser.fromClause`.
1747
- * @param ctx the parse tree
1748
- * @return the visitor result
1749
- */
1750
- visitFromClause?: (ctx: FromClauseContext) => Result;
1751
- /**
1752
- * Visit a parse tree produced by `SparkSqlParser.aggregationClause`.
1753
- * @param ctx the parse tree
1754
- * @return the visitor result
1755
- */
1756
- visitAggregationClause?: (ctx: AggregationClauseContext) => Result;
1757
- /**
1758
- * Visit a parse tree produced by `SparkSqlParser.groupingSet`.
1759
- * @param ctx the parse tree
1760
- * @return the visitor result
1761
- */
1762
- visitGroupingSet?: (ctx: GroupingSetContext) => Result;
1763
- /**
1764
- * Visit a parse tree produced by `SparkSqlParser.pivotClause`.
1765
- * @param ctx the parse tree
1766
- * @return the visitor result
1767
- */
1768
- visitPivotClause?: (ctx: PivotClauseContext) => Result;
1769
- /**
1770
- * Visit a parse tree produced by `SparkSqlParser.pivotColumn`.
1771
- * @param ctx the parse tree
1772
- * @return the visitor result
1773
- */
1774
- visitPivotColumn?: (ctx: PivotColumnContext) => Result;
1775
- /**
1776
- * Visit a parse tree produced by `SparkSqlParser.pivotValue`.
1777
- * @param ctx the parse tree
1778
- * @return the visitor result
1779
- */
1780
- visitPivotValue?: (ctx: PivotValueContext) => Result;
1781
- /**
1782
- * Visit a parse tree produced by `SparkSqlParser.lateralView`.
1783
- * @param ctx the parse tree
1784
- * @return the visitor result
1785
- */
1786
- visitLateralView?: (ctx: LateralViewContext) => Result;
1787
- /**
1788
- * Visit a parse tree produced by `SparkSqlParser.setQuantifier`.
1789
- * @param ctx the parse tree
1790
- * @return the visitor result
1791
- */
1792
- visitSetQuantifier?: (ctx: SetQuantifierContext) => Result;
1793
- /**
1794
- * Visit a parse tree produced by `SparkSqlParser.relation`.
1795
- * @param ctx the parse tree
1796
- * @return the visitor result
1797
- */
1798
- visitRelation?: (ctx: RelationContext) => Result;
1799
- /**
1800
- * Visit a parse tree produced by `SparkSqlParser.joinRelation`.
1801
- * @param ctx the parse tree
1802
- * @return the visitor result
1803
- */
1804
- visitJoinRelation?: (ctx: JoinRelationContext) => Result;
1805
- /**
1806
- * Visit a parse tree produced by `SparkSqlParser.joinType`.
1807
- * @param ctx the parse tree
1808
- * @return the visitor result
1809
- */
1810
- visitJoinType?: (ctx: JoinTypeContext) => Result;
1811
- /**
1812
- * Visit a parse tree produced by `SparkSqlParser.joinCriteria`.
1813
- * @param ctx the parse tree
1814
- * @return the visitor result
1815
- */
1816
- visitJoinCriteria?: (ctx: JoinCriteriaContext) => Result;
1817
- /**
1818
- * Visit a parse tree produced by `SparkSqlParser.sample`.
1819
- * @param ctx the parse tree
1820
- * @return the visitor result
1821
- */
1822
- visitSample?: (ctx: SampleContext) => Result;
1823
- /**
1824
- * Visit a parse tree produced by `SparkSqlParser.sampleMethod`.
1825
- * @param ctx the parse tree
1826
- * @return the visitor result
1827
- */
1828
- visitSampleMethod?: (ctx: SampleMethodContext) => Result;
1829
- /**
1830
- * Visit a parse tree produced by `SparkSqlParser.identifierList`.
1831
- * @param ctx the parse tree
1832
- * @return the visitor result
1833
- */
1834
- visitIdentifierList?: (ctx: IdentifierListContext) => Result;
1835
- /**
1836
- * Visit a parse tree produced by `SparkSqlParser.identifierSeq`.
1837
- * @param ctx the parse tree
1838
- * @return the visitor result
1839
- */
1840
- visitIdentifierSeq?: (ctx: IdentifierSeqContext) => Result;
1841
- /**
1842
- * Visit a parse tree produced by `SparkSqlParser.orderedIdentifierList`.
1843
- * @param ctx the parse tree
1844
- * @return the visitor result
1845
- */
1846
- visitOrderedIdentifierList?: (ctx: OrderedIdentifierListContext) => Result;
1847
- /**
1848
- * Visit a parse tree produced by `SparkSqlParser.orderedIdentifier`.
1849
- * @param ctx the parse tree
1850
- * @return the visitor result
1851
- */
1852
- visitOrderedIdentifier?: (ctx: OrderedIdentifierContext) => Result;
1853
- /**
1854
- * Visit a parse tree produced by `SparkSqlParser.identifierCommentList`.
1855
- * @param ctx the parse tree
1856
- * @return the visitor result
1857
- */
1858
- visitIdentifierCommentList?: (ctx: IdentifierCommentListContext) => Result;
1859
- /**
1860
- * Visit a parse tree produced by `SparkSqlParser.identifierComment`.
1861
- * @param ctx the parse tree
1862
- * @return the visitor result
1863
- */
1864
- visitIdentifierComment?: (ctx: IdentifierCommentContext) => Result;
1865
- /**
1866
- * Visit a parse tree produced by `SparkSqlParser.relationPrimary`.
1867
- * @param ctx the parse tree
1868
- * @return the visitor result
1869
- */
1870
- visitRelationPrimary?: (ctx: RelationPrimaryContext) => Result;
1871
- /**
1872
- * Visit a parse tree produced by `SparkSqlParser.inlineTable`.
1873
- * @param ctx the parse tree
1874
- * @return the visitor result
1875
- */
1876
- visitInlineTable?: (ctx: InlineTableContext) => Result;
1877
- /**
1878
- * Visit a parse tree produced by `SparkSqlParser.functionTable`.
1879
- * @param ctx the parse tree
1880
- * @return the visitor result
1881
- */
1882
- visitFunctionTable?: (ctx: FunctionTableContext) => Result;
1883
- /**
1884
- * Visit a parse tree produced by `SparkSqlParser.tableAlias`.
1885
- * @param ctx the parse tree
1886
- * @return the visitor result
1887
- */
1888
- visitTableAlias?: (ctx: TableAliasContext) => Result;
1889
- /**
1890
- * Visit a parse tree produced by `SparkSqlParser.rowFormat`.
1891
- * @param ctx the parse tree
1892
- * @return the visitor result
1893
- */
1894
- visitRowFormat?: (ctx: RowFormatContext) => Result;
1895
- /**
1896
- * Visit a parse tree produced by `SparkSqlParser.multipartIdentifierList`.
1897
- * @param ctx the parse tree
1898
- * @return the visitor result
1899
- */
1900
- visitMultipartIdentifierList?: (ctx: MultipartIdentifierListContext) => Result;
1901
- /**
1902
- * Visit a parse tree produced by `SparkSqlParser.multipartIdentifier`.
1903
- * @param ctx the parse tree
1904
- * @return the visitor result
1905
- */
1906
- visitMultipartIdentifier?: (ctx: MultipartIdentifierContext) => Result;
1907
- /**
1908
- * Visit a parse tree produced by `SparkSqlParser.tableIdentifier`.
1909
- * @param ctx the parse tree
1910
- * @return the visitor result
1911
- */
1912
- visitTableIdentifier?: (ctx: TableIdentifierContext) => Result;
1913
- /**
1914
- * Visit a parse tree produced by `SparkSqlParser.namedExpression`.
1915
- * @param ctx the parse tree
1916
- * @return the visitor result
1917
- */
1918
- visitNamedExpression?: (ctx: NamedExpressionContext) => Result;
1919
- /**
1920
- * Visit a parse tree produced by `SparkSqlParser.namedExpressionSeq`.
1921
- * @param ctx the parse tree
1922
- * @return the visitor result
1923
- */
1924
- visitNamedExpressionSeq?: (ctx: NamedExpressionSeqContext) => Result;
1925
- /**
1926
- * Visit a parse tree produced by `SparkSqlParser.transformList`.
1927
- * @param ctx the parse tree
1928
- * @return the visitor result
1929
- */
1930
- visitTransformList?: (ctx: TransformListContext) => Result;
1931
- /**
1932
- * Visit a parse tree produced by `SparkSqlParser.transform`.
1933
- * @param ctx the parse tree
1934
- * @return the visitor result
1935
- */
1936
- visitTransform?: (ctx: TransformContext) => Result;
1937
- /**
1938
- * Visit a parse tree produced by `SparkSqlParser.transformArgument`.
1939
- * @param ctx the parse tree
1940
- * @return the visitor result
1941
- */
1942
- visitTransformArgument?: (ctx: TransformArgumentContext) => Result;
1943
- /**
1944
- * Visit a parse tree produced by `SparkSqlParser.expression`.
1945
- * @param ctx the parse tree
1946
- * @return the visitor result
1947
- */
1948
- visitExpression?: (ctx: ExpressionContext) => Result;
1949
- /**
1950
- * Visit a parse tree produced by `SparkSqlParser.booleanExpression`.
1951
- * @param ctx the parse tree
1952
- * @return the visitor result
1953
- */
1954
- visitBooleanExpression?: (ctx: BooleanExpressionContext) => Result;
1955
- /**
1956
- * Visit a parse tree produced by `SparkSqlParser.predicate`.
1957
- * @param ctx the parse tree
1958
- * @return the visitor result
1959
- */
1960
- visitPredicate?: (ctx: PredicateContext) => Result;
1961
- /**
1962
- * Visit a parse tree produced by `SparkSqlParser.valueExpression`.
1963
- * @param ctx the parse tree
1964
- * @return the visitor result
1965
- */
1966
- visitValueExpression?: (ctx: ValueExpressionContext) => Result;
1967
- /**
1968
- * Visit a parse tree produced by `SparkSqlParser.primaryExpression`.
1969
- * @param ctx the parse tree
1970
- * @return the visitor result
1971
- */
1972
- visitPrimaryExpression?: (ctx: PrimaryExpressionContext) => Result;
1973
- /**
1974
- * Visit a parse tree produced by `SparkSqlParser.constant`.
1975
- * @param ctx the parse tree
1976
- * @return the visitor result
1977
- */
1978
- visitConstant?: (ctx: ConstantContext) => Result;
1979
- /**
1980
- * Visit a parse tree produced by `SparkSqlParser.comparisonOperator`.
1981
- * @param ctx the parse tree
1982
- * @return the visitor result
1983
- */
1984
- visitComparisonOperator?: (ctx: ComparisonOperatorContext) => Result;
1985
- /**
1986
- * Visit a parse tree produced by `SparkSqlParser.arithmeticOperator`.
1987
- * @param ctx the parse tree
1988
- * @return the visitor result
1989
- */
1990
- visitArithmeticOperator?: (ctx: ArithmeticOperatorContext) => Result;
1991
- /**
1992
- * Visit a parse tree produced by `SparkSqlParser.predicateOperator`.
1993
- * @param ctx the parse tree
1994
- * @return the visitor result
1995
- */
1996
- visitPredicateOperator?: (ctx: PredicateOperatorContext) => Result;
1997
- /**
1998
- * Visit a parse tree produced by `SparkSqlParser.booleanValue`.
1999
- * @param ctx the parse tree
2000
- * @return the visitor result
2001
- */
2002
- visitBooleanValue?: (ctx: BooleanValueContext) => Result;
2003
- /**
2004
- * Visit a parse tree produced by `SparkSqlParser.interval`.
2005
- * @param ctx the parse tree
2006
- * @return the visitor result
2007
- */
2008
- visitInterval?: (ctx: IntervalContext) => Result;
2009
- /**
2010
- * Visit a parse tree produced by `SparkSqlParser.errorCapturingMultiUnitsInterval`.
2011
- * @param ctx the parse tree
2012
- * @return the visitor result
2013
- */
2014
- visitErrorCapturingMultiUnitsInterval?: (ctx: ErrorCapturingMultiUnitsIntervalContext) => Result;
2015
- /**
2016
- * Visit a parse tree produced by `SparkSqlParser.multiUnitsInterval`.
2017
- * @param ctx the parse tree
2018
- * @return the visitor result
2019
- */
2020
- visitMultiUnitsInterval?: (ctx: MultiUnitsIntervalContext) => Result;
2021
- /**
2022
- * Visit a parse tree produced by `SparkSqlParser.errorCapturingUnitToUnitInterval`.
2023
- * @param ctx the parse tree
2024
- * @return the visitor result
2025
- */
2026
- visitErrorCapturingUnitToUnitInterval?: (ctx: ErrorCapturingUnitToUnitIntervalContext) => Result;
2027
- /**
2028
- * Visit a parse tree produced by `SparkSqlParser.unitToUnitInterval`.
2029
- * @param ctx the parse tree
2030
- * @return the visitor result
2031
- */
2032
- visitUnitToUnitInterval?: (ctx: UnitToUnitIntervalContext) => Result;
2033
- /**
2034
- * Visit a parse tree produced by `SparkSqlParser.intervalValue`.
2035
- * @param ctx the parse tree
2036
- * @return the visitor result
2037
- */
2038
- visitIntervalValue?: (ctx: IntervalValueContext) => Result;
2039
- /**
2040
- * Visit a parse tree produced by `SparkSqlParser.colPosition`.
2041
- * @param ctx the parse tree
2042
- * @return the visitor result
2043
- */
2044
- visitColPosition?: (ctx: ColPositionContext) => Result;
2045
- /**
2046
- * Visit a parse tree produced by `SparkSqlParser.dataType`.
2047
- * @param ctx the parse tree
2048
- * @return the visitor result
2049
- */
2050
- visitDataType?: (ctx: DataTypeContext) => Result;
2051
- /**
2052
- * Visit a parse tree produced by `SparkSqlParser.qualifiedColTypeWithPositionList`.
2053
- * @param ctx the parse tree
2054
- * @return the visitor result
2055
- */
2056
- visitQualifiedColTypeWithPositionList?: (ctx: QualifiedColTypeWithPositionListContext) => Result;
2057
- /**
2058
- * Visit a parse tree produced by `SparkSqlParser.qualifiedColTypeWithPosition`.
2059
- * @param ctx the parse tree
2060
- * @return the visitor result
2061
- */
2062
- visitQualifiedColTypeWithPosition?: (ctx: QualifiedColTypeWithPositionContext) => Result;
2063
- /**
2064
- * Visit a parse tree produced by `SparkSqlParser.colTypeList`.
2065
- * @param ctx the parse tree
2066
- * @return the visitor result
2067
- */
2068
- visitColTypeList?: (ctx: ColTypeListContext) => Result;
2069
- /**
2070
- * Visit a parse tree produced by `SparkSqlParser.colType`.
2071
- * @param ctx the parse tree
2072
- * @return the visitor result
2073
- */
2074
- visitColType?: (ctx: ColTypeContext) => Result;
2075
- /**
2076
- * Visit a parse tree produced by `SparkSqlParser.complexColTypeList`.
2077
- * @param ctx the parse tree
2078
- * @return the visitor result
2079
- */
2080
- visitComplexColTypeList?: (ctx: ComplexColTypeListContext) => Result;
2081
- /**
2082
- * Visit a parse tree produced by `SparkSqlParser.complexColType`.
2083
- * @param ctx the parse tree
2084
- * @return the visitor result
2085
- */
2086
- visitComplexColType?: (ctx: ComplexColTypeContext) => Result;
2087
- /**
2088
- * Visit a parse tree produced by `SparkSqlParser.whenClause`.
2089
- * @param ctx the parse tree
2090
- * @return the visitor result
2091
- */
2092
- visitWhenClause?: (ctx: WhenClauseContext) => Result;
2093
- /**
2094
- * Visit a parse tree produced by `SparkSqlParser.windowClause`.
2095
- * @param ctx the parse tree
2096
- * @return the visitor result
2097
- */
2098
- visitWindowClause?: (ctx: WindowClauseContext) => Result;
2099
- /**
2100
- * Visit a parse tree produced by `SparkSqlParser.namedWindow`.
2101
- * @param ctx the parse tree
2102
- * @return the visitor result
2103
- */
2104
- visitNamedWindow?: (ctx: NamedWindowContext) => Result;
2105
- /**
2106
- * Visit a parse tree produced by `SparkSqlParser.windowSpec`.
2107
- * @param ctx the parse tree
2108
- * @return the visitor result
2109
- */
2110
- visitWindowSpec?: (ctx: WindowSpecContext) => Result;
2111
- /**
2112
- * Visit a parse tree produced by `SparkSqlParser.windowFrame`.
2113
- * @param ctx the parse tree
2114
- * @return the visitor result
2115
- */
2116
- visitWindowFrame?: (ctx: WindowFrameContext) => Result;
2117
- /**
2118
- * Visit a parse tree produced by `SparkSqlParser.frameBound`.
2119
- * @param ctx the parse tree
2120
- * @return the visitor result
2121
- */
2122
- visitFrameBound?: (ctx: FrameBoundContext) => Result;
2123
- /**
2124
- * Visit a parse tree produced by `SparkSqlParser.qualifiedNameList`.
2125
- * @param ctx the parse tree
2126
- * @return the visitor result
2127
- */
2128
- visitQualifiedNameList?: (ctx: QualifiedNameListContext) => Result;
2129
- /**
2130
- * Visit a parse tree produced by `SparkSqlParser.functionName`.
2131
- * @param ctx the parse tree
2132
- * @return the visitor result
2133
- */
2134
- visitFunctionName?: (ctx: FunctionNameContext) => Result;
2135
- /**
2136
- * Visit a parse tree produced by `SparkSqlParser.qualifiedName`.
2137
- * @param ctx the parse tree
2138
- * @return the visitor result
2139
- */
2140
- visitQualifiedName?: (ctx: QualifiedNameContext) => Result;
2141
- /**
2142
- * Visit a parse tree produced by `SparkSqlParser.errorCapturingIdentifier`.
2143
- * @param ctx the parse tree
2144
- * @return the visitor result
2145
- */
2146
- visitErrorCapturingIdentifier?: (ctx: ErrorCapturingIdentifierContext) => Result;
2147
- /**
2148
- * Visit a parse tree produced by `SparkSqlParser.errorCapturingIdentifierExtra`.
2149
- * @param ctx the parse tree
2150
- * @return the visitor result
2151
- */
2152
- visitErrorCapturingIdentifierExtra?: (ctx: ErrorCapturingIdentifierExtraContext) => Result;
2153
- /**
2154
- * Visit a parse tree produced by `SparkSqlParser.identifier`.
2155
- * @param ctx the parse tree
2156
- * @return the visitor result
2157
- */
2158
- visitIdentifier?: (ctx: IdentifierContext) => Result;
2159
- /**
2160
- * Visit a parse tree produced by `SparkSqlParser.strictIdentifier`.
2161
- * @param ctx the parse tree
2162
- * @return the visitor result
2163
- */
2164
- visitStrictIdentifier?: (ctx: StrictIdentifierContext) => Result;
2165
- /**
2166
- * Visit a parse tree produced by `SparkSqlParser.quotedIdentifier`.
2167
- * @param ctx the parse tree
2168
- * @return the visitor result
2169
- */
2170
- visitQuotedIdentifier?: (ctx: QuotedIdentifierContext) => Result;
2171
- /**
2172
- * Visit a parse tree produced by `SparkSqlParser.number`.
2173
- * @param ctx the parse tree
2174
- * @return the visitor result
2175
- */
2176
- visitNumber?: (ctx: NumberContext) => Result;
2177
- /**
2178
- * Visit a parse tree produced by `SparkSqlParser.alterColumnAction`.
2179
- * @param ctx the parse tree
2180
- * @return the visitor result
2181
- */
2182
- visitAlterColumnAction?: (ctx: AlterColumnActionContext) => Result;
2183
- /**
2184
- * Visit a parse tree produced by `SparkSqlParser.ansiNonReserved`.
2185
- * @param ctx the parse tree
2186
- * @return the visitor result
2187
- */
2188
- visitAnsiNonReserved?: (ctx: AnsiNonReservedContext) => Result;
2189
- /**
2190
- * Visit a parse tree produced by `SparkSqlParser.strictNonReserved`.
2191
- * @param ctx the parse tree
2192
- * @return the visitor result
2193
- */
2194
- visitStrictNonReserved?: (ctx: StrictNonReservedContext) => Result;
2195
- /**
2196
- * Visit a parse tree produced by `SparkSqlParser.nonReserved`.
2197
- * @param ctx the parse tree
2198
- * @return the visitor result
2199
- */
2200
- visitNonReserved?: (ctx: NonReservedContext) => Result;
2201
- }