Package org.eclipse.persistence.jpa.jpql
Class AbstractGrammarValidator
java.lang.Object
org.eclipse.persistence.jpa.jpql.parser.AnonymousExpressionVisitor
org.eclipse.persistence.jpa.jpql.AbstractValidator
org.eclipse.persistence.jpa.jpql.AbstractGrammarValidator
- All Implemented Interfaces:
ExpressionVisitor
- Direct Known Subclasses:
EclipseLinkGrammarValidator
The base validator responsible to gather the problems found in a JPQL query by validating it
against the provided JPQL grammar. The semantic of the JPQL query is not validated by this visitor.
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.
- Version:
- 2.5.1
- See Also:
- Author:
- Pascal Filion
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprotected static classThis validate is responsible to validate the collection ofExpressions: 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 classAbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<T extends AbstractDoubleEncapsulatedExpression>protected static interfaceAbstractGrammarValidator.AbstractEncapsulatedExpressionHelper<T extends AbstractEncapsulatedExpression>The root helper that validates anyAbstractEncapsulatedExpression.protected static classAbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T extends AbstractSingleEncapsulatedExpression>The abstract implementation ofAbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelperwhich implements some of the methods since the behavior is the same for all subclasses ofAbstractSingleEncapsulatedExpression.protected static classAbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T extends AbstractTripleEncapsulatedExpression>protected static final classThis visitor retrieves theCollectionExpressionif it is visited.protected static final classThis validator validates aCollectionExpressionby making sure each item is separated by a comma.protected static final classThis validator validates aCollectionExpressionby making sure each item is not separated by a comma.protected static final classprotected static final classprotected static final classThis visitor checks to see if the visited expression isNullExpression.Nested classes/interfaces inherited from class org.eclipse.persistence.jpa.jpql.AbstractValidator
AbstractValidator.BypassChildCollectionExpressionVisitor, AbstractValidator.BypassParentSubExpressionVisitor, AbstractValidator.ChildrenCollectorVisitor, AbstractValidator.JPQLQueryBNFValidator, AbstractValidator.NestedArrayVisitor, AbstractValidator.OwningClauseVisitor, AbstractValidator.OwningStatementVisitor, AbstractValidator.SubqueryVisitor -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractGrammarValidator(JPQLGrammar jpqlGrammar) Creates a newAbstractGrammarValidator. -
Method Summary
Modifier and TypeMethodDescriptionCreates a visitor that collects theCollectionExpressionif it's been visited.protected AbstractGrammarValidator.DateTimeVisitorCreates a visitor that collects theNullExpressionif it's been visited.voiddispose()Disposes this visitor.protected CollectionExpressiongetCollectionExpression(Expression expression) Casts the givenExpressionto aCollectionExpressionif it is actually an object of that type.Returns the visitor that collects theCollectionExpressionif it's been visited.protected AbstractGrammarValidator.DateTimeVisitorprotected JPQLGrammarReturns theJPQLGrammarthat defines how the JPQL query was parsed.protected <T> TReturns the registered helper that was cached with the given id.protected voidInitializes this validator.protected booleanisChildOfComparisonExpession(AllOrAnyExpression expression) protected booleanisCollectionExpression(Expression expression) Determines whether the givenExpressionis aCollectionExpression.protected booleanisDateTimeConstant(Expression leftExpression) Determines whether the givenExpressionrepresents one of the three date constants or not.protected booleanisInputParameterInValidLocation(InputParameter expression) protected abstract booleanDetermines whether aJOIN FETCHexpression can be identified by with an identification variable or not.protected booleanisJPA1_0()Determines whether the JPA version defined by the JPQL grammar is 1.0.protected booleanisJPA2_0()Determines whether the JPA version defined by the JPQL grammar is 2.0.protected booleanisJPA2_1()Determines whether the JPA version defined by the JPQL grammar is 2.1.protected booleanDetermines whether the given subquerySELECTclause can return more than one item or just a single.protected final booleanisNewerThan(JPAVersion version) Determines whether the JPA version for which the JPQL grammar was defined represents a version that is newer than the given version.protected final booleanisNewerThanOrEqual(JPAVersion version) Determines whether the JPA version for which the JPQL grammar was defined represents a version that is newer than the given version or if it's the same version.protected booleanisNumericLiteral(String text) Determines whether the given sequence of characters is a numeric literal or not.protected final booleanisOlderThan(JPAVersion version) Determines whether the JPA version for which the JPQL grammar was defined represents a version that is older than the given version.protected final booleanisOlderThanOrEqual(JPAVersion version) Determines whether the JPA version for which the JPQL grammar was defined represents a version that is older than the given version or if it's the same version.protected booleanisOwnedByConditionalClause(Expression expression) Determines whether the givenExpressionis a child of the WHERE or HAVING clause of the top-level query.protected booleanisOwnedByFromClause(Expression expression) Determines whether the givenExpressionis a child of the FROM clause of the top-level query.protected booleanisOwnedBySubFromClause(Expression expression) Determines whether the givenExpressionis a child of the FROM clause of a subquery.protected abstract booleanDetermines whether a subquery can be used in any clause of the top-level query.protected booleanisValidJavaIdentifier(String variable) Determines whether the given variable is a valid Java identifier, which means it follows the Java specification.protected intposition(Expression expression, int... extras) protected voidregisterHelper(String id, Object helper) Registers the given helper.protected voidvalidateAbstractConditionalClause(AbstractConditionalClause expression, String missingConditionalExpressionMessageKey, String invalidConditionalExpressionMessageKey) protected <T extends AbstractDoubleEncapsulatedExpression>
voidvalidateAbstractDoubleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<T> helper) Validates the content of anAbstractDoubleEncapsulatedExpression, which encapsulates two expressions separated by a comma.protected voidvalidateAbstractFromClause(AbstractFromClause expression) protected voidvalidateAbstractSelectClause(AbstractSelectClause expression, boolean multipleSelectItemsAllowed) Validates the select expression of the givenSELECTclause.protected voidprotected <T extends AbstractSingleEncapsulatedExpression>
voidvalidateAbstractSingleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper) protected <T extends AbstractTripleEncapsulatedExpression>
voidvalidateAbstractTripleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T> helper) protected <T extends AggregateFunction>
voidvalidateAggregateFunctionLocation(T expression, AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper) protected voidvalidateArithmeticExpression(ArithmeticExpression expression) protected voidvalidateCollectionSeparatedByComma(Expression expression, String endsWithCommaProblemKey, String missingCommaProblemKey) Validates the givenExpressionby making sure each child is separated by a comma.protected voidvalidateCollectionSeparatedBySpace(Expression expression, String endsWithCommaProblemKey, String hasCommaProblemKey) Validates the givenExpressionby making sure each child is separated by a whitespace.protected voidvalidateCompoundExpression(CompoundExpression expression, String identifier, String missingLeftExpression, String invalidLeftExpression, String missingRightExpression, String invalidRightExpression, String leftExpressionQueryBNF, String rightExpressionQueryBNF) protected voidprotected voidvalidateIdentifier(Expression expression, String variableName, int variableLength, String reservedWordProblemKey, String invalidJavaIdentifierProblemKey) Validates the given variable name to make sure: It is not a JPQL reserved identifier; It is a valid Java identifier.protected voidvalidateInputParameters(JPQLExpression expression) protected voidvalidateJoins(IdentificationVariableDeclaration expression) protected voidvalidateLikeExpressionEscapeCharacter(LikeExpression expression) protected voidvalidateLogicalExpression(LogicalExpression expression, String leftExpressionQueryBNF, String rightExpressionQueryBNF) protected voidvalidateOwningClause(InputParameter expression, String parameter) protected voidvalidatePathExpression(AbstractPathExpression expression) protected voidvalidateSimpleSelectStatement(SimpleSelectStatement expression) voidvisit(AbsExpression expression) Visits theAbsExpressionexpression.voidvisit(AbstractSchemaName expression) Visits theAbstractSchemaNameexpression.voidvisit(AdditionExpression expression) Visits theAdditionExpressionexpression.voidvisit(AllOrAnyExpression expression) Visits theAllOrAnyExpressionexpression.voidvisit(AndExpression expression) Visits theAndExpressionexpression.voidvisit(ArithmeticFactor expression) Visits theArithmeticFactorexpression.voidvisit(AvgFunction expression) Visits theAvgFunctionexpression.voidvisit(BadExpression expression) Visits theBadExpressionexpression.voidvisit(BetweenExpression expression) Visits theBetweenExpressionexpression.voidvisit(CaseExpression expression) Visits theCaseExpressionexpression.voidvisit(CoalesceExpression expression) Visits theCoalesceExpressionexpression.voidvisit(CollectionExpression expression) Visits theCollectionExpressionexpression.voidvisit(CollectionMemberDeclaration expression) Visits theCollectionMemberDeclarationexpression.voidvisit(CollectionMemberExpression expression) Visits theCollectionMemberExpressionexpression.voidvisit(CollectionValuedPathExpression expression) Visits theCollectionValuedPathExpressionexpression.voidvisit(ComparisonExpression expression) Visits theComparisonExpressionexpression.voidvisit(ConcatExpression expression) Visits theConcatExpressionexpression.voidvisit(ConstructorExpression expression) Visits theConstructorExpressionexpression.voidvisit(CountFunction expression) Visits theCountFunctionexpression.voidVisits theDateTimeexpression.voidvisit(DeleteClause expression) Visits theDeleteClauseexpression.voidvisit(DeleteStatement expression) Visits theDeleteStatementexpression.voidvisit(DivisionExpression expression) Visits theDivisionExpressionexpression.voidvisit(EmptyCollectionComparisonExpression expression) Visits theEmptyCollectionComparisonExpressionexpression.voidvisit(EntityTypeLiteral expression) Visits theEntityTypeLiteralexpression.voidvisit(EntryExpression expression) Visits theEntryExpressionexpression.voidvisit(ExistsExpression expression) Visits theExistsExpressionexpression.voidvisit(FromClause expression) Visits theFromClauseexpression.voidvisit(FunctionExpression expression) Visits theFunctionExpressionexpression.voidvisit(GroupByClause expression) Visits theGroupByClauseexpression.voidvisit(HavingClause expression) Visits theHavingClauseexpression.voidvisit(IdentificationVariable expression) Visits theIdentificationVariableexpression.voidvisit(IdentificationVariableDeclaration expression) Visits theIdentificationVariableDeclarationexpression.voidvisit(IndexExpression expression) Visits theIndexExpressionexpression.voidvisit(InExpression expression) Visits theInExpressionexpression.voidvisit(InputParameter expression) Visits theInputParameterexpression.voidVisits theJoinexpression.voidvisit(JPQLExpression expression) Visits theJPQLExpressionexpression.voidvisit(KeyExpression expression) Visits theKeyExpressionexpression.voidvisit(KeywordExpression expression) Visits theKeywordExpressionexpression.voidvisit(LengthExpression expression) Visits theLengthExpressionexpression.voidvisit(LikeExpression expression) Visits theLikeExpressionexpression.voidvisit(LocateExpression expression) Visits theLocateExpressionexpression.voidvisit(LowerExpression expression) Visits theLowerExpressionexpression.voidvisit(MaxFunction expression) Visits theMaxFunctionexpression.voidvisit(MinFunction expression) Visits theMinFunctionexpression.voidvisit(ModExpression expression) Visits theModExpressionexpression.voidvisit(MultiplicationExpression expression) Visits theMultiplicationExpressionexpression.voidvisit(NotExpression expression) Visits theNotExpressionexpression.voidvisit(NullComparisonExpression expression) Visits theNullComparisonExpressionexpression.voidvisit(NullExpression expression) Visits theNullExpressionexpression.voidvisit(NullIfExpression expression) Visits theNullIfExpressionexpression.voidvisit(NumericLiteral expression) Visits theNumericLiteralexpression.voidvisit(ObjectExpression expression) Visits theObjectExpressionexpression.voidVisits theOnClauseexpression.voidvisit(OrderByClause expression) Visits theOrderByClauseexpression.voidvisit(OrderByItem expression) Visits theOrderByItemexpression.voidvisit(OrExpression expression) Visits theOrExpressionexpression.voidvisit(RangeVariableDeclaration expression) Visits theRangeVariableDeclarationexpression.voidvisit(ResultVariable expression) Visits theResultVariableexpression.voidvisit(SelectClause expression) Visits theSelectClauseexpression.voidvisit(SelectStatement expression) Visits theSelectStatementexpression.voidvisit(SimpleFromClause expression) Visits theSimpleFromClauseexpression.voidvisit(SimpleSelectClause expression) Visits theSimpleSelectClauseexpression.voidvisit(SimpleSelectStatement expression) Visits theSimpleSelectStatementexpression.voidvisit(SizeExpression expression) Visits theSizeExpressionexpression.voidvisit(SqrtExpression expression) Visits theSqrtExpressionexpression.voidvisit(StateFieldPathExpression expression) Visits theStateFieldPathExpressionexpression.voidvisit(StringLiteral expression) Visits theStringLiteralexpression.voidvisit(SubExpression expression) Visits theSubExpressionexpression.voidvisit(SubstringExpression expression) Visits theSubstringExpressionexpression.voidvisit(SubtractionExpression expression) Visits theSubtractionExpressionexpression.voidvisit(SumFunction expression) Visits theSumFunctionexpression.voidvisit(TreatExpression expression) Visits theTreatExpressionexpression.voidvisit(TrimExpression expression) Visits theTrimExpressionexpression.voidvisit(TypeExpression expression) Visits theTypeExpressionexpression.voidvisit(UnknownExpression expression) Visits theUnknownExpressionexpression.voidvisit(UpdateClause expression) Visits theUpdateClauseexpression.voidvisit(UpdateItem expression) Visits theUpdateItemexpression.voidvisit(UpdateStatement expression) Visits theUpdateStatementexpression.voidvisit(UpperExpression expression) Visits theUpperExpressionexpression.voidvisit(ValueExpression expression) Visits theValueExpressionexpression.voidvisit(WhenClause expression) Visits theWhenClauseexpression.voidvisit(WhereClause expression) Visits theWhereClauseexpression.Methods inherited from class org.eclipse.persistence.jpa.jpql.AbstractValidator
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
-
Constructor Details
-
AbstractGrammarValidator
Creates a newAbstractGrammarValidator.- Parameters:
jpqlGrammar- TheJPQLGrammarthat defines how the JPQL query was parsed, which cannot benull- Throws:
NullPointerException- If the givenJPQLGrammarisnull
-
-
Method Details
-
absExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AbsExpression> absExpressionHelper() -
allOrAnyExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AllOrAnyExpression> allOrAnyExpressionHelper() -
avgFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AvgFunction> avgFunctionHelper() -
buildAbsExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AbsExpression> buildAbsExpressionHelper() -
buildAllOrAnyExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AllOrAnyExpression> buildAllOrAnyExpressionHelper() -
buildAvgFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<AvgFunction> buildAvgFunctionHelper() -
buildCoalesceExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CoalesceExpression> buildCoalesceExpressionHelper() -
buildCollectionExpressionVisitor
Creates a visitor that collects theCollectionExpressionif it's been visited.- Returns:
- A new
AbstractGrammarValidator.CollectionExpressionVisitor
-
buildConcatExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ConcatExpression> buildConcatExpressionHelper() -
buildCountFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CountFunction> buildCountFunctionHelper() -
buildDateTimeVisitor
-
buildEntryExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<EntryExpression> buildEntryExpressionHelper() -
buildExistsExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ExistsExpression> buildExistsExpressionHelper() -
buildFunctionExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<FunctionExpression> buildFunctionExpressionHelper() -
buildIndexExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<IndexExpression> buildIndexExpressionHelper() -
buildKeyExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<KeyExpression> buildKeyExpressionHelper() -
buildLengthExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LengthExpression> buildLengthExpressionHelper() -
buildLocateExpressionHelper
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<LocateExpression> buildLocateExpressionHelper() -
buildLowerExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LowerExpression> buildLowerExpressionHelper() -
buildMaxFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MaxFunction> buildMaxFunctionHelper() -
buildMinFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MinFunction> buildMinFunctionHelper() -
buildModExpressionHelper
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<ModExpression> buildModExpressionHelper() -
buildNullExpressionVisitor
Creates a visitor that collects theNullExpressionif it's been visited.- Returns:
- A new
AbstractGrammarValidator.NullExpressionVisitor
-
buildNullIfExpressionHelper
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<NullIfExpression> buildNullIfExpressionHelper() -
buildObjectExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ObjectExpression> buildObjectExpressionHelper() -
buildSizeExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SizeExpression> buildSizeExpressionHelper() -
buildSqrtExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SqrtExpression> buildSqrtExpressionHelper() -
buildSubstringExpressionHelper
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<SubstringExpression> buildSubstringExpressionHelper() -
buildSumFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SumFunction> buildSumFunctionHelper() -
buildTrimExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TrimExpression> buildTrimExpressionHelper() -
buildTypeExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TypeExpression> buildTypeExpressionHelper() -
buildUpperExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<UpperExpression> buildUpperExpressionHelper() -
buildValueExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ValueExpression> buildValueExpressionHelper() -
coalesceExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CoalesceExpression> coalesceExpressionHelper() -
collectionSeparatedByCommaValidator
protected AbstractGrammarValidator.CollectionSeparatedByCommaValidator collectionSeparatedByCommaValidator() -
collectionSeparatedBySpaceValidator
protected AbstractGrammarValidator.CollectionSeparatedBySpaceValidator collectionSeparatedBySpaceValidator() -
comparisonExpressionVisitor
-
concatExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ConcatExpression> concatExpressionHelper() -
countFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<CountFunction> countFunctionHelper() -
dispose
public void dispose()Description copied from class:AbstractValidatorDisposes this visitor.- Overrides:
disposein classAbstractValidator
-
entryExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<EntryExpression> entryExpressionHelper() -
existsExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ExistsExpression> existsExpressionHelper() -
functionExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<FunctionExpression> functionExpressionHelper() -
getCollectionExpression
Casts the givenExpressionto aCollectionExpressionif it is actually an object of that type.- Parameters:
expression- TheExpressionto cast- Returns:
- The given
Expressionif it is aCollectionExpressionornullif it is any other object
-
getCollectionExpressionVisitor
Returns the visitor that collects theCollectionExpressionif it's been visited.- Returns:
- The
AbstractGrammarValidator.CollectionExpressionVisitor - See Also:
-
getDateTimeVisitor
-
getGrammar
Description copied from class:AbstractValidatorReturns theJPQLGrammarthat defines how the JPQL query was parsed.- Specified by:
getGrammarin classAbstractValidator- Returns:
- The
JPQLGrammarthat was used to parse the JPQL query
-
getHelper
Returns the registered helper that was cached with the given id.- Type Parameters:
T- This is the type parameter- Parameters:
id- The key used to retrieve the cached helper, if one was cached- Returns:
- Either the cached helper or
nullif no helper was previously cached for the given id
-
indexExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<IndexExpression> indexExpressionHelper() -
initialize
protected void initialize()Description copied from class:AbstractValidatorInitializes this validator.- Overrides:
initializein classAbstractValidator
-
isChildOfComparisonExpession
-
isCollectionExpression
Determines whether the givenExpressionis aCollectionExpression.- Parameters:
expression- TheExpressionto verify- Returns:
trueif the given givenExpressionis aCollectionExpression;falseotherwise
-
isDateTimeConstant
Determines whether the givenExpressionrepresents one of the three date constants or not.- Parameters:
leftExpression- TheExpressionto visit- Returns:
trueif the givenExpressionrepresents one of the tree date constants;falseotherwise
-
isInputParameterInValidLocation
-
isJoinFetchIdentifiable
protected abstract boolean isJoinFetchIdentifiable()Determines whether aJOIN FETCHexpression can be identified by with an identification variable or not.- Returns:
trueif the expression can have an identification variable;falseotherwise
-
isJPA1_0
protected boolean isJPA1_0()Determines whether the JPA version defined by the JPQL grammar is 1.0.- Returns:
trueif the JPQL grammar was defined for JPA 1.0;falseif it was defined for a more recent version
-
isJPA2_0
protected boolean isJPA2_0()Determines whether the JPA version defined by the JPQL grammar is 2.0.- Returns:
trueif the JPQL grammar was defined for JPA 2.0;falseif it was defined for a more recent version
-
isJPA2_1
protected boolean isJPA2_1()Determines whether the JPA version defined by the JPQL grammar is 2.1.- Returns:
trueif the JPQL grammar was defined for JPA 2.1;falseif it was defined for a more recent version
-
isMultipleSubquerySelectItemsAllowed
Determines whether the given subquerySELECTclause can return more than one item or just a single. By default, only one item can be returned.- Parameters:
expression- The subquerySELECTclause- Returns:
trueif it can return more than one item;falseif it needs to return only one item
-
isNewerThan
Determines whether the JPA version for which the JPQL grammar was defined represents a version that is newer than the given version.- Parameters:
version- The constant to verify if it's representing a version that is older than this one- Returns:
trueif this constant represents a newer version and the given constant represents a version that is older;falseif the given constant represents a newer and this constant represents an older version
-
isNewerThanOrEqual
Determines whether the JPA version for which the JPQL grammar was defined represents a version that is newer than the given version or if it's the same version.- Parameters:
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 one- Returns:
trueif this constant represents a newer version and the given constant represents a version that is older or if it's the same constant;falseif the given constant represents a newer and this constant represents an older version
-
isNumericLiteral
Determines whether the given sequence of characters is a numeric literal or not. There are two types of numeric literal that is supported:- Decimal literal
- Hexadecimal literal
- Parameters:
text- The sequence of characters to validate- Returns:
trueif the given sequence of characters is a valid numeric literal;falseotherwise
-
isOlderThan
Determines whether the JPA version for which the JPQL grammar was defined represents a version that is older than the given version.- Parameters:
version- The constant to verify if it's representing a version that is more recent than this one- Returns:
trueif this constant represents an earlier version and the given constant represents a version that is more recent;falseif the given constant represents an earlier version and this constant represents a more recent version
-
isOlderThanOrEqual
Determines whether the JPA version for which the JPQL grammar was defined represents a version that is older than the given version or if it's the same version.- Parameters:
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 one- Returns:
trueif this constant represents an earlier version and the given constant represents a version that is more recent or if it's the same constant;falseif the given constant represents an earlier version and this constant represents a more recent version
-
isOwnedByConditionalClause
Determines whether the givenExpressionis a child of the WHERE or HAVING clause of the top-level query.- Parameters:
expression- TheExpressionto visit its parent hierarchy up to the clause- Returns:
trueif the first parent being a clause is the WHERE or HAVING clause;falseotherwise
-
isOwnedByFromClause
Determines whether the givenExpressionis a child of the FROM clause of the top-level query.- Parameters:
expression- TheExpressionto visit its parent hierarchy up to the clause- Returns:
trueif the first parent being a clause is the top-level FROM clause;falseotherwise
-
isOwnedBySubFromClause
Determines whether the givenExpressionis a child of the FROM clause of a subquery.- Parameters:
expression- TheExpressionto visit its parent hierarchy up to the clause- Returns:
trueif the first parent being a clause is the FROM clause of a subquery;falseotherwise
-
isSubqueryAllowedAnywhere
protected abstract boolean isSubqueryAllowedAnywhere()Determines whether a subquery can be used in any clause of the top-level query.- Returns:
trueif a subquery can be defined in any clause;falseif it can only be used within theWHEREandHAVINGdefined by the JPA 1.0 and 2.0 specification document
-
isValidJavaIdentifier
Determines whether the given variable is a valid Java identifier, which means it follows the Java specification. The first letter has to be a Java identifier start and the others have to be Java identifier parts.- Parameters:
variable- The variable to validate- Returns:
trueif the given variable follows the Java identifier specification;falseotherwise
-
keyExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<KeyExpression> keyExpressionHelper() -
lengthExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LengthExpression> lengthExpressionHelper() -
locateExpressionHelper
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<LocateExpression> locateExpressionHelper() -
lowerExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<LowerExpression> lowerExpressionHelper() -
maxFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MaxFunction> maxFunctionHelper() -
minFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<MinFunction> minFunctionHelper() -
modExpressionHelper
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<ModExpression> modExpressionHelper() -
nullIfExpressionHelper
protected AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<NullIfExpression> nullIfExpressionHelper() -
objectExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ObjectExpression> objectExpressionHelper() -
position
-
registerHelper
Registers the given helper.- Parameters:
id- The key used to cache the given helperhelper- The helper to cache for future use
-
sizeExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SizeExpression> sizeExpressionHelper() -
sqrtExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SqrtExpression> sqrtExpressionHelper() -
substringExpressionHelper
protected AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<SubstringExpression> substringExpressionHelper() -
sumFunctionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<SumFunction> sumFunctionHelper() -
trimExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TrimExpression> trimExpressionHelper() -
typeExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<TypeExpression> typeExpressionHelper() -
upperExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<UpperExpression> upperExpressionHelper() -
validateAbstractConditionalClause
protected void validateAbstractConditionalClause(AbstractConditionalClause expression, String missingConditionalExpressionMessageKey, String invalidConditionalExpressionMessageKey) -
validateAbstractDoubleEncapsulatedExpression
protected <T extends AbstractDoubleEncapsulatedExpression> void validateAbstractDoubleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractDoubleEncapsulatedExpressionHelper<T> helper) Validates the content of anAbstractDoubleEncapsulatedExpression, which encapsulates two expressions separated by a comma.- Type Parameters:
T- This is the type parameter- Parameters:
expression- TheAbstractDoubleEncapsulatedExpressionto validatehelper- This helper is used to retrieve specific information related to theexpressionbeing validated
-
validateAbstractFromClause
-
validateAbstractSelectClause
protected void validateAbstractSelectClause(AbstractSelectClause expression, boolean multipleSelectItemsAllowed) Validates the select expression of the givenSELECTclause. The select expression will only be visited if its JPQL query BNF is part of the select item BNF.- Parameters:
expression- TheAbstractSelectClauseto validatemultipleSelectItemsAllowed- Determines whether theSELECTcan have one or more select expression or not
-
validateAbstractSelectStatement
-
validateAbstractSingleEncapsulatedExpression
protected <T extends AbstractSingleEncapsulatedExpression> void validateAbstractSingleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper) -
validateAbstractTripleEncapsulatedExpression
protected <T extends AbstractTripleEncapsulatedExpression> void validateAbstractTripleEncapsulatedExpression(T expression, AbstractGrammarValidator.AbstractTripleEncapsulatedExpressionHelper<T> helper) -
validateAggregateFunctionLocation
protected <T extends AggregateFunction> void validateAggregateFunctionLocation(T expression, AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<T> helper) -
validateArithmeticExpression
-
validateCollectionSeparatedByComma
protected void validateCollectionSeparatedByComma(Expression expression, String endsWithCommaProblemKey, String missingCommaProblemKey) Validates the givenExpressionby making sure each child is separated by a comma.- Parameters:
expression- TheExpressionto validate its children, which should be a series ofExpressionseparated by a commaendsWithCommaProblemKey- The problem key describing theCollectionExpressionis ending with a commamissingCommaProblemKey- The problem key describing theCollectionExpressionhas two items not separated by a comma
-
validateCollectionSeparatedBySpace
protected void validateCollectionSeparatedBySpace(Expression expression, String endsWithCommaProblemKey, String hasCommaProblemKey) Validates the givenExpressionby making sure each child is separated by a whitespace.- Parameters:
expression- TheExpressionto validate its children, which should be a series ofExpressionseparated by a whitespaceendsWithCommaProblemKey- The problem key describing theCollectionExpressionis ending with a commahasCommaProblemKey- The problem key describing theCollectionExpressionhas two items separated by a comma
-
validateCompoundExpression
-
validateIdentificationVariableDeclaration
protected void validateIdentificationVariableDeclaration(IdentificationVariableDeclaration expression) -
validateIdentifier
protected void validateIdentifier(Expression expression, String variableName, int variableLength, String reservedWordProblemKey, String invalidJavaIdentifierProblemKey) Validates the given variable name to make sure:- It is not a JPQL reserved identifier;
- It is a valid Java identifier.
- Parameters:
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 identifier
-
validateInputParameters
-
validateJoins
-
validateLikeExpressionEscapeCharacter
-
validateLogicalExpression
protected void validateLogicalExpression(LogicalExpression expression, String leftExpressionQueryBNF, String rightExpressionQueryBNF) -
validateOwningClause
-
validatePathExpression
-
validateSimpleSelectStatement
-
valueExpressionHelper
protected AbstractGrammarValidator.AbstractSingleEncapsulatedExpressionHelper<ValueExpression> valueExpressionHelper() -
visit
Description copied from interface:ExpressionVisitorVisits theAbsExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theAbstractSchemaNameexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theAdditionExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theAllOrAnyExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theAndExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theArithmeticFactorexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theAvgFunctionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theBadExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theBetweenExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theCaseExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theCoalesceExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theCollectionExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theCollectionMemberDeclarationexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theCollectionMemberExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theCollectionValuedPathExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theComparisonExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theConcatExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theConstructorExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theCountFunctionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theDateTimeexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theDeleteClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theDeleteStatementexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theDivisionExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theEmptyCollectionComparisonExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theEntityTypeLiteralexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theEntryExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theExistsExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theFromClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theFunctionExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theGroupByClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theHavingClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theIdentificationVariableexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theIdentificationVariableDeclarationexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theIndexExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theInExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theInputParameterexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theJoinexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theJPQLExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theKeyExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theKeywordExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theLengthExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theLikeExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theLocateExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theLowerExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theMaxFunctionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theMinFunctionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theModExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theMultiplicationExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theNotExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theNullComparisonExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theNullExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theNullIfExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theNumericLiteralexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theObjectExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theOnClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theOrderByClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theOrderByItemexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theOrExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theRangeVariableDeclarationexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theResultVariableexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSelectClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSelectStatementexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSimpleFromClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSimpleSelectClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSimpleSelectStatementexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSizeExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSqrtExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theStateFieldPathExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theStringLiteralexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSubExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSubstringExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSubtractionExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theSumFunctionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theTreatExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theTrimExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theTypeExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theUnknownExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheUnknownExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theUpdateClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheUpdateClauseto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theUpdateItemexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheUpdateItemto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theUpdateStatementexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheUpdateStatementto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theUpperExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheUpperExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theValueExpressionexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheValueExpressionto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theWhenClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheWhenClauseto visit
-
visit
Description copied from interface:ExpressionVisitorVisits theWhereClauseexpression.- Specified by:
visitin interfaceExpressionVisitor- Overrides:
visitin classAnonymousExpressionVisitor- Parameters:
expression- TheWhereClauseto visit
-