public class PGDBUtilDriver extends Object implements IDBSchemaUtilsDriver
HANDLE_DEFAULT, HANDLE_FALLBACK, HANDLE_NONE, REQUIRED_DEFAULT_COLUMNAPPLICABLE_DEFAULT, APPLICABLE_FALLBACK, APPLICABLE_NONE| Constructor and Description |
|---|
PGDBUtilDriver() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcatalogSearchPattern, cleanColumnForeignKeys, confirmDropSchema, createColumn, createSchema, createTable, dropColumn, dropDummyColumns, dropForeignKey, dropIndex, dropSchema, isValidColumnProperties, isValidForeignKey, isValidIndex, objectSearchPattern, primaryKeyExists, quotedChar, schemaExists, schemaSearchPattern, setPrimaryKey, setPrimaryKeyWithIndex, setPrimaryKeyWithoutIndex, setValidForeignKey, setValidIndex, tableExists, tableRequiresColumnpublic int driverIsApplicableFor(Map<String,Object> properties)
driverIsApplicableFor in interface Driver.IDriverpublic boolean columnExists(Connection connection, BranchNode<?,DBSchemaNodeType> schema, BranchNode<?,TableNodeType> table, BranchNode<?,ColumnNodeType> column, Map<String,Object> columnProperties) throws SQLException
IDBSchemaUtilsDrivercolumnSpec.columnExists in interface IDBSchemaUtilsDriverconnection - underlying connection to check existence of columnschema - hole schema specificationtable - table specification of columns tablecolumn - column specification to checkcolumnProperties - properties to store working parameterSQLExceptionpublic String determineColumnType(Connection connection, BranchNode<?,DBSchemaNodeType> schema, BranchNode<?,TableNodeType> table, BranchNode<?,ColumnNodeType> column, Map<String,Object> columnProperties) throws SQLException
IDBSchemaUtilsDriverdetermineColumnType in interface IDBSchemaUtilsDriverconnection - underlying connection to check valid type of existing columnschema - hole schema specificationtable - table specification of columns tablecolumn - column specification to checkcolumnProperties - properties with working parameterSQLExceptionpublic void setValidColumnProperties(Connection connection, BranchNode<?,DBSchemaNodeType> schema, BranchNode<?,TableNodeType> table, BranchNode<?,ColumnNodeType> column, Map<String,Object> columnProperties) throws SQLException
IDBSchemaUtilsDriversetValidColumnProperties in interface IDBSchemaUtilsDriverconnection - connection underlying connection to setup columnschema - hole schema specificationtable - table specification of columns tablecolumn - column specification for setupcolumnProperties - 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 typepublic String tableSpaceAppendix(Connection connection, BranchNode<?,DBSchemaNodeType> schema, BranchNode<?,TableNodeType> table, Map<String,Object> properties, String tableSpace, String type)
tableSpaceAppendix in interface IDBSchemaUtilsDriverpublic String getFunctionExpression(String function)
IDBSchemaUtilsDrivergetFunctionExpression in interface IDBSchemaUtilsDriverfunction - name of functionCopyright © 2020. All rights reserved.