Class SemanticQueryBuilder<R>
- java.lang.Object
-
- org.antlr.v4.runtime.tree.AbstractParseTreeVisitor<T>
-
- org.hibernate.grammars.hql.HqlParserBaseVisitor<Object>
-
- org.hibernate.query.hql.internal.SemanticQueryBuilder<R>
-
- All Implemented Interfaces:
org.antlr.v4.runtime.tree.ParseTreeVisitor<Object>
,HqlParserVisitor<Object>
,SqmCreationState
public class SemanticQueryBuilder<R> extends HqlParserBaseVisitor<Object> implements SqmCreationState
Responsible for producing an SQM using visitation over an HQL parse tree generated by ANTLR viaHqlParseTreeBuilder
.
-
-
Constructor Summary
Constructors Constructor Description SemanticQueryBuilder(Class<R> expectedResultType, SqmCreationOptions creationOptions, SqmCreationContext creationContext)
-
Method Summary
-
Methods inherited from class org.hibernate.grammars.hql.HqlParserBaseVisitor
visitAggregateFunction, visitAssignment, visitBarePrimaryExpression, visitBooleanLiteral, visitCaseList, visitCaseOtherwise, visitCastTargetType, visitCteAttributes, visitCycleClause, visitDay, visitEntityTypeReference, visitExplicitTupleInList, visitExpressionOrPredicate, visitExtractField, visitFilterClause, visitFrameClause, visitFrameEnd, visitFrameExclusion, visitFrameStart, visitFunction, visitGeneralizedLiteralText, visitGeneralizedLiteralType, visitGenericTemporalLiteralText, visitHour, visitInstantiationArgumentExpression, visitInstantiationArguments, visitInstantiationTarget, visitJoinPath, visitJoinRestriction, visitJoinSubquery, visitJoinType, visitJpaNonstandardFunctionName, visitLiteral, visitMinute, visitMonth, visitNthSideClause, visitNullsClause, visitNullsPrecedence, visitNumericLiteral, visitOffset, visitOffsetWithMinutes, visitOnOverflowClause, visitOrderByFragment, visitOverClause, visitOverlayFunctionLengthArgument, visitOverlayFunctionReplacementArgument, visitOverlayFunctionStartArgument, visitOverlayFunctionStringArgument, visitPadLength, visitParamInList, visitPartitionClause, visitPathContinuation, visitPersistentCollectionReferenceInList, visitPositionFunctionPatternArgument, visitPositionFunctionStringArgument, visitQueryOrder, visitSearchClause, visitSearchedCaseWhen, visitSearchSpecification, visitSearchSpecifications, visitSecond, visitSelectExpression, visitSelectionList, visitSetClause, visitSimpleCaseWhen, visitSimplePathElement, visitSortDirection, visitStandardFunction, visitSubqueryInList, visitSubstringFunctionLengthArgument, visitSubstringFunctionStartArgument, visitTargetFields, visitTemporalLiteral, visitValues, visitValuesList, visitWithinGroupClause, visitYear
-
Methods inherited from class org.antlr.v4.runtime.tree.AbstractParseTreeVisitor
aggregateResult, defaultResult, shouldVisitNextChild, visit, visitChildren, visitErrorNode
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.antlr.v4.runtime.tree.ParseTreeVisitor
visit, visitChildren, visitErrorNode
-
Methods inherited from interface org.hibernate.query.hql.spi.SqmCreationState
getCurrentProcessingState
-
-
-
-
Constructor Detail
-
SemanticQueryBuilder
public SemanticQueryBuilder(Class<R> expectedResultType, SqmCreationOptions creationOptions, SqmCreationContext creationContext)
-
-
Method Detail
-
buildSemanticModel
public static <R> SqmStatement<R> buildSemanticModel(HqlParser.StatementContext hqlParseTree, Class<R> expectedResultType, SqmCreationOptions creationOptions, SqmCreationContext creationContext)
Main entry point into analysis of HQL/JPQL parse tree - producing a semantic model of the query.
-
getCreationContext
public SqmCreationContext getCreationContext()
Description copied from interface:SqmCreationState
Access to the context of the creation- Specified by:
getCreationContext
in interfaceSqmCreationState
-
getCreationOptions
public SqmCreationOptions getCreationOptions()
Description copied from interface:SqmCreationState
What options should be applied to the creation- Specified by:
getCreationOptions
in interfaceSqmCreationState
-
getProcessingStateStack
public Stack<SqmCreationProcessingState> getProcessingStateStack()
Description copied from interface:SqmCreationState
Access to the stack of current creation processing state. New items are pushed to this stack as we cross certain boundaries while creating the SQM. Generally these boundaries are specific to top-level statements and sub-queries.- Specified by:
getProcessingStateStack
in interfaceSqmCreationState
-
visitStatement
public SqmStatement<R> visitStatement(HqlParser.StatementContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.statement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitStatement
in interfaceHqlParserVisitor<R>
- Overrides:
visitStatement
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSelectStatement
public SqmSelectStatement<R> visitSelectStatement(HqlParser.SelectStatementContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.selectStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSelectStatement
in interfaceHqlParserVisitor<R>
- Overrides:
visitSelectStatement
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTargetEntity
public SqmRoot<R> visitTargetEntity(HqlParser.TargetEntityContext dmlTargetContext)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.targetEntity()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTargetEntity
in interfaceHqlParserVisitor<R>
- Overrides:
visitTargetEntity
in classHqlParserBaseVisitor<Object>
- Parameters:
dmlTargetContext
- the parse tree- Returns:
- the visitor result
-
visitInsertStatement
public SqmInsertStatement<R> visitInsertStatement(HqlParser.InsertStatementContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.insertStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInsertStatement
in interfaceHqlParserVisitor<R>
- Overrides:
visitInsertStatement
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUpdateStatement
public SqmUpdateStatement<R> visitUpdateStatement(HqlParser.UpdateStatementContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.updateStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUpdateStatement
in interfaceHqlParserVisitor<R>
- Overrides:
visitUpdateStatement
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDeleteStatement
public SqmDeleteStatement<R> visitDeleteStatement(HqlParser.DeleteStatementContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.deleteStatement()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDeleteStatement
in interfaceHqlParserVisitor<R>
- Overrides:
visitDeleteStatement
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWithClause
public Object visitWithClause(HqlParser.WithClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.withClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWithClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitWithClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCte
public Object visitCte(HqlParser.CteContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.cte()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCte
in interfaceHqlParserVisitor<R>
- Overrides:
visitCte
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleQueryGroup
public SqmQueryPart<Object> visitSimpleQueryGroup(HqlParser.SimpleQueryGroupContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theSimpleQueryGroup
labeled alternative inHqlParser.queryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimpleQueryGroup
in interfaceHqlParserVisitor<R>
- Overrides:
visitSimpleQueryGroup
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQuerySpecExpression
public SqmQueryPart<?> visitQuerySpecExpression(HqlParser.QuerySpecExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theQuerySpecExpression
labeled alternative inHqlParser.orderedQuery()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuerySpecExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitQuerySpecExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNestedQueryExpression
public SqmQueryPart<Object> visitNestedQueryExpression(HqlParser.NestedQueryExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theNestedQueryExpression
labeled alternative inHqlParser.orderedQuery()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNestedQueryExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitNestedQueryExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetQueryGroup
public SqmQueryGroup<Object> visitSetQueryGroup(HqlParser.SetQueryGroupContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theSetQueryGroup
labeled alternative inHqlParser.queryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetQueryGroup
in interfaceHqlParserVisitor<R>
- Overrides:
visitSetQueryGroup
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSetOperator
public SetOperator visitSetOperator(HqlParser.SetOperatorContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.setOperator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSetOperator
in interfaceHqlParserVisitor<R>
- Overrides:
visitSetOperator
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitQueryOrder
protected void visitQueryOrder(SqmQueryPart<?> sqmQueryPart, HqlParser.QueryOrderContext ctx)
-
visitQuery
public SqmQuerySpec<?> visitQuery(HqlParser.QueryContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.query()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitQuery
in interfaceHqlParserVisitor<R>
- Overrides:
visitQuery
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
buildInferredSelectClause
protected SqmSelectClause buildInferredSelectClause(SqmFromClause fromClause)
-
visitSelectClause
public SqmSelectClause visitSelectClause(HqlParser.SelectClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.selectClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSelectClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitSelectClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSelection
public SqmSelection<?> visitSelection(HqlParser.SelectionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.selection()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSelection
in interfaceHqlParserVisitor<R>
- Overrides:
visitSelection
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstantiation
public SqmDynamicInstantiation<?> visitInstantiation(HqlParser.InstantiationContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.instantiation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstantiation
in interfaceHqlParserVisitor<R>
- Overrides:
visitInstantiation
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstantiationArgument
public SqmDynamicInstantiationArgument<?> visitInstantiationArgument(HqlParser.InstantiationArgumentContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.instantiationArgument()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstantiationArgument
in interfaceHqlParserVisitor<R>
- Overrides:
visitInstantiationArgument
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJpaSelectObjectSyntax
public SqmPath<?> visitJpaSelectObjectSyntax(HqlParser.JpaSelectObjectSyntaxContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.jpaSelectObjectSyntax()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJpaSelectObjectSyntax
in interfaceHqlParserVisitor<R>
- Overrides:
visitJpaSelectObjectSyntax
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGroupByClause
public List<SqmExpression<?>> visitGroupByClause(HqlParser.GroupByClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.groupByClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGroupByClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitGroupByClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGroupByExpression
public SqmExpression<?> visitGroupByExpression(HqlParser.GroupByExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.groupByExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGroupByExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitGroupByExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitHavingClause
public SqmPredicate visitHavingClause(HqlParser.HavingClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.havingClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitHavingClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitHavingClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrderByClause
public SqmOrderByClause visitOrderByClause(HqlParser.OrderByClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.orderByClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrderByClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitOrderByClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSortSpecification
public SqmSortSpecification visitSortSpecification(HqlParser.SortSpecificationContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.sortSpecification()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSortSpecification
in interfaceHqlParserVisitor<R>
- Overrides:
visitSortSpecification
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSortExpression
public SqmExpression<?> visitSortExpression(HqlParser.SortExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.sortExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSortExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitSortExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSortExpression
public SqmExpression<?> visitSortExpression(HqlParser.SortExpressionContext ctx, boolean allowPositionalOrAliases)
-
visitLimitClause
public SqmExpression<?> visitLimitClause(HqlParser.LimitClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.limitClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLimitClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitLimitClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOffsetClause
public SqmExpression<?> visitOffsetClause(HqlParser.OffsetClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.offsetClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOffsetClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitOffsetClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFetchClause
public SqmExpression<?> visitFetchClause(HqlParser.FetchClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.fetchClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFetchClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitFetchClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSyntacticPathExpression
public Object visitSyntacticPathExpression(HqlParser.SyntacticPathExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theSyntacticPathExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSyntacticPathExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitSyntacticPathExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGeneralPathExpression
public Object visitGeneralPathExpression(HqlParser.GeneralPathExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theGeneralPathExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGeneralPathExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitGeneralPathExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFunctionExpression
public SqmExpression<?> visitFunctionExpression(HqlParser.FunctionExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theFunctionExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFunctionExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitFunctionExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameterOrIntegerLiteral
public SqmExpression<?> visitParameterOrIntegerLiteral(HqlParser.ParameterOrIntegerLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.parameterOrIntegerLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParameterOrIntegerLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitParameterOrIntegerLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameterOrNumberLiteral
public SqmExpression<?> visitParameterOrNumberLiteral(HqlParser.ParameterOrNumberLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.parameterOrNumberLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParameterOrNumberLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitParameterOrNumberLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
getEntityName
public String getEntityName(HqlParser.EntityNameContext parserEntityName)
-
visitIdentifier
public String visitIdentifier(HqlParser.IdentifierContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.identifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIdentifier
in interfaceHqlParserVisitor<R>
- Overrides:
visitIdentifier
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNakedIdentifier
public String visitNakedIdentifier(HqlParser.NakedIdentifierContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.nakedIdentifier()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNakedIdentifier
in interfaceHqlParserVisitor<R>
- Overrides:
visitNakedIdentifier
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityName
public EntityDomainType<?> visitEntityName(HqlParser.EntityNameContext parserEntityName)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.entityName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityName
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityName
in classHqlParserBaseVisitor<Object>
- Parameters:
parserEntityName
- the parse tree- Returns:
- the visitor result
-
visitFromClause
public SqmFromClause visitFromClause(HqlParser.FromClauseContext parserFromClause)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.fromClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitFromClause
in classHqlParserBaseVisitor<Object>
- Parameters:
parserFromClause
- the parse tree- Returns:
- the visitor result
-
visitEntityWithJoins
public SqmRoot<?> visitEntityWithJoins(HqlParser.EntityWithJoinsContext parserSpace)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.entityWithJoins()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityWithJoins
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityWithJoins
in classHqlParserBaseVisitor<Object>
- Parameters:
parserSpace
- the parse tree- Returns:
- the visitor result
-
visitRootEntity
public SqmRoot<?> visitRootEntity(HqlParser.RootEntityContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theRootEntity
labeled alternative inHqlParser.fromRoot()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRootEntity
in interfaceHqlParserVisitor<R>
- Overrides:
visitRootEntity
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
findCteStatement
public SqmCteStatement<?> findCteStatement(String name)
- Specified by:
findCteStatement
in interfaceSqmCreationState
-
visitRootSubquery
public SqmRoot<?> visitRootSubquery(HqlParser.RootSubqueryContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theRootSubquery
labeled alternative inHqlParser.fromRoot()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRootSubquery
in interfaceHqlParserVisitor<R>
- Overrides:
visitRootSubquery
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitVariable
public String visitVariable(HqlParser.VariableContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.variable()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitVariable
in interfaceHqlParserVisitor<R>
- Overrides:
visitVariable
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCrossJoin
public final SqmCrossJoin<?> visitCrossJoin(HqlParser.CrossJoinContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.crossJoin()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCrossJoin
in interfaceHqlParserVisitor<R>
- Overrides:
visitCrossJoin
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJoin
public final SqmJoin<?,?> visitJoin(HqlParser.JoinContext parserJoin)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.join()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJoin
in interfaceHqlParserVisitor<R>
- Overrides:
visitJoin
in classHqlParserBaseVisitor<Object>
- Parameters:
parserJoin
- the parse tree- Returns:
- the visitor result
-
consumeJoin
protected <X> void consumeJoin(HqlParser.JoinContext parserJoin, SqmRoot<X> sqmRoot)
-
visitJpaCollectionJoin
public SqmJoin<?,?> visitJpaCollectionJoin(HqlParser.JpaCollectionJoinContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.jpaCollectionJoin()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJpaCollectionJoin
in interfaceHqlParserVisitor<R>
- Overrides:
visitJpaCollectionJoin
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
consumeJpaCollectionJoin
protected void consumeJpaCollectionJoin(HqlParser.JpaCollectionJoinContext ctx, SqmRoot<?> sqmRoot)
-
visitWhereClause
public SqmPredicate visitWhereClause(HqlParser.WhereClauseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.whereClause()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWhereClause
in interfaceHqlParserVisitor<R>
- Overrides:
visitWhereClause
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGroupedPredicate
public SqmGroupedPredicate visitGroupedPredicate(HqlParser.GroupedPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theGroupedPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGroupedPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitGroupedPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAndPredicate
public SqmPredicate visitAndPredicate(HqlParser.AndPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theAndPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAndPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitAndPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOrPredicate
public SqmPredicate visitOrPredicate(HqlParser.OrPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theOrPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOrPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitOrPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNegatedPredicate
public SqmPredicate visitNegatedPredicate(HqlParser.NegatedPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theNegatedPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNegatedPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitNegatedPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBetweenPredicate
public SqmBetweenPredicate visitBetweenPredicate(HqlParser.BetweenPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theBetweenPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBetweenPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitBetweenPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIsNullPredicate
public SqmNullnessPredicate visitIsNullPredicate(HqlParser.IsNullPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theIsNullPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIsNullPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitIsNullPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIsEmptyPredicate
public SqmEmptinessPredicate visitIsEmptyPredicate(HqlParser.IsEmptyPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theIsEmptyPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIsEmptyPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitIsEmptyPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparisonOperator
public Object visitComparisonOperator(HqlParser.ComparisonOperatorContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.comparisonOperator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparisonOperator
in interfaceHqlParserVisitor<R>
- Overrides:
visitComparisonOperator
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitComparisonPredicate
public SqmPredicate visitComparisonPredicate(HqlParser.ComparisonPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theComparisonPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitComparisonPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitComparisonPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLikePredicate
public SqmPredicate visitLikePredicate(HqlParser.LikePredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theLikePredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLikePredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitLikePredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLikeEscape
public Object visitLikeEscape(HqlParser.LikeEscapeContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.likeEscape()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLikeEscape
in interfaceHqlParserVisitor<R>
- Overrides:
visitLikeEscape
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMemberOfPredicate
public SqmPredicate visitMemberOfPredicate(HqlParser.MemberOfPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theMemberOfPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMemberOfPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitMemberOfPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInPredicate
public SqmPredicate visitInPredicate(HqlParser.InPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theInPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitInPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExistsCollectionPartPredicate
public SqmPredicate visitExistsCollectionPartPredicate(HqlParser.ExistsCollectionPartPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theExistsCollectionPartPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExistsCollectionPartPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitExistsCollectionPartPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExistsPredicate
public SqmPredicate visitExistsPredicate(HqlParser.ExistsPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theExistsPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExistsPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitExistsPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBooleanExpressionPredicate
public SqmPredicate visitBooleanExpressionPredicate(HqlParser.BooleanExpressionPredicateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theBooleanExpressionPredicate
labeled alternative inHqlParser.predicate()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBooleanExpressionPredicate
in interfaceHqlParserVisitor<R>
- Overrides:
visitBooleanExpressionPredicate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityTypeExpression
public Object visitEntityTypeExpression(HqlParser.EntityTypeExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theEntityTypeExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityTypeExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityTypeExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityIdExpression
public SqmExpression<?> visitEntityIdExpression(HqlParser.EntityIdExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theEntityIdExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityIdExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityIdExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityIdReference
public SqmPath<?> visitEntityIdReference(HqlParser.EntityIdReferenceContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.entityIdReference()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityIdReference
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityIdReference
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityVersionExpression
public SqmExpression<?> visitEntityVersionExpression(HqlParser.EntityVersionExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theEntityVersionExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityVersionExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityVersionExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityVersionReference
public SqmPath<?> visitEntityVersionReference(HqlParser.EntityVersionReferenceContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.entityVersionReference()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityVersionReference
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityVersionReference
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityNaturalIdExpression
public SqmPath<?> visitEntityNaturalIdExpression(HqlParser.EntityNaturalIdExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theEntityNaturalIdExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityNaturalIdExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityNaturalIdExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEntityNaturalIdReference
public SqmPath<?> visitEntityNaturalIdReference(HqlParser.EntityNaturalIdReferenceContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.entityNaturalIdReference()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEntityNaturalIdReference
in interfaceHqlParserVisitor<R>
- Overrides:
visitEntityNaturalIdReference
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitToOneFkExpression
public Object visitToOneFkExpression(HqlParser.ToOneFkExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theToOneFkExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitToOneFkExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitToOneFkExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitToOneFkReference
public SqmFkExpression<?> visitToOneFkReference(HqlParser.ToOneFkReferenceContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.toOneFkReference()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitToOneFkReference
in interfaceHqlParserVisitor<R>
- Overrides:
visitToOneFkReference
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapEntrySelection
public SqmMapEntryReference<?,?> visitMapEntrySelection(HqlParser.MapEntrySelectionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.mapEntrySelection()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMapEntrySelection
in interfaceHqlParserVisitor<R>
- Overrides:
visitMapEntrySelection
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitConcatenationExpression
public SqmExpression<?> visitConcatenationExpression(HqlParser.ConcatenationExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theConcatenationExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitConcatenationExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitConcatenationExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSignOperator
public Object visitSignOperator(HqlParser.SignOperatorContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.signOperator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSignOperator
in interfaceHqlParserVisitor<R>
- Overrides:
visitSignOperator
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAdditiveOperator
public Object visitAdditiveOperator(HqlParser.AdditiveOperatorContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.additiveOperator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAdditiveOperator
in interfaceHqlParserVisitor<R>
- Overrides:
visitAdditiveOperator
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiplicativeOperator
public Object visitMultiplicativeOperator(HqlParser.MultiplicativeOperatorContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.multiplicativeOperator()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultiplicativeOperator
in interfaceHqlParserVisitor<R>
- Overrides:
visitMultiplicativeOperator
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAdditionExpression
public Object visitAdditionExpression(HqlParser.AdditionExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theAdditionExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAdditionExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitAdditionExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMultiplicationExpression
public Object visitMultiplicationExpression(HqlParser.MultiplicationExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theMultiplicationExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMultiplicationExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitMultiplicationExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitToDurationExpression
public Object visitToDurationExpression(HqlParser.ToDurationExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theToDurationExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitToDurationExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitToDurationExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFromDurationExpression
public Object visitFromDurationExpression(HqlParser.FromDurationExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theFromDurationExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFromDurationExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitFromDurationExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryExpression
public SqmUnaryOperation<?> visitUnaryExpression(HqlParser.UnaryExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theUnaryExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitUnaryExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGroupedExpression
public Object visitGroupedExpression(HqlParser.GroupedExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theGroupedExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGroupedExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitGroupedExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCollateFunction
public Object visitCollateFunction(HqlParser.CollateFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.collateFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCollateFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitCollateFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCollation
public Object visitCollation(HqlParser.CollationContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.collation()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCollation
in interfaceHqlParserVisitor<R>
- Overrides:
visitCollation
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTupleExpression
public Object visitTupleExpression(HqlParser.TupleExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theTupleExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTupleExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitTupleExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCaseExpression
public Object visitCaseExpression(HqlParser.CaseExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theCaseExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCaseExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitCaseExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSimpleCaseList
public SqmCaseSimple<?,?> visitSimpleCaseList(HqlParser.SimpleCaseListContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.simpleCaseList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimpleCaseList
in interfaceHqlParserVisitor<R>
- Overrides:
visitSimpleCaseList
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSearchedCaseList
public SqmCaseSearched<?> visitSearchedCaseList(HqlParser.SearchedCaseListContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.searchedCaseList()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSearchedCaseList
in interfaceHqlParserVisitor<R>
- Overrides:
visitSearchedCaseList
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCurrentDateFunction
public SqmExpression<?> visitCurrentDateFunction(HqlParser.CurrentDateFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.currentDateFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCurrentDateFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitCurrentDateFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCurrentTimeFunction
public SqmExpression<?> visitCurrentTimeFunction(HqlParser.CurrentTimeFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.currentTimeFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCurrentTimeFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitCurrentTimeFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCurrentTimestampFunction
public SqmExpression<?> visitCurrentTimestampFunction(HqlParser.CurrentTimestampFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.currentTimestampFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCurrentTimestampFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitCurrentTimestampFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitInstantFunction
public SqmExpression<?> visitInstantFunction(HqlParser.InstantFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.instantFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitInstantFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitInstantFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalDateFunction
public SqmExpression<?> visitLocalDateFunction(HqlParser.LocalDateFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.localDateFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalDateFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitLocalDateFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalTimeFunction
public SqmExpression<?> visitLocalTimeFunction(HqlParser.LocalTimeFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.localTimeFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalTimeFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitLocalTimeFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalDateTimeFunction
public SqmExpression<?> visitLocalDateTimeFunction(HqlParser.LocalDateTimeFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.localDateTimeFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalDateTimeFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitLocalDateTimeFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOffsetDateTimeFunction
public SqmExpression<?> visitOffsetDateTimeFunction(HqlParser.OffsetDateTimeFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.offsetDateTimeFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOffsetDateTimeFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitOffsetDateTimeFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLiteralExpression
public SqmExpression<?> visitLiteralExpression(HqlParser.LiteralExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theLiteralExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLiteralExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitLiteralExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitUnaryNumericLiteralExpression
public SqmExpression<?> visitUnaryNumericLiteralExpression(HqlParser.UnaryNumericLiteralExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theUnaryNumericLiteralExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitUnaryNumericLiteralExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitUnaryNumericLiteralExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitBinaryLiteral
public Object visitBinaryLiteral(HqlParser.BinaryLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.binaryLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitBinaryLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitBinaryLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGeneralizedLiteral
public Object visitGeneralizedLiteral(HqlParser.GeneralizedLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.generalizedLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGeneralizedLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitGeneralizedLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTerminal
public SqmExpression<?> visitTerminal(org.antlr.v4.runtime.tree.TerminalNode node)
-
visitDateTimeLiteral
public Object visitDateTimeLiteral(HqlParser.DateTimeLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.dateTimeLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDateTimeLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitDateTimeLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalDateTimeLiteral
public Object visitLocalDateTimeLiteral(HqlParser.LocalDateTimeLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.localDateTimeLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalDateTimeLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitLocalDateTimeLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitZonedDateTimeLiteral
public Object visitZonedDateTimeLiteral(HqlParser.ZonedDateTimeLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.zonedDateTimeLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitZonedDateTimeLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitZonedDateTimeLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOffsetDateTimeLiteral
public Object visitOffsetDateTimeLiteral(HqlParser.OffsetDateTimeLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.offsetDateTimeLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOffsetDateTimeLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitOffsetDateTimeLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateLiteral
public Object visitDateLiteral(HqlParser.DateLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.dateLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDateLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitDateLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTimeLiteral
public Object visitTimeLiteral(HqlParser.TimeLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.timeLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTimeLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitTimeLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJdbcTimestampLiteral
public Object visitJdbcTimestampLiteral(HqlParser.JdbcTimestampLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.jdbcTimestampLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJdbcTimestampLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitJdbcTimestampLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJdbcDateLiteral
public Object visitJdbcDateLiteral(HqlParser.JdbcDateLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.jdbcDateLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJdbcDateLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitJdbcDateLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJdbcTimeLiteral
public Object visitJdbcTimeLiteral(HqlParser.JdbcTimeLiteralContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.jdbcTimeLiteral()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJdbcTimeLiteral
in interfaceHqlParserVisitor<R>
- Overrides:
visitJdbcTimeLiteral
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateTime
public Object visitDateTime(HqlParser.DateTimeContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.dateTime()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDateTime
in interfaceHqlParserVisitor<R>
- Overrides:
visitDateTime
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitLocalDateTime
public Object visitLocalDateTime(HqlParser.LocalDateTimeContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.localDateTime()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitLocalDateTime
in interfaceHqlParserVisitor<R>
- Overrides:
visitLocalDateTime
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOffsetDateTime
public Object visitOffsetDateTime(HqlParser.OffsetDateTimeContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.offsetDateTime()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOffsetDateTime
in interfaceHqlParserVisitor<R>
- Overrides:
visitOffsetDateTime
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOffsetDateTimeWithMinutes
public Object visitOffsetDateTimeWithMinutes(HqlParser.OffsetDateTimeWithMinutesContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.offsetDateTimeWithMinutes()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOffsetDateTimeWithMinutes
in interfaceHqlParserVisitor<R>
- Overrides:
visitOffsetDateTimeWithMinutes
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitZonedDateTime
public Object visitZonedDateTime(HqlParser.ZonedDateTimeContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.zonedDateTime()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitZonedDateTime
in interfaceHqlParserVisitor<R>
- Overrides:
visitZonedDateTime
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitZoneId
public ZoneId visitZoneId(HqlParser.ZoneIdContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.zoneId()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitZoneId
in interfaceHqlParserVisitor<R>
- Overrides:
visitZoneId
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDate
public Object visitDate(HqlParser.DateContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.date()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDate
in interfaceHqlParserVisitor<R>
- Overrides:
visitDate
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTime
public Object visitTime(HqlParser.TimeContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.time()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTime
in interfaceHqlParserVisitor<R>
- Overrides:
visitTime
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitParameterExpression
public Object visitParameterExpression(HqlParser.ParameterExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theParameterExpression
labeled alternative inHqlParser.primaryExpression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitParameterExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitParameterExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitNamedParameter
public SqmNamedParameter<?> visitNamedParameter(HqlParser.NamedParameterContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theNamedParameter
labeled alternative inHqlParser.parameter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitNamedParameter
in interfaceHqlParserVisitor<R>
- Overrides:
visitNamedParameter
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPositionalParameter
public SqmPositionalParameter<?> visitPositionalParameter(HqlParser.PositionalParameterContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by thePositionalParameter
labeled alternative inHqlParser.parameter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPositionalParameter
in interfaceHqlParserVisitor<R>
- Overrides:
visitPositionalParameter
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitJpaNonstandardFunction
public SqmExpression<?> visitJpaNonstandardFunction(HqlParser.JpaNonstandardFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.jpaNonstandardFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitJpaNonstandardFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitJpaNonstandardFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericFunctionName
public String visitGenericFunctionName(HqlParser.GenericFunctionNameContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.genericFunctionName()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGenericFunctionName
in interfaceHqlParserVisitor<R>
- Overrides:
visitGenericFunctionName
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericFunction
public Object visitGenericFunction(HqlParser.GenericFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.genericFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGenericFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitGenericFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitListaggFunction
public Object visitListaggFunction(HqlParser.ListaggFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.listaggFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitListaggFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitListaggFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGenericFunctionArguments
public List<SqmTypedNode<?>> visitGenericFunctionArguments(HqlParser.GenericFunctionArgumentsContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.genericFunctionArguments()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGenericFunctionArguments
in interfaceHqlParserVisitor<R>
- Overrides:
visitGenericFunctionArguments
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDatetimeField
public SqmExtractUnit<?> visitDatetimeField(HqlParser.DatetimeFieldContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.datetimeField()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDatetimeField
in interfaceHqlParserVisitor<R>
- Overrides:
visitDatetimeField
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDayField
public Object visitDayField(HqlParser.DayFieldContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.dayField()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDayField
in interfaceHqlParserVisitor<R>
- Overrides:
visitDayField
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitWeekField
public Object visitWeekField(HqlParser.WeekFieldContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.weekField()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitWeekField
in interfaceHqlParserVisitor<R>
- Overrides:
visitWeekField
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitDateOrTimeField
public Object visitDateOrTimeField(HqlParser.DateOrTimeFieldContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.dateOrTimeField()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitDateOrTimeField
in interfaceHqlParserVisitor<R>
- Overrides:
visitDateOrTimeField
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTimeZoneField
public Object visitTimeZoneField(HqlParser.TimeZoneFieldContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.timeZoneField()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTimeZoneField
in interfaceHqlParserVisitor<R>
- Overrides:
visitTimeZoneField
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitExtractFunction
public Object visitExtractFunction(HqlParser.ExtractFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.extractFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitExtractFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitExtractFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTruncFunction
public Object visitTruncFunction(HqlParser.TruncFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.truncFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTruncFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitTruncFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormat
public Object visitFormat(HqlParser.FormatContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.format()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormat
in interfaceHqlParserVisitor<R>
- Overrides:
visitFormat
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitFormatFunction
public SqmExpression<?> visitFormatFunction(HqlParser.FormatFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.formatFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitFormatFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitFormatFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastFunction
public SqmExpression<?> visitCastFunction(HqlParser.CastFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.castFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCastFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitCastFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCastTarget
public SqmCastTarget<?> visitCastTarget(HqlParser.CastTargetContext castTargetContext)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.castTarget()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCastTarget
in interfaceHqlParserVisitor<R>
- Overrides:
visitCastTarget
in classHqlParserBaseVisitor<Object>
- Parameters:
castTargetContext
- the parse tree- Returns:
- the visitor result
-
visitPositionFunction
public Object visitPositionFunction(HqlParser.PositionFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.positionFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPositionFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitPositionFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitOverlayFunction
public Object visitOverlayFunction(HqlParser.OverlayFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.overlayFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitOverlayFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitOverlayFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitEveryFunction
public SqmExpression<?> visitEveryFunction(HqlParser.EveryFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.everyFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitEveryFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitEveryFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitAnyFunction
public SqmExpression<?> visitAnyFunction(HqlParser.AnyFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.anyFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitAnyFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitAnyFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCube
public SqmExpression<?> visitCube(HqlParser.CubeContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.cube()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCube
in interfaceHqlParserVisitor<R>
- Overrides:
visitCube
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitRollup
public SqmExpression<?> visitRollup(HqlParser.RollupContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.rollup()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitRollup
in interfaceHqlParserVisitor<R>
- Overrides:
visitRollup
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSubstringFunction
public SqmExpression<?> visitSubstringFunction(HqlParser.SubstringFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.substringFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSubstringFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitSubstringFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPadFunction
public SqmExpression<?> visitPadFunction(HqlParser.PadFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.padFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPadFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitPadFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPadSpecification
public SqmTrimSpecification visitPadSpecification(HqlParser.PadSpecificationContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.padSpecification()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPadSpecification
in interfaceHqlParserVisitor<R>
- Overrides:
visitPadSpecification
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPadCharacter
public SqmLiteral<Character> visitPadCharacter(HqlParser.PadCharacterContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.padCharacter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPadCharacter
in interfaceHqlParserVisitor<R>
- Overrides:
visitPadCharacter
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTrimFunction
public SqmExpression<?> visitTrimFunction(HqlParser.TrimFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.trimFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTrimFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitTrimFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTrimSpecification
public SqmTrimSpecification visitTrimSpecification(HqlParser.TrimSpecificationContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.trimSpecification()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTrimSpecification
in interfaceHqlParserVisitor<R>
- Overrides:
visitTrimSpecification
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTrimCharacter
public SqmLiteral<Character> visitTrimCharacter(HqlParser.TrimCharacterContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.trimCharacter()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTrimCharacter
in interfaceHqlParserVisitor<R>
- Overrides:
visitTrimCharacter
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCollectionSizeFunction
public SqmCollectionSize visitCollectionSizeFunction(HqlParser.CollectionSizeFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.collectionSizeFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCollectionSizeFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitCollectionSizeFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCollectionFunctionMisuse
public SqmPath<?> visitCollectionFunctionMisuse(HqlParser.CollectionFunctionMisuseContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.collectionFunctionMisuse()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCollectionFunctionMisuse
in interfaceHqlParserVisitor<R>
- Overrides:
visitCollectionFunctionMisuse
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitElementAggregateFunction
public SqmElementAggregateFunction<?> visitElementAggregateFunction(HqlParser.ElementAggregateFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.elementAggregateFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitElementAggregateFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitElementAggregateFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexAggregateFunction
public SqmIndexAggregateFunction<?> visitIndexAggregateFunction(HqlParser.IndexAggregateFunctionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.indexAggregateFunction()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIndexAggregateFunction
in interfaceHqlParserVisitor<R>
- Overrides:
visitIndexAggregateFunction
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSubqueryExpression
public SqmSubQuery<?> visitSubqueryExpression(HqlParser.SubqueryExpressionContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced by theSubqueryExpression
labeled alternative inHqlParser.expression()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSubqueryExpression
in interfaceHqlParserVisitor<R>
- Overrides:
visitSubqueryExpression
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSubquery
public SqmSubQuery<?> visitSubquery(HqlParser.SubqueryContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.subquery()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSubquery
in interfaceHqlParserVisitor<R>
- Overrides:
visitSubquery
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitPath
public SemanticPathPart visitPath(HqlParser.PathContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.path()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitPath
in interfaceHqlParserVisitor<R>
- Overrides:
visitPath
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitGeneralPathFragment
public SemanticPathPart visitGeneralPathFragment(HqlParser.GeneralPathFragmentContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.generalPathFragment()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitGeneralPathFragment
in interfaceHqlParserVisitor<R>
- Overrides:
visitGeneralPathFragment
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitSyntacticDomainPath
public SemanticPathPart visitSyntacticDomainPath(HqlParser.SyntacticDomainPathContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.syntacticDomainPath()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSyntacticDomainPath
in interfaceHqlParserVisitor<R>
- Overrides:
visitSyntacticDomainPath
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitIndexedPathAccessFragment
public SemanticPathPart visitIndexedPathAccessFragment(HqlParser.IndexedPathAccessFragmentContext idxCtx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.indexedPathAccessFragment()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitIndexedPathAccessFragment
in interfaceHqlParserVisitor<R>
- Overrides:
visitIndexedPathAccessFragment
in classHqlParserBaseVisitor<Object>
- Parameters:
idxCtx
- the parse tree- Returns:
- the visitor result
-
visitSimplePath
public SemanticPathPart visitSimplePath(HqlParser.SimplePathContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.simplePath()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitSimplePath
in interfaceHqlParserVisitor<R>
- Overrides:
visitSimplePath
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitTreatedNavigablePath
public SqmPath<?> visitTreatedNavigablePath(HqlParser.TreatedNavigablePathContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.treatedNavigablePath()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitTreatedNavigablePath
in interfaceHqlParserVisitor<R>
- Overrides:
visitTreatedNavigablePath
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitCollectionValueNavigablePath
public SqmPath<?> visitCollectionValueNavigablePath(HqlParser.CollectionValueNavigablePathContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.collectionValueNavigablePath()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitCollectionValueNavigablePath
in interfaceHqlParserVisitor<R>
- Overrides:
visitCollectionValueNavigablePath
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
visitMapKeyNavigablePath
public SqmPath<?> visitMapKeyNavigablePath(HqlParser.MapKeyNavigablePathContext ctx)
Description copied from class:HqlParserBaseVisitor
Visit a parse tree produced byHqlParser.mapKeyNavigablePath()
.The default implementation returns the result of calling
AbstractParseTreeVisitor.visitChildren(org.antlr.v4.runtime.tree.RuleNode)
onctx
.- Specified by:
visitMapKeyNavigablePath
in interfaceHqlParserVisitor<R>
- Overrides:
visitMapKeyNavigablePath
in classHqlParserBaseVisitor<Object>
- Parameters:
ctx
- the parse tree- Returns:
- the visitor result
-
-