public final class MariaDbHelper
extends java.lang.Object
| Modifier | Constructor and Description |
|---|---|
private |
MariaDbHelper()
Private constructor.
|
| Modifier and Type | Method and Description |
|---|---|
private static char |
getSqlDecoration(java.lang.String javaType)
Returns the parameter decoration for fixing the function overloading constraint in MariaDb.
|
static void |
registerOverloadedFunctions(Database database)
Register the function aliases with the HQL preprocessor, for the permanent database.
|
private static void |
registerOverloadedFunctions(Database database,
java.util.List<java.lang.reflect.Method> funcs)
Get function aliases for the given list of static methods, optionally making the alias names
unique by appending parameter type decorations.
|
private MariaDbHelper()
public static void registerOverloadedFunctions(Database database)
database - Database to prepare.private static void registerOverloadedFunctions(Database database, java.util.List<java.lang.reflect.Method> funcs)
database - Database in which to create aliases.funcs - List of static methods for which function aliases should be created.private static char getSqlDecoration(java.lang.String javaType)
javaType - The java type (full name).