public class JPQLTemplates extends Templates
Templates
to provide operator patterns for JPQL
serializationHQLTemplates
,
EclipseLinkTemplates
Modifier and Type | Field and Description |
---|---|
static Operator<java.lang.Object> |
CAST |
static JPQLTemplates |
DEFAULT |
static char |
DEFAULT_ESCAPE |
static Operator<java.lang.Integer> |
INDEX |
static Operator<java.lang.Boolean> |
MEMBER_OF |
static Operator<java.lang.String> |
TYPE |
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 |
getExistsProjection() |
QueryHandler |
getQueryHandler() |
boolean |
isEnumInPathSupported() |
boolean |
isPathInEntitiesSupported() |
boolean |
isSelect1Supported() |
boolean |
isTypeAsString() |
boolean |
isWithForOn() |
boolean |
wrapConstant(java.lang.Object constant) |
boolean |
wrapElements(Operator<?> operator) |
add, add, getEscapeChar, getPrecedence, getTemplate
public static final char DEFAULT_ESCAPE
public static final Operator<java.lang.Integer> INDEX
public static final Operator<java.lang.String> TYPE
public static final Operator<java.lang.Object> CAST
public static final Operator<java.lang.Boolean> MEMBER_OF
public static final JPQLTemplates DEFAULT
protected JPQLTemplates()
protected JPQLTemplates(char escape)
protected JPQLTemplates(char escape, QueryHandler queryHandler)
public boolean wrapElements(Operator<?> operator)
public boolean isTypeAsString()
public boolean isEnumInPathSupported()
public boolean isPathInEntitiesSupported()
public boolean isSelect1Supported()
@Nullable public java.lang.String getExistsProjection()
public boolean wrapConstant(java.lang.Object constant)
public boolean isWithForOn()
public QueryHandler getQueryHandler()
Copyright © 2007-2013 Mysema Ltd. All Rights Reserved.