|
||||||||||
| 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> |
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 AbstractJdbcDatabasepublic Integer getDefaultPort()
public boolean isCorrectDatabaseImplementation(DatabaseConnection conn)
throws DatabaseException
Database
DatabaseExceptionpublic boolean supportsInitiallyDeferrableColumns()
Database
public boolean supportsTablespaces()
public String getViewDefinition(CatalogAndSchema schema,
String viewName)
throws DatabaseException
getViewDefinition in interface DatabasegetViewDefinition in class AbstractJdbcDatabaseDatabaseExceptionpublic boolean supportsSequences()
AbstractJdbcDatabase
supportsSequences in interface DatabasesupportsSequences in class AbstractJdbcDatabasepublic boolean supportsSchemas()
supportsSchemas in interface DatabasesupportsSchemas in class AbstractJdbcDatabase
public String getTrigger(String table,
String column)
public String getAutoIncrementClause()
getAutoIncrementClause in class AbstractJdbcDatabaseprotected boolean generateAutoIncrementStartWith(BigInteger startWith)
generateAutoIncrementStartWith in class AbstractJdbcDatabaseprotected 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
DatabaseExceptionprotected Set<String> getSystemViews()
AbstractJdbcDatabase
getSystemViews in class AbstractJdbcDatabasepublic String getDateTimeLiteral(Timestamp date)
getDateTimeLiteral in interface DatabasegetDateTimeLiteral in class AbstractJdbcDatabase
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||