public class JPQLTemplates extends Templates
JPQLTemplates
extends Templates
to provide operator patterns for JPQL
serializationHQLTemplates
,
EclipseLinkTemplates
Templates.Precedence
Modifier and Type | Field and Description |
---|---|
static JPQLTemplates |
DEFAULT |
static char |
DEFAULT_ESCAPE |
protected static Set<? extends Operator> |
OTHER_LIKE_CASES |
Modifier | Constructor and Description |
---|---|
protected |
JPQLTemplates() |
protected |
JPQLTemplates(char escape) |
protected |
JPQLTemplates(char escape,
QueryHandler queryHandler) |
Modifier and Type | Method and Description |
---|---|
String |
asLiteral(Object constant) |
String |
getExistsProjection() |
QueryHandler |
getQueryHandler() |
String |
getTypeForCast(Class<?> cl) |
boolean |
isCaseWithLiterals() |
boolean |
isEnumInPathSupported()
Deprecated.
|
boolean |
isPathInEntitiesSupported() |
boolean |
isWithForOn() |
boolean |
wrapConstant(Object constant) |
boolean |
wrapElements(Operator operator) |
add, add, add, escapeForLike, getEscapeChar, getPrecedence, getTemplate, setPrecedence, setPrecedence
public static final char DEFAULT_ESCAPE
public static final JPQLTemplates DEFAULT
protected JPQLTemplates()
protected JPQLTemplates(char escape)
protected JPQLTemplates(char escape, QueryHandler queryHandler)
public boolean wrapElements(Operator operator)
@Deprecated public boolean isEnumInPathSupported()
public boolean isPathInEntitiesSupported()
public boolean wrapConstant(Object constant)
public boolean isWithForOn()
public QueryHandler getQueryHandler()
public boolean isCaseWithLiterals()
Copyright © 2007–2016 Querydsl. All rights reserved.