| Modifier and Type | Class and Description |
|---|---|
| public static class | |
| private static class |
| Modifier and Type | Field and Description |
|---|---|
| private static final Set | |
| private static final Set | |
| private static final Set | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| private static boolean | |
| private static boolean | isFunctionOrKeyword(String lcToken, String nextToken, Dialect dialect, SQLFunctionRegistry functionRegistry)
|
| private static boolean | |
| private static boolean | |
| public static String | Returns: The rendered ORDER BY template.The order-by fragment to render. orderByFragment, Dialect The SQL dialect being used. dialect, SQLFunctionRegistry The SQL function registry functionRegistry)
Deprecated
Use
Performs order-by template rendering without renderOrderByStringTemplate(String, ColumnMapper, SessionFactoryImplementor, Dialect, SQLFunctionRegistry) instead
column mapping.
|
| public static String | Returns: The rendered ORDER BY template.The order-by fragment to render. orderByFragment, final ColumnMapper The column mapping strategy to use. columnMapper, final SessionFactoryImplementor The session factory. sessionFactory, final Dialect The SQL dialect being used. dialect, final SQLFunctionRegistry The SQL function registry functionRegistry)Performs order-by template rendering allowing |
| public static String | renderWhereStringTemplate(String sqlWhereString, Dialect dialect, SQLFunctionRegistry functionRegistry)
|
| public static String | renderWhereStringTemplate(String sqlWhereString, String placeholder, Dialect dialect)
Deprecated
Only intended for annotations usage; use
Same functionality as renderWhereStringTemplate(String, String, Dialect, SQLFunctionRegistry) instead
renderWhereStringTemplate(String, String, Dialect, SQLFunctionRegistry),
except that a SQLFunctionRegistry is not provided (i.e., only the dialect-defined functions are
considered).
|
| public static String | Returns: The rendered sql fragmentThe string into which to interpolate the placeholder value sqlWhereString, String The value to be interpolated into the the sqlWhereString placeholder, Dialect The dialect to apply dialect, SQLFunctionRegistry The registry of all sql functions functionRegistry)Takes the where condition provided in the mapping attribute and interpolates the alias. |
| BEFORE_TABLE_KEYWORDS | back to summary |
|---|---|
| private static final Set<String> BEFORE_TABLE_KEYWORDS | |
| FUNCTION_KEYWORDS | back to summary |
|---|---|
| private static final Set<String> FUNCTION_KEYWORDS | |
| KEYWORDS | back to summary |
|---|---|
| private static final Set<String> KEYWORDS | |
| TEMPLATE | back to summary |
|---|---|
| public static final String TEMPLATE | |
| Template | back to summary |
|---|---|
| private Template() | |
| extractUntil | back to summary |
|---|---|
| private static String extractUntil(StringTokenizer tokens, String delimiter) | |
| isFunction | back to summary |
|---|---|
| private static boolean isFunction(String lcToken, String nextToken, SQLFunctionRegistry functionRegistry) | |
| isFunctionOrKeyword | back to summary |
|---|---|
| private static boolean isFunctionOrKeyword(String lcToken, String nextToken, Dialect dialect, SQLFunctionRegistry functionRegistry) | |
| isIdentifier | back to summary |
|---|---|
| private static boolean isIdentifier(String token, Dialect dialect) | |
| isNamedParameter | back to summary |
|---|---|
| private static boolean isNamedParameter(String token) | |
| renderOrderByStringTemplate | back to summary |
|---|---|
| public static String renderOrderByStringTemplate(String orderByFragment, Dialect dialect, SQLFunctionRegistry functionRegistry)
Deprecated Use Performs order-by template rendering without
| |
| renderOrderByStringTemplate | back to summary |
|---|---|
| public static String renderOrderByStringTemplate(String orderByFragment, final ColumnMapper columnMapper, final SessionFactoryImplementor sessionFactory, final Dialect dialect, final SQLFunctionRegistry functionRegistry) Performs order-by template rendering allowing
| |
| renderWhereStringTemplate | back to summary |
|---|---|
| public static String renderWhereStringTemplate(String sqlWhereString, Dialect dialect, SQLFunctionRegistry functionRegistry) | |
| renderWhereStringTemplate | back to summary |
|---|---|
| public static String renderWhereStringTemplate(String sqlWhereString, String placeholder, Dialect dialect)
Deprecated Only intended for annotations usage; use Same functionality as
| |
| renderWhereStringTemplate | back to summary |
|---|---|
| public static String renderWhereStringTemplate(String sqlWhereString, String placeholder, Dialect dialect, SQLFunctionRegistry functionRegistry) Takes the where condition provided in the mapping attribute and interpolates the alias. Handles sub-selects, quoted identifiers, quoted strings, expressions, SQL functions, named parameters.
| |
| Modifier and Type | Field and Description |
|---|---|
| public static final Template. |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public String[] | map(String
The property reference name. reference)Implements org. |
| INSTANCE | back to summary |
|---|---|
| public static final Template. | |
| NoOpColumnMapper | back to summary |
|---|---|
| public NoOpColumnMapper() | |
| map | back to summary |
|---|---|
| public String[] map(String reference) Implements org. Doc from org. Resolve the property reference to its underlying columns. | |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final String | |
| private final String |
| Access | Constructor and Description |
|---|---|
| private |
| from | back to summary |
|---|---|
| private final String from | |
| trimChar | back to summary |
|---|---|
| private final String trimChar | |
| trimSource | back to summary |
|---|---|
| private final String trimSource | |
| trimSpec | back to summary |
|---|---|
| private final String trimSpec | |
| TrimOperands | back to summary |
|---|---|
| private TrimOperands(List<String> operands) | |