|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectliquibase.database.AbstractJdbcDatabase
liquibase.database.core.SQLiteDatabase
public class SQLiteDatabase
Nested Class Summary | |
---|---|
static interface |
SQLiteDatabase.AlterTableVisitor
|
Field Summary | |
---|---|
static String |
PRODUCT_NAME
|
Fields inherited from interface liquibase.servicelocator.PrioritizedService |
---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
Constructor Summary | |
---|---|
SQLiteDatabase()
|
Method Summary | |
---|---|
protected boolean |
generateAutoIncrementBy(BigInteger incrementBy)
|
protected boolean |
generateAutoIncrementStartWith(BigInteger startWith)
|
static List<SqlStatement> |
getAlterTableStatements(SQLiteDatabase.AlterTableVisitor alterTableVisitor,
Database database,
String catalogName,
String schemaName,
String tableName)
|
String |
getAutoIncrementClause()
|
String |
getDateTimeLiteral(Timestamp date)
|
protected String |
getDefaultDatabaseProductName()
|
String |
getDefaultDriver(String url)
If this database understands the given url, return the default driver class name. |
Integer |
getDefaultPort()
|
int |
getPriority()
|
String |
getShortName()
Returns an all-lower-case short name of the product. |
protected Set<String> |
getSystemTables()
Returns system (undroppable) views. |
protected Set<String> |
getSystemViews()
Returns system (undroppable) views. |
String |
getTrigger(String table,
String column)
|
String |
getViewDefinition(CatalogAndSchema schema,
String viewName)
|
boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn)
Is this AbstractDatabase subclass the correct one to use for the given connection. |
boolean |
supportsInitiallyDeferrableColumns()
Returns whether this database support initially deferrable columns. |
boolean |
supportsSchemas()
|
boolean |
supportsSequences()
Does the database type support sequence. |
boolean |
supportsTablespaces()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String PRODUCT_NAME
Constructor Detail |
---|
public SQLiteDatabase()
Method Detail |
---|
public String getDefaultDriver(String url)
Database
public int getPriority()
public String getShortName()
Database
protected String getDefaultDatabaseProductName()
getDefaultDatabaseProductName
in class AbstractJdbcDatabase
public Integer getDefaultPort()
public boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException
Database
DatabaseException
public boolean supportsInitiallyDeferrableColumns()
Database
public boolean supportsTablespaces()
public String getViewDefinition(CatalogAndSchema schema, String viewName) throws DatabaseException
getViewDefinition
in interface Database
getViewDefinition
in class AbstractJdbcDatabase
DatabaseException
public boolean supportsSequences()
AbstractJdbcDatabase
supportsSequences
in interface Database
supportsSequences
in class AbstractJdbcDatabase
public boolean supportsSchemas()
supportsSchemas
in interface Database
supportsSchemas
in class AbstractJdbcDatabase
public String getTrigger(String table, String column)
public String getAutoIncrementClause()
getAutoIncrementClause
in class AbstractJdbcDatabase
protected boolean generateAutoIncrementStartWith(BigInteger startWith)
generateAutoIncrementStartWith
in class AbstractJdbcDatabase
protected boolean generateAutoIncrementBy(BigInteger incrementBy)
generateAutoIncrementBy
in class AbstractJdbcDatabase
public static List<SqlStatement> getAlterTableStatements(SQLiteDatabase.AlterTableVisitor alterTableVisitor, Database database, String catalogName, String schemaName, String tableName) throws DatabaseException
DatabaseException
protected Set<String> getSystemViews()
AbstractJdbcDatabase
getSystemViews
in class AbstractJdbcDatabase
protected Set<String> getSystemTables()
AbstractJdbcDatabase
getSystemTables
in class AbstractJdbcDatabase
public String getDateTimeLiteral(Timestamp date)
getDateTimeLiteral
in interface Database
getDateTimeLiteral
in class AbstractJdbcDatabase
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |