Class LogicalPlanBuilder
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>,EsqlBaseParserVisitor<Object>
- Direct Known Subclasses:
AstBuilder
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordContainer for PromQL command parameters: time for instant queries start, end, step for range queries These can be specified in the PROMQL command like so:Nested classes/interfaces inherited from class org.elasticsearch.xpack.esql.parser.ExpressionBuilder
ExpressionBuilder.ParsingContext -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intMaximum number of commands allowed per queryFields inherited from class org.elasticsearch.xpack.esql.parser.ExpressionBuilder
context, MAX_EXPRESSION_DEPTH -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected LogicalPlanplan(org.antlr.v4.runtime.tree.ParseTree ctx) protected List<LogicalPlan> protected static StringquoteIdString(String unquotedString) protected EsqlStatementstatement(org.antlr.v4.runtime.tree.ParseTree ctx) protected static StringunquoteIdentifier(org.antlr.v4.runtime.tree.TerminalNode quotedNode, org.antlr.v4.runtime.tree.TerminalNode unquotedNode) protected static StringunquoteIdString(String quotedString) protected static voidvalidateClusterString(String clusterString, EsqlBaseParser.IndexPatternContext ctx) visit(org.antlr.v4.runtime.tree.ParseTree tree) Visit a parse tree produced byEsqlBaseParser.changePointCommand().Visit a parse tree produced byEsqlBaseParser.clusterString().Visit a parse tree produced byEsqlBaseParser.completionCommand().Visit a parse tree produced by thecompositeForkSubQuerylabeled alternative inEsqlBaseParser.forkSubQueryCommand().Visit a parse tree produced by thecompositeQuerylabeled alternative inEsqlBaseParser.query().Visit a parse tree produced byEsqlBaseParser.dissectCommand().Visit a parse tree produced byEsqlBaseParser.dissectCommandOptions().Visit a parse tree produced byEsqlBaseParser.dropCommand().Visit a parse tree produced byEsqlBaseParser.enrichCommand().Visit a parse tree produced byEsqlBaseParser.evalCommand().Visit a parse tree produced byEsqlBaseParser.explainCommand().Visit a parse tree produced byEsqlBaseParser.forkCommand().Visit a parse tree produced byEsqlBaseParser.forkSubQueries().Visit a parse tree produced byEsqlBaseParser.forkSubQuery().Visit a parse tree produced byEsqlBaseParser.fromCommand().Visit a parse tree produced byEsqlBaseParser.fuseCommand().Visit a parse tree produced byEsqlBaseParser.grokCommand().Visit a parse tree produced byEsqlBaseParser.identifier().Visit a parse tree produced byEsqlBaseParser.indexString().Visit a parse tree produced byEsqlBaseParser.inlineStatsCommand().Visit a parse tree produced byEsqlBaseParser.insistCommand().Visit a parse tree produced byEsqlBaseParser.joinCommand().org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.JoinInfoVisit a parse tree produced byEsqlBaseParser.joinCondition().Visit a parse tree produced byEsqlBaseParser.keepCommand().Visit a parse tree produced byEsqlBaseParser.limitCommand().Visit a parse tree produced byEsqlBaseParser.lookupCommand().Visit a parse tree produced byEsqlBaseParser.mvExpandCommand().Visit a parse tree produced byEsqlBaseParser.promqlCommand().Visit a parse tree produced byEsqlBaseParser.renameCommand().Visit a parse tree produced byEsqlBaseParser.rerankCommand().Visit a parse tree produced byEsqlBaseParser.rowCommand().Visit a parse tree produced byEsqlBaseParser.sampleCommand().Visit a parse tree produced byEsqlBaseParser.selectorString().Visit a parse tree produced byEsqlBaseParser.setCommand().Visit a parse tree produced byEsqlBaseParser.setField().Visit a parse tree produced by theshowInfolabeled alternative inEsqlBaseParser.showCommand().Visit a parse tree produced byEsqlBaseParser.singleStatement().Visit a parse tree produced byEsqlBaseParser.sortCommand().Visit a parse tree produced byEsqlBaseParser.statements().Visit a parse tree produced byEsqlBaseParser.statsCommand().Visit a parse tree produced byEsqlBaseParser.subquery().visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node) Visit a parse tree produced byEsqlBaseParser.timeSeriesCommand().Visit a parse tree produced byEsqlBaseParser.whereCommand().Methods inherited from class org.elasticsearch.xpack.esql.parser.ExpressionBuilder
expression, expressions, qualifiersUnsupportedInFieldDefinitions, qualifiersUnsupportedInPatterns, visitAggField, visitAggFields, visitArithmeticBinary, visitArithmeticUnary, visitBooleanArrayLiteral, visitBooleanValue, visitCommandNamedParameters, visitComparison, visitDecimalValue, visitDereference, visitEnrichWithClause, visitField, visitFieldName, visitFields, visitFunctionExpression, visitFunctionName, visitGrouping, visitIdentifierOrParameter, visitInlineCast, visitInputDoubleParams, visitInputNamedOrPositionalDoubleParams, visitInputNamedOrPositionalParam, visitInputParam, visitIntegerValue, visitIsNull, visitLikeExpression, visitLikeListExpression, visitLogicalBinary, visitLogicalIn, visitLogicalNot, visitMapExpression, visitMatchBooleanExpression, visitNullLiteral, visitNumericArrayLiteral, visitOperatorExpressionDefault, visitOrderExpression, visitParenthesizedExpression, visitQualifiedIntegerLiteral, visitQualifiedName, visitQualifiedName, visitQualifiedNamePattern, visitQualifiedNamePattern, visitQualifiedNamePatterns, visitQualifiedNamePatterns, visitRenameClause, visitRerankField, visitRerankFields, visitRlikeExpression, visitRlikeListExpression, visitString, visitStringArrayLiteral, visitStringLiteral, visitToDataTypeMethods inherited from class org.elasticsearch.xpack.esql.parser.EsqlBaseParserBaseVisitor
visitBooleanDefault, visitBooleanLiteral, visitComparisonOperator, visitConstantDefault, visitDecimalLiteral, visitDissectCommandOption, visitEnrichPolicyName, visitEntryExpression, visitFieldNamePattern, visitForkSubQueryProcessingCommand, visitFunction, visitFuseConfiguration, visitIdentifierPattern, visitIndexPattern, visitIndexPatternAndMetadataFields, visitIndexPatternOrSubquery, visitInputParameter, visitIntegerLiteral, visitJoinTarget, visitMapValue, visitMatchExpression, visitMetadata, visitNumericValue, visitProcessingCommand, visitPromqlParam, visitPromqlParamContent, visitPromqlQueryPart, visitRegexExpression, visitSingleCommandQuery, visitSingleForkSubQueryCommand, visitSourceCommand, visitStringOrParameter, visitSubqueryExpression, visitUnquotedIndexString, visitValueExpressionDefaultMethods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visitChildren, visitErrorNodeMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visitChildren, visitErrorNode
-
Field Details
-
MAX_QUERY_DEPTH
public static final int MAX_QUERY_DEPTHMaximum number of commands allowed per query- See Also:
-
-
Constructor Details
-
LogicalPlanBuilder
-
-
Method Details
-
statement
-
plan
-
visitStatements
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.statements().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatementsin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitStatementsin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
plans
-
visitSingleStatement
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.singleStatement().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSingleStatementin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitSingleStatementin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.setCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitSetCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSetField
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.setField().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSetFieldin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitSetFieldin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompositeQuery
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced by thecompositeQuerylabeled alternative inEsqlBaseParser.query().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompositeQueryin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitCompositeQueryin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEvalCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.evalCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEvalCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitEvalCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitGrokCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.grokCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitGrokCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitGrokCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDissectCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.dissectCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDissectCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitDissectCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitMvExpandCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.mvExpandCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitMvExpandCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitMvExpandCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDissectCommandOptions
public Map<String,Object> visitDissectCommandOptions(EsqlBaseParser.DissectCommandOptionsContext ctx) Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.dissectCommandOptions().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDissectCommandOptionsin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitDissectCommandOptionsin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRowCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.rowCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRowCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitRowCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSubquery
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.subquery().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSubqueryin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitSubqueryin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFromCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.fromCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFromCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitFromCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInsistCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.insistCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInsistCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitInsistCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitStatsCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.statsCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitStatsCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitStatsCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitInlineStatsCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.inlineStatsCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitInlineStatsCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitInlineStatsCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitWhereCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.whereCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitWhereCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitWhereCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLimitCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.limitCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLimitCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitLimitCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSortCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.sortCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSortCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitSortCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitExplainCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.explainCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitExplainCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitExplainCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitDropCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.dropCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitDropCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitDropCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRenameCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.renameCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRenameCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitRenameCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitKeepCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.keepCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitKeepCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitKeepCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitShowInfo
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced by theshowInfolabeled alternative inEsqlBaseParser.showCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitShowInfoin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitShowInfoin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitEnrichCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.enrichCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitEnrichCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitEnrichCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitChangePointCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.changePointCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitChangePointCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitChangePointCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitTimeSeriesCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.timeSeriesCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitTimeSeriesCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitTimeSeriesCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitLookupCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.lookupCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitLookupCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitLookupCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJoinCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.joinCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJoinCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitJoinCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitJoinCondition
public org.elasticsearch.xpack.esql.parser.LogicalPlanBuilder.JoinInfo visitJoinCondition(EsqlBaseParser.JoinConditionContext ctx) Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.joinCondition().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitJoinConditionin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitJoinConditionin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForkCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.forkCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForkCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitForkCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForkSubQueries
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.forkSubQueries().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForkSubQueriesin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitForkSubQueriesin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitForkSubQuery
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.forkSubQuery().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitForkSubQueryin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitForkSubQueryin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompositeForkSubQuery
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced by thecompositeForkSubQuerylabeled alternative inEsqlBaseParser.forkSubQueryCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompositeForkSubQueryin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitCompositeForkSubQueryin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitFuseCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.fuseCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitFuseCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitFuseCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitRerankCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.rerankCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitRerankCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitRerankCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitCompletionCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.completionCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitCompletionCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitCompletionCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSampleCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.sampleCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSampleCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitSampleCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitPromqlCommand
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.promqlCommand().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitPromqlCommandin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitPromqlCommandin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIdentifier
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.identifier().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIdentifierin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitIdentifierin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
unquoteIdentifier
protected static String unquoteIdentifier(org.antlr.v4.runtime.tree.TerminalNode quotedNode, org.antlr.v4.runtime.tree.TerminalNode unquotedNode) -
unquoteIdString
-
quoteIdString
-
visitClusterString
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.clusterString().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitClusterStringin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitClusterStringin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexString
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.indexString().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitIndexStringin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitIndexStringin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitSelectorString
Description copied from class:EsqlBaseParserBaseVisitorVisit a parse tree produced byEsqlBaseParser.selectorString().The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)onctx.- Specified by:
visitSelectorStringin interfaceEsqlBaseParserVisitor<Object>- Overrides:
visitSelectorStringin classEsqlBaseParserBaseVisitor<Object>- Parameters:
ctx- the parse tree- Returns:
- the visitor result
-
visitIndexPattern
-
validateClusterString
protected static void validateClusterString(String clusterString, EsqlBaseParser.IndexPatternContext ctx) -
visit
-
visitTerminal
-