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 java.util.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 |
---|---|
java.lang.String |
asLiteral(java.lang.Object constant) |
@Nullable java.lang.String |
getExistsProjection() |
QueryHandler |
getQueryHandler() |
java.lang.String |
getTypeForCast(java.lang.Class<?> cl) |
boolean |
isCaseWithLiterals() |
boolean |
isEnumInPathSupported()
Deprecated.
|
boolean |
isPathInEntitiesSupported() |
boolean |
isWithForOn() |
boolean |
wrapConstant(java.lang.Object constant) |
boolean |
wrapElements(Operator operator) |
add, add, add, escapeForLike, getEscapeChar, getPrecedence, getTemplate, setPrecedence, setPrecedence
public static final char DEFAULT_ESCAPE
protected static final java.util.Set<? extends Operator> OTHER_LIKE_CASES
public static final JPQLTemplates DEFAULT
protected JPQLTemplates()
protected JPQLTemplates(char escape)
protected JPQLTemplates(char escape, QueryHandler queryHandler)
public boolean wrapElements(Operator operator)
public java.lang.String getTypeForCast(java.lang.Class<?> cl)
@Deprecated public boolean isEnumInPathSupported()
public boolean isPathInEntitiesSupported()
@Nullable public @Nullable java.lang.String getExistsProjection()
public boolean wrapConstant(java.lang.Object constant)
public boolean isWithForOn()
public QueryHandler getQueryHandler()
public boolean isCaseWithLiterals()
public java.lang.String asLiteral(java.lang.Object constant)
Copyright © 2007–2021 Querydsl. All rights reserved.