public class H2DBUtilDriver extends Object implements IDBSchemaUtilsDriver
HANDLE_DEFAULT, HANDLE_FALLBACK, HANDLE_NONE, REQUIRED_DEFAULT_COLUMNAPPLICABLE_DEFAULT, APPLICABLE_FALLBACK, APPLICABLE_NONE| Constructor and Description |
|---|
H2DBUtilDriver() |
| Modifier and Type | Method and Description |
|---|---|
int |
driverIsApplicableFor(Map<String,Object> properties) |
String |
objectNameGuidelineFormat(BranchNode<?,DBSchemaNodeType> schema,
Connection connection,
String name,
String type)
convert object name (e.g.
|
void |
setPrimaryKey(Connection connection,
BranchNode<?,DBSchemaNodeType> schema,
BranchNode<?,TableNodeType> table,
Map<String,Object> tableProperties)
create primary key
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcatalogSearchPattern, cleanColumnForeignKeys, columnExists, confirmDropSchema, createColumn, createSchema, createTable, determineColumnType, dropColumn, dropDummyColumns, dropForeignKey, dropIndex, dropSchema, getFunctionExpression, isValidColumnProperties, isValidForeignKey, isValidIndex, objectSearchPattern, primaryKeyExists, quotedChar, schemaExists, schemaSearchPattern, setPrimaryKeyWithIndex, setPrimaryKeyWithoutIndex, setValidColumnProperties, setValidForeignKey, setValidIndex, tableExists, tableRequiresColumn, tableSpaceAppendixpublic int driverIsApplicableFor(Map<String,Object> properties)
driverIsApplicableFor in interface Driver.IDriverpublic void setPrimaryKey(Connection connection, BranchNode<?,DBSchemaNodeType> schema, BranchNode<?,TableNodeType> table, Map<String,Object> tableProperties) throws SQLException
IDBSchemaUtilsDriversetPrimaryKey in interface IDBSchemaUtilsDriverconnection - underlying connection to create primary keyschema - hole schema specificationtable - table specification to create primary keytableProperties - properties to store working parameterSQLExceptionpublic String objectNameGuidelineFormat(BranchNode<?,DBSchemaNodeType> schema, Connection connection, String name, String type)
IDBSchemaUtilsDriverobjectNameGuidelineFormat in interface IDBSchemaUtilsDriverschema - hole schema specificationconnection - underlying connectionname - object's nametype - object typeCopyright © 2020. All rights reserved.