public abstract class AbstractGrammarValidator extends AbstractValidator
Provisional API: This interface is part of an interim API that is still under development and expected to change significantly before reaching stability. It is available at this early stage to solicit feedback from pioneering adopters on the understanding that any code that uses this API will almost certainly be broken (repeatedly) as the API evolves.
AbstractSemanticValidator
Modifier and Type | Class and Description |
---|---|
protected static class |
AbstractGrammarValidator.AbstractCollectionValidator
This validate is responsible to validate the collection of
Expressions :
Making sure they are all separated by a comma or by a space (depending on which one is
required);
Making sure it does not end with a comma;
There is no empty expression between two commas. |
protected static class |
AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<T extends AbstractDoubleEncapsulatedExpression> |
protected static interface |
AbstractGrammarValidator.AbstractEncapsulatedExpressionHelper<T extends AbstractEncapsulatedExpression>
The root helper that validates any
AbstractEncapsulatedExpression . |
protected static class |
AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T extends AbstractSingleEncapsulatedExpression>
The abstract implementation of
AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper which
implements some of the methods since the behavior is the same for all subclasses of
AbstractSingleEncapsulatedExpression . |
protected static class |
AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression> |
protected static class |
AbstractGrammarValidator.CollectionExpressionVisitor
This visitor retrieves the
CollectionExpression if it is visited. |
protected static class |
AbstractGrammarValidator.CollectionSeparatedByCommaValidator
This validator validates a
CollectionExpression by making sure each item is separated
by a comma. |
protected static class |
AbstractGrammarValidator.CollectionSeparatedBySpaceValidator
This validator validates a
CollectionExpression by making sure each item is not
separated by a comma. |
protected static class |
AbstractGrammarValidator.ComparisonExpressionVisitor |
protected static class |
AbstractGrammarValidator.DateTimeVisitor |
protected static class |
AbstractGrammarValidator.NullExpressionVisitor
This visitor checks to see if the visited expression is
NullExpression . |
AbstractValidator.BypassChildCollectionExpressionVisitor, AbstractValidator.BypassParentSubExpressionVisitor, AbstractValidator.ChildrenCollectorVisitor, AbstractValidator.JPQLQueryBNFValidator, AbstractValidator.NestedArrayVisitor, AbstractValidator.OwningClauseVisitor, AbstractValidator.OwningStatementVisitor, AbstractValidator.SubqueryVisitor
Modifier | Constructor and Description |
---|---|
protected |
AbstractGrammarValidator(JPQLGrammar jpqlGrammar)
Creates a new
AbstractGrammarValidator . |
addProblem, addProblem, addProblem, addProblem, buildChildrenCollector, buildLiteralVisitor, buildNestedArrayVisitor, buildOwningClauseVisitor, buildOwningStatementVisitor, buildProblem, buildSubqueryVisitor, getBypassChildCollectionExpressionVisitor, getBypassParentSubExpressionVisitor, getChildren, getChildrenCollectorVisitor, getExpressionRegistry, getExpressionValidator, getJPAVersion, getJPQLQueryBNFValidator, getJPQLQueryBNFValidator, getLiteralVisitor, getNestedArrayVisitor, getOwningClauseVisitor, getOwningStatementVisitor, getProvider, getProviderVersion, getQueryBNF, getSubqueryVisitor, isNestedArray, isSubquery, isValid, isValid, isValid, isValidWithChildCollectionBypass, isWithinSubquery, isWithinTopLevelQuery, length, literal, nestedArraySize, position, problemsSize, setProblems, visit
protected AbstractGrammarValidator(JPQLGrammar jpqlGrammar)
AbstractGrammarValidator
.jpqlGrammar
- The JPQLGrammar
that defines how the JPQL query was parsed, which
cannot be null
java.lang.NullPointerException
- If the given JPQLGrammar
is null
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AbsExpression> absExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AllOrAnyExpression> allOrAnyExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AvgFunction> avgFunctionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AbsExpression> buildAbsExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AllOrAnyExpression> buildAllOrAnyExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AvgFunction> buildAvgFunctionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CoalesceExpression> buildCoalesceExpressionHelper()
protected AbstractGrammarValidator.CollectionExpressionVisitor buildCollectionExpressionVisitor()
CollectionExpression
if it's been visited.AbstractGrammarValidator.CollectionExpressionVisitor
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ConcatExpression> buildConcatExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CountFunction> buildCountFunctionHelper()
protected AbstractGrammarValidator.DateTimeVisitor buildDateTimeVisitor()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<EntryExpression> buildEntryExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ExistsExpression> buildExistsExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<FunctionExpression> buildFunctionExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<IndexExpression> buildIndexExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<KeyExpression> buildKeyExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LengthExpression> buildLengthExpressionHelper()
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<LocateExpression> buildLocateExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LowerExpression> buildLowerExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MaxFunction> buildMaxFunctionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MinFunction> buildMinFunctionHelper()
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<ModExpression> buildModExpressionHelper()
protected AbstractGrammarValidator.NullExpressionVisitor buildNullExpressionVisitor()
NullExpression
if it's been visited.AbstractGrammarValidator.NullExpressionVisitor
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<NullIfExpression> buildNullIfExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ObjectExpression> buildObjectExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SizeExpression> buildSizeExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SqrtExpression> buildSqrtExpressionHelper()
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<SubstringExpression> buildSubstringExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SumFunction> buildSumFunctionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TrimExpression> buildTrimExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TypeExpression> buildTypeExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<UpperExpression> buildUpperExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ValueExpression> buildValueExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CoalesceExpression> coalesceExpressionHelper()
protected AbstractGrammarValidator.CollectionSeparatedByCommaValidator collectionSeparatedByCommaValidator()
protected AbstractGrammarValidator.CollectionSeparatedBySpaceValidator collectionSeparatedBySpaceValidator()
protected AbstractGrammarValidator.ComparisonExpressionVisitor comparisonExpressionVisitor()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ConcatExpression> concatExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CountFunction> countFunctionHelper()
public void dispose()
dispose
in class AbstractValidator
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<EntryExpression> entryExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ExistsExpression> existsExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<FunctionExpression> functionExpressionHelper()
protected CollectionExpression getCollectionExpression(Expression expression)
Expression
to a CollectionExpression
if it is actually an
object of that type.expression
- The Expression
to castExpression
if it is a CollectionExpression
or null
if it is any other objectprotected AbstractGrammarValidator.CollectionExpressionVisitor getCollectionExpressionVisitor()
CollectionExpression
if it's been visited.AbstractGrammarValidator.CollectionExpressionVisitor
buildCollectionExpressionVisitor()
protected AbstractGrammarValidator.DateTimeVisitor getDateTimeVisitor()
protected JPQLGrammar getGrammar()
JPQLGrammar
that defines how the JPQL query was parsed.getGrammar
in class AbstractValidator
JPQLGrammar
that was used to parse the JPQL queryprotected <T> T getHelper(java.lang.String id)
id
- The key used to retrieve the cached helper, if one was cachednull
if no helper was previously cached for
the given idprotected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<IndexExpression> indexExpressionHelper()
protected void initialize()
initialize
in class AbstractValidator
protected boolean isChildOfComparisonExpession(AllOrAnyExpression expression)
protected boolean isCollectionExpression(Expression expression)
Expression
is a CollectionExpression
.expression
- The Expression
to verifytrue
if the given given Expression
is a CollectionExpression
;
false
otherwiseprotected boolean isDateTimeConstant(Expression leftExpression)
Expression
represents one of the three date constants or not.leftExpression
- The Expression
to visittrue
if the given Expression
represents one of the tree date
constants; false
otherwiseprotected boolean isInputParameterInValidLocation(InputParameter expression)
protected abstract boolean isJoinFetchIdentifiable()
JOIN FETCH
expression can be identified by with an
identification variable or not.true
if the expression can have an identification variable;
false
otherwiseprotected boolean isJPA1_0()
true
if the JPQL grammar was defined for JPA 1.0; false
if
it was defined for a more recent versionprotected boolean isJPA2_0()
true
if the JPQL grammar was defined for JPA 2.0; false
if
it was defined for a more recent versionprotected boolean isJPA2_1()
true
if the JPQL grammar was defined for JPA 2.1; false
if
it was defined for a more recent versionprotected boolean isMultipleSubquerySelectItemsAllowed(SimpleSelectClause expression)
SELECT
clause can return more than
one item or just a single. By default, only one item can be returned.expression
- The subquery SELECT
clausetrue
if it can return more than one item; false
if it needs
to return only one itemprotected final boolean isNewerThan(JPAVersion version)
version
- The constant to verify if it's representing a version that is older than this onetrue
if this constant represents a newer version and the given constant
represents a version that is older; false
if the given constant represents a
newer and this constant represents an older versionprotected final boolean isNewerThanOrEqual(JPAVersion version)
version
- The constant to verify if it's representing a version that is older than this
one or if it's the same than this onetrue
if this constant represents a newer version and the given constant
represents a version that is older or if it's the same constant; false
if the
given constant represents a newer and this constant represents an older versionprotected boolean isNumericLiteral(java.lang.String text)
text
- The sequence of characters to validatetrue
if the given sequence of characters is a valid numeric literal;
false
otherwiseprotected final boolean isOlderThan(JPAVersion version)
version
- The constant to verify if it's representing a version that is more recent
than this onetrue
if this constant represents an earlier version and the given
constant represents a version that is more recent; false
if the given constant
represents an earlier version and this constant represents a more recent versionprotected final boolean isOlderThanOrEqual(JPAVersion version)
version
- The constant to verify if it's representing a version that is more recent than
this one or if it's the same than this onetrue
if this constant represents an earlier version and the given
constant represents a version that is more recent or if it's the same constant; false
if the given constant represents an earlier version and this constant represents a more recent
versionprotected boolean isOwnedByConditionalClause(Expression expression)
Expression
is a child of the WHERE or HAVING
clause of the top-level query.expression
- The Expression
to visit its parent hierarchy up to the clausetrue
if the first parent being a clause is the WHERE or HAVING
clause; false
otherwiseprotected boolean isOwnedByFromClause(Expression expression)
Expression
is a child of the FROM clause of the
top-level query.expression
- The Expression
to visit its parent hierarchy up to the clausetrue
if the first parent being a clause is the top-level FROM
clause; false
otherwiseprotected boolean isOwnedBySubFromClause(Expression expression)
Expression
is a child of the FROM clause of a
subquery.expression
- The Expression
to visit its parent hierarchy up to the clausetrue
if the first parent being a clause is the FROM clause of a
subquery; false
otherwiseprotected abstract boolean isSubqueryAllowedAnywhere()
true
if a subquery can be defined in any clause; false
if
it can only be used within the WHERE
and HAVING
defined by the JPA
1.0 and 2.0 specification documentprotected boolean isValidJavaIdentifier(java.lang.String variable)
variable
- The variable to validatetrue
if the given variable follows the Java identifier specification;
false
otherwiseprotected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<KeyExpression> keyExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LengthExpression> lengthExpressionHelper()
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<LocateExpression> locateExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LowerExpression> lowerExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MaxFunction> maxFunctionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MinFunction> minFunctionHelper()
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<ModExpression> modExpressionHelper()
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<NullIfExpression> nullIfExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ObjectExpression> objectExpressionHelper()
protected int position(Expression expression, int... extras)
protected void registerHelper(java.lang.String id, java.lang.Object helper)
id
- The key used to cache the given helperhelper
- The helper to cache for future useprotected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SizeExpression> sizeExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SqrtExpression> sqrtExpressionHelper()
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<SubstringExpression> substringExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SumFunction> sumFunctionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TrimExpression> trimExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TypeExpression> typeExpressionHelper()
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<UpperExpression> upperExpressionHelper()
protected void validateAbstractConditionalClause(AbstractConditionalClause expression, java.lang.String missingConditionalExpressionMessageKey, java.lang.String invalidConditionalExpressionMessageKey)
protected <T extends AbstractDoubleEncapsulatedExpression> void validateAbstractDoubleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<T> helper)
AbstractDoubleEncapsulatedExpression
, which encapsulates
two expressions separated by a comma.expression
- The AbstractDoubleEncapsulatedExpression
to validatehelper
- This helper is used to retrieve specific information related to the expression
being validatedprotected void validateAbstractFromClause(AbstractFromClause expression)
protected void validateAbstractSelectClause(AbstractSelectClause expression, boolean multipleSelectItemsAllowed)
SELECT
clause. The select expression
will only be visited if its JPQL query BNF is part of the select item BNF.expression
- The AbstractSelectClause
to validatemultipleSelectItemsAllowed
- Determines whether the SELECT
can have
one or more select expression or notprotected void validateAbstractSelectStatement(AbstractSelectStatement expression)
protected <T extends AbstractSingleEncapsulatedExpression> void validateAbstractSingleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper)
protected <T extends AbstractTripleEncapsulatedExpression> void validateAbstractTripleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T> helper)
protected <T extends AggregateFunction> void validateAggregateFunctionLocation(T expression, AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper)
protected void validateArithmeticExpression(ArithmeticExpression expression)
protected void validateCollectionSeparatedByComma(Expression expression, java.lang.String endsWithCommaProblemKey, java.lang.String missingCommaProblemKey)
Expression
by making sure each child is separated by a comma.expression
- The Expression
to validate its children, which should be a series
of Expression
separated by a commaendsWithCommaProblemKey
- The problem key describing the CollectionExpression
is
ending with a commamissingCommaProblemKey
- The problem key describing the CollectionExpression
has
two items not separated by a commaprotected void validateCollectionSeparatedBySpace(Expression expression, java.lang.String endsWithCommaProblemKey, java.lang.String hasCommaProblemKey)
Expression
by making sure each child is separated by a whitespace.expression
- The Expression
to validate its children, which should be a series
of Expression
separated by a whitespaceendsWithCommaProblemKey
- The problem key describing the CollectionExpression
is ending with a commahasCommaProblemKey
- The problem key describing the CollectionExpression
has two
items separated by a commaprotected void validateCompoundExpression(CompoundExpression expression, java.lang.String identifier, java.lang.String missingLeftExpression, java.lang.String invalidLeftExpression, java.lang.String missingRightExpression, java.lang.String invalidRightExpression, java.lang.String leftExpressionQueryBNF, java.lang.String rightExpressionQueryBNF)
protected void validateIdentificationVariableDeclaration(IdentificationVariableDeclaration expression)
protected void validateIdentifier(Expression expression, java.lang.String variableName, int variableLength, java.lang.String reservedWordProblemKey, java.lang.String invalidJavaIdentifierProblemKey)
expression
- The expression to validatevariableName
- The text to actually validatevariableLength
- The actual length of the text, which can be longer than the text that is
validatedreservedWordProblemKey
- The problem key used when the variable name is a reserved JPQL
identifierinvalidJavaIdentifierProblemKey
- The problem key used when the variable name is not a
valid Java identifierprotected void validateInputParameters(JPQLExpression expression)
protected void validateJoins(IdentificationVariableDeclaration expression)
protected void validateLikeExpressionEscapeCharacter(LikeExpression expression)
protected void validateLogicalExpression(LogicalExpression expression, java.lang.String leftExpressionQueryBNF, java.lang.String rightExpressionQueryBNF)
protected void validateOwningClause(InputParameter expression, java.lang.String parameter)
protected void validatePathExpression(AbstractPathExpression expression)
protected void validateSimpleSelectStatement(SimpleSelectStatement expression)
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ValueExpression> valueExpressionHelper()
public void visit(AbsExpression expression)
AbsExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(AbstractSchemaName expression)
AbstractSchemaName
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(AdditionExpression expression)
AdditionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(AllOrAnyExpression expression)
AllOrAnyExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(AndExpression expression)
AndExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ArithmeticFactor expression)
ArithmeticFactor
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(AvgFunction expression)
AvgFunction
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(BadExpression expression)
BadExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(BetweenExpression expression)
BetweenExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CaseExpression expression)
CaseExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CoalesceExpression expression)
CoalesceExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionExpression expression)
CollectionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionMemberDeclaration expression)
CollectionMemberDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionMemberExpression expression)
CollectionMemberExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CollectionValuedPathExpression expression)
CollectionValuedPathExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ComparisonExpression expression)
ComparisonExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ConcatExpression expression)
ConcatExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ConstructorExpression expression)
ConstructorExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(CountFunction expression)
CountFunction
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(DateTime expression)
DateTime
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(DeleteClause expression)
DeleteClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(DeleteStatement expression)
DeleteStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(DivisionExpression expression)
DivisionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(EmptyCollectionComparisonExpression expression)
EmptyCollectionComparisonExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(EntityTypeLiteral expression)
EntityTypeLiteral
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(EntryExpression expression)
EntryExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ExistsExpression expression)
ExistsExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(FromClause expression)
FromClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(FunctionExpression expression)
FunctionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(GroupByClause expression)
GroupByClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(HavingClause expression)
HavingClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariable expression)
IdentificationVariable
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IdentificationVariableDeclaration expression)
IdentificationVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(IndexExpression expression)
IndexExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(InExpression expression)
InExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(InputParameter expression)
InputParameter
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(Join expression)
Join
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(JPQLExpression expression)
JPQLExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(KeyExpression expression)
KeyExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(KeywordExpression expression)
KeywordExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(LengthExpression expression)
LengthExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(LikeExpression expression)
LikeExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(LocateExpression expression)
LocateExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(LowerExpression expression)
LowerExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(MaxFunction expression)
MaxFunction
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(MinFunction expression)
MinFunction
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ModExpression expression)
ModExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(MultiplicationExpression expression)
MultiplicationExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(NotExpression expression)
NotExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(NullComparisonExpression expression)
NullComparisonExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(NullExpression expression)
NullExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(NullIfExpression expression)
NullIfExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(NumericLiteral expression)
NumericLiteral
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ObjectExpression expression)
ObjectExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(OnClause expression)
OnClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(OrderByClause expression)
OrderByClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(OrderByItem expression)
OrderByItem
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(OrExpression expression)
OrExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(RangeVariableDeclaration expression)
RangeVariableDeclaration
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(ResultVariable expression)
ResultVariable
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SelectClause expression)
SelectClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SelectStatement expression)
SelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleFromClause expression)
SimpleFromClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleSelectClause expression)
SimpleSelectClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SimpleSelectStatement expression)
SimpleSelectStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SizeExpression expression)
SizeExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SqrtExpression expression)
SqrtExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(StateFieldPathExpression expression)
StateFieldPathExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(StringLiteral expression)
StringLiteral
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SubExpression expression)
SubExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SubstringExpression expression)
SubstringExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SubtractionExpression expression)
SubtractionExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(SumFunction expression)
SumFunction
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(TreatExpression expression)
TreatExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(TrimExpression expression)
TrimExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(TypeExpression expression)
TypeExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The Expression
to visitpublic void visit(UnknownExpression expression)
UnknownExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UnknownExpression
to visitpublic void visit(UpdateClause expression)
UpdateClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UpdateClause
to visitpublic void visit(UpdateItem expression)
UpdateItem
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UpdateItem
to visitpublic void visit(UpdateStatement expression)
UpdateStatement
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UpdateStatement
to visitpublic void visit(UpperExpression expression)
UpperExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The UpperExpression
to visitpublic void visit(ValueExpression expression)
ValueExpression
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The ValueExpression
to visitpublic void visit(WhenClause expression)
WhenClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The WhenClause
to visitpublic void visit(WhereClause expression)
WhereClause
expression.visit
in interface ExpressionVisitor
visit
in class AnonymousExpressionVisitor
expression
- The WhereClause
to visit