org.elasticsearch.xpack.esql.parser.EsqlBaseParserVisitor Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of x-pack-esql Show documentation
Show all versions of x-pack-esql Show documentation
The plugin that powers ESQL for Elasticsearch
// ANTLR GENERATED CODE: DO NOT EDIT
package org.elasticsearch.xpack.esql.parser;
import org.antlr.v4.runtime.tree.ParseTreeVisitor;
/**
* This interface defines a complete generic visitor for a parse tree produced
* by {@link EsqlBaseParser}.
*
* @param The return type of the visit operation. Use {@link Void} for
* operations with no return type.
*/
public interface EsqlBaseParserVisitor extends ParseTreeVisitor {
/**
* Visit a parse tree produced by {@link EsqlBaseParser#singleStatement}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSingleStatement(EsqlBaseParser.SingleStatementContext ctx);
/**
* Visit a parse tree produced by the {@code compositeQuery}
* labeled alternative in {@link EsqlBaseParser#query}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCompositeQuery(EsqlBaseParser.CompositeQueryContext ctx);
/**
* Visit a parse tree produced by the {@code singleCommandQuery}
* labeled alternative in {@link EsqlBaseParser#query}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSingleCommandQuery(EsqlBaseParser.SingleCommandQueryContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#sourceCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSourceCommand(EsqlBaseParser.SourceCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#processingCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitProcessingCommand(EsqlBaseParser.ProcessingCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#whereCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitWhereCommand(EsqlBaseParser.WhereCommandContext ctx);
/**
* Visit a parse tree produced by the {@code logicalNot}
* labeled alternative in {@link EsqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLogicalNot(EsqlBaseParser.LogicalNotContext ctx);
/**
* Visit a parse tree produced by the {@code booleanDefault}
* labeled alternative in {@link EsqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanDefault(EsqlBaseParser.BooleanDefaultContext ctx);
/**
* Visit a parse tree produced by the {@code isNull}
* labeled alternative in {@link EsqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIsNull(EsqlBaseParser.IsNullContext ctx);
/**
* Visit a parse tree produced by the {@code regexExpression}
* labeled alternative in {@link EsqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRegexExpression(EsqlBaseParser.RegexExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code logicalIn}
* labeled alternative in {@link EsqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLogicalIn(EsqlBaseParser.LogicalInContext ctx);
/**
* Visit a parse tree produced by the {@code logicalBinary}
* labeled alternative in {@link EsqlBaseParser#booleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLogicalBinary(EsqlBaseParser.LogicalBinaryContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#regexBooleanExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRegexBooleanExpression(EsqlBaseParser.RegexBooleanExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code valueExpressionDefault}
* labeled alternative in {@link EsqlBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitValueExpressionDefault(EsqlBaseParser.ValueExpressionDefaultContext ctx);
/**
* Visit a parse tree produced by the {@code comparison}
* labeled alternative in {@link EsqlBaseParser#valueExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparison(EsqlBaseParser.ComparisonContext ctx);
/**
* Visit a parse tree produced by the {@code operatorExpressionDefault}
* labeled alternative in {@link EsqlBaseParser#operatorExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOperatorExpressionDefault(EsqlBaseParser.OperatorExpressionDefaultContext ctx);
/**
* Visit a parse tree produced by the {@code arithmeticBinary}
* labeled alternative in {@link EsqlBaseParser#operatorExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArithmeticBinary(EsqlBaseParser.ArithmeticBinaryContext ctx);
/**
* Visit a parse tree produced by the {@code arithmeticUnary}
* labeled alternative in {@link EsqlBaseParser#operatorExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitArithmeticUnary(EsqlBaseParser.ArithmeticUnaryContext ctx);
/**
* Visit a parse tree produced by the {@code dereference}
* labeled alternative in {@link EsqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDereference(EsqlBaseParser.DereferenceContext ctx);
/**
* Visit a parse tree produced by the {@code inlineCast}
* labeled alternative in {@link EsqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInlineCast(EsqlBaseParser.InlineCastContext ctx);
/**
* Visit a parse tree produced by the {@code constantDefault}
* labeled alternative in {@link EsqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitConstantDefault(EsqlBaseParser.ConstantDefaultContext ctx);
/**
* Visit a parse tree produced by the {@code parenthesizedExpression}
* labeled alternative in {@link EsqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitParenthesizedExpression(EsqlBaseParser.ParenthesizedExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code function}
* labeled alternative in {@link EsqlBaseParser#primaryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFunction(EsqlBaseParser.FunctionContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#functionExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFunctionExpression(EsqlBaseParser.FunctionExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code toDataType}
* labeled alternative in {@link EsqlBaseParser#dataType}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitToDataType(EsqlBaseParser.ToDataTypeContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#rowCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRowCommand(EsqlBaseParser.RowCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#fields}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFields(EsqlBaseParser.FieldsContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#field}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitField(EsqlBaseParser.FieldContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#fromCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitFromCommand(EsqlBaseParser.FromCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#indexPattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIndexPattern(EsqlBaseParser.IndexPatternContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#clusterString}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitClusterString(EsqlBaseParser.ClusterStringContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#indexString}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIndexString(EsqlBaseParser.IndexStringContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#metadata}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMetadata(EsqlBaseParser.MetadataContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#metadataOption}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMetadataOption(EsqlBaseParser.MetadataOptionContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#deprecated_metadata}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDeprecated_metadata(EsqlBaseParser.Deprecated_metadataContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#metricsCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMetricsCommand(EsqlBaseParser.MetricsCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#evalCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEvalCommand(EsqlBaseParser.EvalCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#statsCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStatsCommand(EsqlBaseParser.StatsCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#inlinestatsCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInlinestatsCommand(EsqlBaseParser.InlinestatsCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#qualifiedName}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedName(EsqlBaseParser.QualifiedNameContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#qualifiedNamePattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedNamePattern(EsqlBaseParser.QualifiedNamePatternContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#qualifiedNamePatterns}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedNamePatterns(EsqlBaseParser.QualifiedNamePatternsContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#identifier}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIdentifier(EsqlBaseParser.IdentifierContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#identifierPattern}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIdentifierPattern(EsqlBaseParser.IdentifierPatternContext ctx);
/**
* Visit a parse tree produced by the {@code nullLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNullLiteral(EsqlBaseParser.NullLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code qualifiedIntegerLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitQualifiedIntegerLiteral(EsqlBaseParser.QualifiedIntegerLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code decimalLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDecimalLiteral(EsqlBaseParser.DecimalLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code integerLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntegerLiteral(EsqlBaseParser.IntegerLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code booleanLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanLiteral(EsqlBaseParser.BooleanLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code inputParams}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInputParams(EsqlBaseParser.InputParamsContext ctx);
/**
* Visit a parse tree produced by the {@code stringLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringLiteral(EsqlBaseParser.StringLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code numericArrayLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumericArrayLiteral(EsqlBaseParser.NumericArrayLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code booleanArrayLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanArrayLiteral(EsqlBaseParser.BooleanArrayLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code stringArrayLiteral}
* labeled alternative in {@link EsqlBaseParser#constant}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitStringArrayLiteral(EsqlBaseParser.StringArrayLiteralContext ctx);
/**
* Visit a parse tree produced by the {@code inputParam}
* labeled alternative in {@link EsqlBaseParser#params}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInputParam(EsqlBaseParser.InputParamContext ctx);
/**
* Visit a parse tree produced by the {@code inputNamedOrPositionalParam}
* labeled alternative in {@link EsqlBaseParser#params}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitInputNamedOrPositionalParam(EsqlBaseParser.InputNamedOrPositionalParamContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#limitCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLimitCommand(EsqlBaseParser.LimitCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#sortCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSortCommand(EsqlBaseParser.SortCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#orderExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitOrderExpression(EsqlBaseParser.OrderExpressionContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#keepCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitKeepCommand(EsqlBaseParser.KeepCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#dropCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDropCommand(EsqlBaseParser.DropCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#renameCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRenameCommand(EsqlBaseParser.RenameCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#renameClause}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitRenameClause(EsqlBaseParser.RenameClauseContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#dissectCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDissectCommand(EsqlBaseParser.DissectCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#grokCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitGrokCommand(EsqlBaseParser.GrokCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#mvExpandCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMvExpandCommand(EsqlBaseParser.MvExpandCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#commandOptions}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCommandOptions(EsqlBaseParser.CommandOptionsContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#commandOption}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitCommandOption(EsqlBaseParser.CommandOptionContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#booleanValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitBooleanValue(EsqlBaseParser.BooleanValueContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#numericValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitNumericValue(EsqlBaseParser.NumericValueContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#decimalValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitDecimalValue(EsqlBaseParser.DecimalValueContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#integerValue}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitIntegerValue(EsqlBaseParser.IntegerValueContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#string}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitString(EsqlBaseParser.StringContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#comparisonOperator}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitComparisonOperator(EsqlBaseParser.ComparisonOperatorContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#explainCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitExplainCommand(EsqlBaseParser.ExplainCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#subqueryExpression}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitSubqueryExpression(EsqlBaseParser.SubqueryExpressionContext ctx);
/**
* Visit a parse tree produced by the {@code showInfo}
* labeled alternative in {@link EsqlBaseParser#showCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitShowInfo(EsqlBaseParser.ShowInfoContext ctx);
/**
* Visit a parse tree produced by the {@code metaFunctions}
* labeled alternative in {@link EsqlBaseParser#metaCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitMetaFunctions(EsqlBaseParser.MetaFunctionsContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#enrichCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnrichCommand(EsqlBaseParser.EnrichCommandContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#enrichWithClause}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitEnrichWithClause(EsqlBaseParser.EnrichWithClauseContext ctx);
/**
* Visit a parse tree produced by {@link EsqlBaseParser#lookupCommand}.
* @param ctx the parse tree
* @return the visitor result
*/
T visitLookupCommand(EsqlBaseParser.LookupCommandContext ctx);
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy