Uses of Class
org.eclipse.persistence.jpa.jpql.parser.QueryPosition
Packages that use QueryPosition
Package
Description
This is the core of Hermes, this package contains the classes that can parse a JPQL query.
-
Uses of QueryPosition in org.eclipse.persistence.jpa.jpql.parser
Methods in org.eclipse.persistence.jpa.jpql.parser that return QueryPositionModifier and TypeMethodDescriptionJPQLExpression.buildPosition(String actualQuery, int position) Creates a map of the position of the cursor within eachExpressionof the parsed tree.Methods in org.eclipse.persistence.jpa.jpql.parser with parameters of type QueryPositionModifier and TypeMethodDescriptionvoidAbstractExpression.populatePosition(QueryPosition queryPosition, int position) voidDefaultStringExpression.populatePosition(QueryPosition queryPosition, int position) voidExpression.populatePosition(QueryPosition queryPosition, int position) Retrieves theExpressionlocated at the given position using the actual query, which may have extra whitespace. -
Uses of QueryPosition in org.eclipse.persistence.jpa.jpql.tools
Fields in org.eclipse.persistence.jpa.jpql.tools declared as QueryPositionModifier and TypeFieldDescriptionAbstractContentAssistVisitor.EndingQueryPositionBuilder.queryPositionThisQueryPositionhas the position of eachExpressionwithin the valid fragment of the JPQL query.protected QueryPositionAbstractContentAssistVisitor.queryPositionContains the position of the cursor within the parsedExpressionfrom the root node up to the deepest leaf node.Methods in org.eclipse.persistence.jpa.jpql.tools that return QueryPositionModifier and TypeMethodDescriptionprotected QueryPositionAbstractContentAssistVisitor.buildEndingPositionFromInvalidExpression(Expression invalidExpression, Expression startingPointExpression, boolean[] virtualSpace) Creates a newQueryPositioncontaining the corrected positions starting at the givenExpressionand traversing the children at is always at the right side of the tree.AbstractContentAssistVisitor.EndingQueryPositionBuilder.getQueryPosition()Returns the newQueryPositionthat was created.