public interface IColumnType extends Driver.IDriver
| Modifier and Type | Interface and Description |
|---|---|
static class |
IColumnType.ColumnType |
static class |
IColumnType.Function |
APPLICABLE_DEFAULT, APPLICABLE_FALLBACK, APPLICABLE_NONE| Modifier and Type | Method and Description |
|---|---|
String |
getDefaultValueExpression(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
String dbProduct,
IDBSchemaUtilsDriver schemaDriver)
return the expression for default type of column in create or alter column command
|
String |
getTypeExpression(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
String dbProduct,
IDBSchemaUtilsDriver schemaDriver)
return the expression for column type in create or alter column command
|
List<String> |
getTypeList()
Getter for supported column types
|
driverIsApplicableForList<String> getTypeList()
String getTypeExpression(Connection connection, BranchNode<?,DBSchemaNodeType> schema, BranchNode<?,TableNodeType> table, BranchNode<?,ColumnNodeType> column, String dbProduct, IDBSchemaUtilsDriver schemaDriver) throws SQLException
connection - used connectionschema - used schema specificationtable - used table specificationcolumn - used column specificationdbProduct - database product nameschemaDriver - used schema driverSQLExceptionString getDefaultValueExpression(Connection connection, BranchNode<?,DBSchemaNodeType> schema, BranchNode<?,TableNodeType> table, BranchNode<?,ColumnNodeType> column, String dbProduct, IDBSchemaUtilsDriver schemaDriver) throws SQLException
connection - used connectionschema - used schema specificationtable - used table specificationcolumn - used column specificationdbProduct - database product nameschemaDriver - used schema driverSQLExceptionCopyright © 2020. All rights reserved.