public class Schemas
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static Column[] |
EMPTY_COLUMNS |
static ForeignKey[] |
EMPTY_FOREIGN_KEYS |
static Index[] |
EMPTY_INDEXES |
static Unique[] |
EMPTY_UNIQUES |
static java.lang.Object[] |
EMPTY_VALUES |
Constructor and Description |
---|
Schemas() |
Modifier and Type | Method and Description |
---|---|
static java.lang.Class<?> |
getJavaType(int type,
int size,
int decimals)
Return the java type for the given SQL type from
Types . |
static java.lang.String |
getJDBCName(int type)
Return the SQL type name for the given
Types constant. |
static int |
getJDBCType(java.lang.String name)
Return the
Types constant for the given SQL type name. |
static java.lang.String |
getNewTableSchema(JDBCConfiguration conf)
Deprecated.
|
static DBIdentifier |
getNewTableSchemaIdentifier(JDBCConfiguration conf) |
public static final Column[] EMPTY_COLUMNS
public static final ForeignKey[] EMPTY_FOREIGN_KEYS
public static final Index[] EMPTY_INDEXES
public static final Unique[] EMPTY_UNIQUES
public static final java.lang.Object[] EMPTY_VALUES
public static java.lang.String getNewTableSchema(JDBCConfiguration conf)
public static DBIdentifier getNewTableSchemaIdentifier(JDBCConfiguration conf)
public static java.lang.String getJDBCName(int type)
Types
constant.public static int getJDBCType(java.lang.String name)
Types
constant for the given SQL type name.public static java.lang.Class<?> getJavaType(int type, int size, int decimals)
Types
.