@ProviderType
public interface DB
| Modifier and Type | Method and Description |
|---|---|
void |
addIndexes(java.sql.Connection con,
java.lang.String indexesSQL,
java.util.Set<java.lang.String> validIndexNames) |
void |
buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName) |
void |
buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName,
int population) |
java.lang.String |
buildSQL(java.lang.String template) |
void |
buildSQLFile(java.lang.String sqlDir,
java.lang.String fileName) |
DBType |
getDBType() |
java.util.List<Index> |
getIndexes(java.sql.Connection con) |
int |
getMajorVersion() |
int |
getMinorVersion() |
java.lang.String |
getTemplateBlob() |
java.lang.String |
getTemplateFalse() |
java.lang.String |
getTemplateTrue() |
java.lang.String |
getVersionString() |
long |
increment() |
long |
increment(java.lang.String name) |
boolean |
isSupportsAlterColumnName() |
boolean |
isSupportsAlterColumnType() |
boolean |
isSupportsInlineDistinct() |
boolean |
isSupportsQueryingAfterException() |
boolean |
isSupportsScrollableResults() |
boolean |
isSupportsStringCaseSensitiveQuery() |
boolean |
isSupportsUpdateWithInnerJoin() |
void |
runSQL(java.sql.Connection con,
java.lang.String sql) |
void |
runSQL(java.sql.Connection con,
java.lang.String[] sqls) |
void |
runSQL(java.lang.String sql) |
void |
runSQL(java.lang.String[] sqls) |
void |
runSQLTemplate(java.lang.String path) |
void |
runSQLTemplate(java.lang.String path,
boolean failOnError) |
void |
runSQLTemplateString(java.sql.Connection connection,
java.lang.String template,
boolean evaluate,
boolean failOnError) |
void |
runSQLTemplateString(java.lang.String template,
boolean evaluate,
boolean failOnError) |
void |
setSupportsStringCaseSensitiveQuery(boolean supportsStringCaseSensitiveQuery) |
void |
updateIndexes(java.sql.Connection con,
java.lang.String tablesSQL,
java.lang.String indexesSQL,
boolean dropStaleIndexes) |
static final int BARE
static final int DEFAULT
void addIndexes(java.sql.Connection con,
java.lang.String indexesSQL,
java.util.Set<java.lang.String> validIndexNames)
throws java.io.IOException
java.io.IOExceptionvoid buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName)
throws java.io.IOException
java.io.IOExceptionvoid buildCreateFile(java.lang.String sqlDir,
java.lang.String databaseName,
int population)
throws java.io.IOException
java.io.IOExceptionjava.lang.String buildSQL(java.lang.String template)
throws java.io.IOException
java.io.IOExceptionvoid buildSQLFile(java.lang.String sqlDir,
java.lang.String fileName)
throws java.io.IOException
java.io.IOExceptionDBType getDBType()
java.util.List<Index> getIndexes(java.sql.Connection con) throws java.sql.SQLException
java.sql.SQLExceptionint getMajorVersion()
int getMinorVersion()
java.lang.String getTemplateBlob()
java.lang.String getTemplateFalse()
java.lang.String getTemplateTrue()
java.lang.String getVersionString()
long increment()
long increment(java.lang.String name)
boolean isSupportsAlterColumnName()
boolean isSupportsAlterColumnType()
boolean isSupportsInlineDistinct()
boolean isSupportsQueryingAfterException()
boolean isSupportsScrollableResults()
boolean isSupportsStringCaseSensitiveQuery()
boolean isSupportsUpdateWithInnerJoin()
void runSQL(java.sql.Connection con,
java.lang.String sql)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQL(java.sql.Connection con,
java.lang.String[] sqls)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQL(java.lang.String sql)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQL(java.lang.String[] sqls)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLExceptionvoid runSQLTemplate(java.lang.String path)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionvoid runSQLTemplate(java.lang.String path,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionvoid runSQLTemplateString(java.sql.Connection connection,
java.lang.String template,
boolean evaluate,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionvoid runSQLTemplateString(java.lang.String template,
boolean evaluate,
boolean failOnError)
throws java.io.IOException,
javax.naming.NamingException,
java.sql.SQLException
java.io.IOExceptionjavax.naming.NamingExceptionjava.sql.SQLExceptionvoid setSupportsStringCaseSensitiveQuery(boolean supportsStringCaseSensitiveQuery)
void updateIndexes(java.sql.Connection con,
java.lang.String tablesSQL,
java.lang.String indexesSQL,
boolean dropStaleIndexes)
throws java.io.IOException,
java.sql.SQLException
java.io.IOExceptionjava.sql.SQLException