Uses of Class
org.eclipse.persistence.jpa.jpql.parser.QueryPosition
-
Packages that use QueryPosition Package Description org.eclipse.persistence.jpa.jpql.parser This is the core of Hermes, this package contains the classes that can parse a JPQL query.org.eclipse.persistence.jpa.jpql.tools -
-
Uses of QueryPosition in org.eclipse.persistence.jpa.jpql.parser
Methods in org.eclipse.persistence.jpa.jpql.parser that return QueryPosition Modifier and Type Method Description QueryPositionJPQLExpression. 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 QueryPosition Modifier and Type Method Description voidAbstractExpression. 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 QueryPosition Modifier and Type Field Description QueryPositionAbstractContentAssistVisitor.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 QueryPosition Modifier and Type Method Description protected 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.QueryPositionAbstractContentAssistVisitor.EndingQueryPositionBuilder. getQueryPosition()Returns the newQueryPositionthat was created.
-