public static enum P2JPostgreSQLDialect.UDF_TYPE extends java.lang.Enum<P2JPostgreSQLDialect.UDF_TYPE>
Modifier and Type | Method and Description |
---|---|
static java.util.Set<P2JPostgreSQLDialect.UDF_TYPE> |
config(java.lang.String dbName)
Get configured UDF types.
|
static boolean |
useSqlUdfs(java.lang.String dbName)
Check if SQL UDFs should be used with the database.
|
static P2JPostgreSQLDialect.UDF_TYPE |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static P2JPostgreSQLDialect.UDF_TYPE[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final P2JPostgreSQLDialect.UDF_TYPE JAVA
public static final P2JPostgreSQLDialect.UDF_TYPE SQL
public static P2JPostgreSQLDialect.UDF_TYPE[] values()
for (P2JPostgreSQLDialect.UDF_TYPE c : P2JPostgreSQLDialect.UDF_TYPE.values()) System.out.println(c);
public static P2JPostgreSQLDialect.UDF_TYPE valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Set<P2JPostgreSQLDialect.UDF_TYPE> config(java.lang.String dbName)
dbName
- database namepublic static boolean useSqlUdfs(java.lang.String dbName)
dbName
- database nametrue