|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectliquibase.database.AbstractDatabase
liquibase.database.core.CacheDatabase
public class CacheDatabase
Field Summary | |
---|---|
static java.lang.String |
PRODUCT_NAME
|
Fields inherited from class liquibase.database.AbstractDatabase |
---|
currentDateTimeFunction, databaseFunctions |
Fields inherited from interface liquibase.servicelocator.PrioritizedService |
---|
PRIORITY_DATABASE, PRIORITY_DEFAULT |
Constructor Summary | |
---|---|
CacheDatabase()
|
Method Summary | |
---|---|
java.lang.String |
getCurrentDateTimeFunction()
Returns database-specific function for generating the current date/time. |
protected java.lang.String |
getDefaultDatabaseSchemaName()
|
java.lang.String |
getDefaultDriver(java.lang.String url)
If this database understands the given url, return the default driver class name. |
java.lang.String |
getLineComment()
Returns database-specific line comment string. |
int |
getPriority()
|
java.lang.String |
getTypeName()
Returns an all-lower-case short name of the product. |
java.lang.String |
getViewDefinition(java.lang.String schemaName,
java.lang.String viewName)
|
boolean |
isCorrectDatabaseImplementation(DatabaseConnection conn)
Is this AbstractDatabase subclass the correct one to use for the given connection. |
boolean |
supportsAutoIncrement()
|
boolean |
supportsInitiallyDeferrableColumns()
Returns whether this database support initially deferrable columns. |
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 java.lang.String PRODUCT_NAME
Constructor Detail |
---|
public CacheDatabase()
Method Detail |
---|
public java.lang.String getCurrentDateTimeFunction()
Database
public java.lang.String getDefaultDriver(java.lang.String url)
Database
public int getPriority()
public java.lang.String getTypeName()
Database
public boolean isCorrectDatabaseImplementation(DatabaseConnection conn) throws DatabaseException
Database
DatabaseException
public boolean supportsInitiallyDeferrableColumns()
Database
public java.lang.String getLineComment()
AbstractDatabase
getLineComment
in interface Database
getLineComment
in class AbstractDatabase
protected java.lang.String getDefaultDatabaseSchemaName() throws DatabaseException
getDefaultDatabaseSchemaName
in class AbstractDatabase
DatabaseException
public boolean supportsSequences()
AbstractDatabase
supportsSequences
in interface Database
supportsSequences
in class AbstractDatabase
public boolean supportsTablespaces()
public boolean supportsAutoIncrement()
supportsAutoIncrement
in interface Database
supportsAutoIncrement
in class AbstractDatabase
public java.lang.String getViewDefinition(java.lang.String schemaName, java.lang.String viewName) throws DatabaseException
getViewDefinition
in interface Database
getViewDefinition
in class AbstractDatabase
DatabaseException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |