Class EclipseLinkJPQLQueryFormatter
- java.lang.Object
-
- org.eclipse.persistence.jpa.jpql.tools.model.BaseJPQLQueryFormatter
-
- org.eclipse.persistence.jpa.jpql.tools.model.AbstractJPQLQueryFormatter
-
- org.eclipse.persistence.jpa.jpql.tools.model.EclipseLinkJPQLQueryFormatter
-
- All Implemented Interfaces:
IJPQLQueryFormatter
,EclipseLinkStateObjectVisitor
,StateObjectVisitor
public class EclipseLinkJPQLQueryFormatter extends AbstractJPQLQueryFormatter implements EclipseLinkStateObjectVisitor
The default implementation of aIJPQLQueryFormatter
that adds support for formatting EclipseLink specific JPQL identifiers. It supports creating a string representation of a JPQL query written for JPA 1.0 and 2.1 and with EclipseLink 1.x and 2.x.- Version:
- 2.4
- Author:
- Pascal Filion
- Since:
- 2.4
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.IJPQLQueryFormatter
IJPQLQueryFormatter.IdentifierStyle
-
-
Field Summary
-
Fields inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BaseJPQLQueryFormatter
COMMA, COMMA_SPACE, LEFT_PARENTHESIS, RIGHT_PARENTHESIS, SPACE, style, writer
-
-
Constructor Summary
Constructors Constructor Description EclipseLinkJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
Creates a newEclipseLinkJPQLQueryFormatter
.
-
Method Summary
-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.AbstractJPQLQueryFormatter
newLine, toStringAggregateFunction, toStringChildren, toStringCompound, toStringConditional, toStringDoubleEncapsulated, toStringEncapsulatedIdentificationVariable, toStringFromClause, toStringIdentificationVariableDeclaration, toStringModifyStatement, toStringPathExpression, toStringRangeVariableDeclaration, toStringSelectStatement, toStringSimpleStateObject, toStringSingleEncapsulated, toStringTripleEncapsulated, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
Methods inherited from class org.eclipse.persistence.jpa.jpql.tools.model.BaseJPQLQueryFormatter
formatIdentifier, getIdentifierStyle, toString, toString, toText
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.eclipse.persistence.jpa.jpql.tools.model.query.StateObjectVisitor
visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit, visit
-
-
-
-
Constructor Detail
-
EclipseLinkJPQLQueryFormatter
public EclipseLinkJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
Creates a newEclipseLinkJPQLQueryFormatter
.- Parameters:
style
- Determines how the JPQL identifiers are written out- Throws:
java.lang.NullPointerException
- The IdentifierStyle cannot benull
-
-