public class JpqlDialect extends Object implements SqlDialect
SqlDialect
for
Java Persistence Query Language
(JPQL).Modifier and Type | Field and Description |
---|---|
static JpqlDialect |
INSTANCE
The singleton instance of this class.
|
Constructor and Description |
---|
JpqlDialect()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
String |
limit() |
String |
offset() |
String |
parameter(int index) |
String |
property(ReadableProperty<?> property) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
alias, and, as, as, assignment, conjuction, countAll, delete, deleteFrom, distinct, empty, endConjunction, endExpression, escape, escape, fetch, forUpdate, from, groupBy, having, in, innerJoin, insert, insertInto, into, is, isEmpty, isNotEmpty, isNotNull, isNull, join, leftJoin, leftOuterJoin, let, like, literalFalse, literalNull, literalTrue, not, operator, or, order, orderBy, parameter, quoteReference, ref, select, selectCountAll, selectDistinct, separator, set, startConjunction, startExpression, update, upsert, variable, where
public static final JpqlDialect INSTANCE
public String parameter(int index)
parameter
in interface SqlDialect
index
- the zero-based index of the current parameter.public String offset()
offset
in interface SqlDialect
OFFSET
(or SKIP) keyword to supply an offset. Will be the empty String
if NOT support
via SQL (maybe only via query metadata).public String limit()
limit
in interface SqlDialect
LIMIT
keyword to supply the maximum number of results. Will be the empty String
if NOT
supported via this SqlDialect
(maybe only via query metadata).public String property(ReadableProperty<?> property)
property
in interface SqlDialect
property
- the property
to format.property name
.Copyright © 2001–2016 mmm-Team. All rights reserved.