| Package | Description |
|---|---|
| org.sodeac.common.jdbc | |
| org.sodeac.common.jdbc.impl | |
| org.sodeac.common.model.dbschema |
| Modifier and Type | Method and Description |
|---|---|
protected BranchNode<TableNodeType,ColumnNodeType> |
DBSchemaUtils.ColumnTracker.getColumn() |
protected BranchNode<DBSchemaNodeType,TableNodeType> |
DBSchemaUtils.TableTracker.getTable() |
| Modifier and Type | Method and Description |
|---|---|
static DBSchemaUtils.ColumnTracker |
DBSchemaUtils.ColumnProcessor.checkColumnDefinition(DBSchemaUtils dbSchemaUtils,
Connection connection,
IDBSchemaUtilsDriver driver,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<DBSchemaNodeType,TableNodeType> table,
BranchNode<TableNodeType,ColumnNodeType> column,
Map<String,Object> tableProperties,
DBSchemaUtils.CheckProperties checkProperties) |
static DBSchemaUtils.ColumnTracker |
DBSchemaUtils.ColumnProcessor.checkColumnDefinition(DBSchemaUtils dbSchemaUtils,
Connection connection,
IDBSchemaUtilsDriver driver,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<DBSchemaNodeType,TableNodeType> table,
BranchNode<TableNodeType,ColumnNodeType> column,
Map<String,Object> tableProperties,
DBSchemaUtils.CheckProperties checkProperties) |
static void |
DBSchemaUtils.ColumnProcessor.checkColumnProperties(DBSchemaUtils dbSchemaUtils,
Connection connection,
IDBSchemaUtilsDriver driver,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
DBSchemaUtils.ColumnTracker columnTracker,
Map<String,Object> columnProperties,
DBSchemaUtils.CheckProperties checkProperties) |
protected static DBSchemaUtils.TableTracker |
DBSchemaUtils.TableProcessor.checkTableDefinition(DBSchemaUtils dbSchemaUtils,
Connection connection,
IDBSchemaUtilsDriver driver,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<DBSchemaNodeType,TableNodeType> table,
DBSchemaUtils.CheckProperties checkProperties) |
static void |
IDBSchemaUtilsDriver.cleanColumnForeignKeys(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
IDBSchemaUtilsDriver dbSchemaUtilsDriver) |
default boolean |
IDBSchemaUtilsDriver.columnExists(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
Map<String,Object> columnProperties)
check existence of column by
columnSpec. |
default void |
IDBSchemaUtilsDriver.createColumn(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
Map<String,Object> columnProperties)
create column
|
static void |
DBSchemaUtils.ColumnProcessor.createColumnKeys(DBSchemaUtils dbSchemaUtils,
Connection connection,
IDBSchemaUtilsDriver driver,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
DBSchemaUtils.ColumnTracker columnTracker,
DBSchemaUtils.CheckProperties checkProperties) |
default void |
IDBSchemaUtilsDriver.createTable(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> tableProperties)
create a table object in database
|
default String |
IDBSchemaUtilsDriver.determineColumnType(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
Map<String,Object> columnProperties)
determine type of column
|
default void |
IDBSchemaUtilsDriver.dropColumn(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
String columnName,
boolean quoted)
drop column
|
default void |
IDBSchemaUtilsDriver.dropForeignKey(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
String keyName,
boolean quoted)
drop foreign key
|
default void |
IDBSchemaUtilsDriver.dropIndex(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
String indexName,
boolean quoted)
drop index with indexName
|
String |
IColumnType.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 |
IColumnType.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
|
default boolean |
IDBSchemaUtilsDriver.isValidColumnProperties(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
Map<String,Object> columnProperties)
check column properties (default-value, type, nullable)
|
default boolean |
IDBSchemaUtilsDriver.isValidForeignKey(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
Map<String,Object> columnProperties)
check valid created foreign key
|
default boolean |
IDBSchemaUtilsDriver.isValidIndex(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,IndexNodeType> index,
Map<String,Object> indexProperties)
check valid index setup
|
default boolean |
IDBSchemaUtilsDriver.primaryKeyExists(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> tableProperties)
check existence of tables primary key by
tableSpec. |
protected void |
DBSchemaUtils.ColumnTracker.setColumn(BranchNode<TableNodeType,ColumnNodeType> column) |
default void |
IDBSchemaUtilsDriver.setPrimaryKey(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> tableProperties)
create primary key
|
static void |
IDBSchemaUtilsDriver.setPrimaryKeyWithIndex(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> tableProperties,
IDBSchemaUtilsDriver dbSchemaUtilsDriver) |
static void |
IDBSchemaUtilsDriver.setPrimaryKeyWithoutIndex(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> tableProperties,
IDBSchemaUtilsDriver dbSchemaUtilsDriver) |
protected void |
DBSchemaUtils.TableTracker.setTable(BranchNode<DBSchemaNodeType,TableNodeType> table) |
default void |
IDBSchemaUtilsDriver.setValidColumnProperties(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
Map<String,Object> columnProperties)
set valid column properties (default-value, type, nullable)
|
default void |
IDBSchemaUtilsDriver.setValidForeignKey(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,ColumnNodeType> column,
Map<String,Object> columnProperties)
create or update foreign key setting for
columnSpec |
default void |
IDBSchemaUtilsDriver.setValidIndex(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
BranchNode<?,IndexNodeType> index,
Map<String,Object> indexProperties)
setup valid index by
indexSpec |
default boolean |
IDBSchemaUtilsDriver.tableExists(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> tableProperties)
check existence of table by
tableSpec. |
default String |
IDBSchemaUtilsDriver.tableSpaceAppendix(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> properties,
String tableSpace,
String type) |
| Modifier and Type | Field and Description |
|---|---|
static BranchNodeListType<TableNodeType,ColumnNodeType> |
TableNodeType.columns |
static BranchNodeListType<TableNodeType,EventConsumerNodeType> |
TableNodeType.consumers |
static LeafNodeType<TableNodeType,String> |
TableNodeType.dbmsSchemaName |
static BranchNodeListType<TableNodeType,IndexNodeType> |
TableNodeType.indices |
static LeafNodeType<TableNodeType,String> |
TableNodeType.name |
static LeafNodeType<TableNodeType,Boolean> |
TableNodeType.quotedName |
static BranchNodeListType<DBSchemaNodeType,TableNodeType> |
DBSchemaNodeType.tables |
static LeafNodeType<TableNodeType,String> |
TableNodeType.tableSpace |
Copyright © 2020. All rights reserved.