Class DefaultJPQLQueryFormatter
- 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.DefaultJPQLQueryFormatter
-
- All Implemented Interfaces:
IJPQLQueryFormatter
,StateObjectVisitor
public class DefaultJPQLQueryFormatter extends AbstractJPQLQueryFormatter
The default implementation of aIJPQLQueryFormatter
, which support creating a string representation of a JPQL query written for JPA 1.0 and 2.0.- 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 DefaultJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
Creates a newDefaultJPQLQueryFormatter
.
-
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
-
-
-
-
Constructor Detail
-
DefaultJPQLQueryFormatter
public DefaultJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
Creates a newDefaultJPQLQueryFormatter
.- Parameters:
style
- Determines how the JPQL identifiers are written out- Throws:
java.lang.NullPointerException
- The IdentifierStyle cannot benull
-
-