| Modifier and Type | Class and Description |
|---|---|
| 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 | |
| public static final String |
| Access | Constructor and Description |
|---|---|
| private |
| Modifier and Type | Method and Description |
|---|---|
| public static List | collectColumnNames(String sql, Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry)
|
| public static List | |
| private static String | |
| private static boolean | |
| private static boolean | |
| private static boolean | isFunctionOrKeyword(String lcToken, String nextToken, Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry)
|
| private static boolean | |
| private static boolean | |
| private static boolean | |
| public static String | |
| public static String | renderWhereStringTemplate(String sqlWhereString, Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry)
|
| 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 sqlWhereString placeholder, Dialect The dialect to apply dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry 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 | |
| PUNCTUATION | back to summary |
|---|---|
| public static final String PUNCTUATION | |
| TEMPLATE | back to summary |
|---|---|
| public static final String TEMPLATE | |
| Template | back to summary |
|---|---|
| private Template() | |
| collectColumnNames | back to summary |
|---|---|
| public static List | |
| collectColumnNames | back to summary |
|---|---|
| public static List | |
| extractUntil | back to summary |
|---|---|
| private static String extractUntil(StringTokenizer tokens, String delimiter) | |
| isBoolean | back to summary |
|---|---|
| private static boolean isBoolean(String token) | |
| isFunction | back to summary |
|---|---|
| private static boolean isFunction(String lcToken, String nextToken, SqmFunctionRegistry functionRegistry) | |
| isFunctionOrKeyword | back to summary |
|---|---|
| private static boolean isFunctionOrKeyword(String lcToken, String nextToken, Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry) | |
| isIdentifier | back to summary |
|---|---|
| private static boolean isIdentifier(String token) | |
| isNamedParameter | back to summary |
|---|---|
| private static boolean isNamedParameter(String token) | |
| isType | back to summary |
|---|---|
| private static boolean isType(String lcToken, TypeConfiguration typeConfiguration) | |
| renderTransformerReadFragment | back to summary |
|---|---|
| public static String renderTransformerReadFragment(String fragment, String... columnNames) | |
| renderWhereStringTemplate | back to summary |
|---|---|
| public static String renderWhereStringTemplate(String sqlWhereString, Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry functionRegistry) | |
| renderWhereStringTemplate | back to summary |
|---|---|
| public static String renderWhereStringTemplate(String sqlWhereString, String placeholder, Dialect dialect, TypeConfiguration typeConfiguration, SqmFunctionRegistry 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 |
|---|---|
| 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) | |