public abstract class AbstractDatabaseProperties extends Object implements DatabaseProperties
Modifier and Type | Field and Description |
---|---|
protected QualifiedNameFactory |
nameFactory |
Constructor and Description |
---|
AbstractDatabaseProperties(DatabaseMetaData metaData,
Dialect dialect) |
Modifier and Type | Method and Description |
---|---|
protected abstract List<String> |
defaultSchemas() |
SequenceProperties |
findSequence(String sequence) |
TableProperties |
findTable(String table) |
String |
findType(int precision,
int... types) |
Collection<SequenceProperties> |
getSequences() |
Collection<TableProperties> |
getTables() |
boolean |
locatorsUpdateCopy() |
protected abstract Map<QualifiedName,SequenceProperties> |
sequences() |
boolean |
supportsSelectForUpdate() |
protected abstract Map<QualifiedName,TableProperties> |
tables() |
protected abstract Map<Integer,Map.Entry<String,Integer>> |
types() |
protected final QualifiedNameFactory nameFactory
public AbstractDatabaseProperties(DatabaseMetaData metaData, Dialect dialect) throws SQLException
SQLException
public final boolean supportsSelectForUpdate()
supportsSelectForUpdate
in interface DatabaseProperties
DatabaseProperties.supportsSelectForUpdate()
public boolean locatorsUpdateCopy()
locatorsUpdateCopy
in interface DatabaseProperties
DatabaseProperties.locatorsUpdateCopy()
public final Collection<TableProperties> getTables() throws SQLException
getTables
in interface DatabaseProperties
SQLException
DatabaseProperties.getTables()
protected abstract Map<QualifiedName,TableProperties> tables() throws SQLException
SQLException
public final Collection<SequenceProperties> getSequences() throws SQLException
getSequences
in interface DatabaseProperties
SQLException
DatabaseProperties.getSequences()
protected abstract Map<QualifiedName,SequenceProperties> sequences() throws SQLException
SQLException
public final TableProperties findTable(String table) throws SQLException
findTable
in interface DatabaseProperties
SQLException
DatabaseProperties.findTable(java.lang.String)
public final SequenceProperties findSequence(String sequence) throws SQLException
findSequence
in interface DatabaseProperties
SQLException
DatabaseProperties.findSequence(java.lang.String)
protected abstract List<String> defaultSchemas() throws SQLException
SQLException
public String findType(int precision, int... types) throws SQLException
findType
in interface DatabaseProperties
SQLException
DatabaseProperties.findType(int, int[])
protected abstract Map<Integer,Map.Entry<String,Integer>> types() throws SQLException
SQLException
Copyright © 2004–2014 Paul Ferraro. All rights reserved.