public class DefaultJPQLQueryFormatter extends AbstractJPQLQueryFormatter
IJPQLQueryFormatter
, which support creating a string
representation of a JPQL query written for JPA 1.0 and 2.0.IJPQLQueryFormatter.IdentifierStyle
COMMA, COMMA_SPACE, LEFT_PARENTHESIS, RIGHT_PARENTHESIS, SPACE, style, writer
Constructor and Description |
---|
DefaultJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
Creates a new
DefaultJPQLQueryFormatter . |
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
formatIdentifier, getIdentifierStyle, toString, toString, toText
public DefaultJPQLQueryFormatter(IJPQLQueryFormatter.IdentifierStyle style)
DefaultJPQLQueryFormatter
.style
- Determines how the JPQL identifiers are written outjava.lang.NullPointerException
- The IdentifierStyle cannot be null