|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectliquibase.database.AbstractDatabase
liquibase.database.CacheDatabase
public class CacheDatabase
| Field Summary | |
|---|---|
static java.lang.String |
PRODUCT_NAME
|
| Fields inherited from class liquibase.database.AbstractDatabase |
|---|
currentDateTimeFunction, log |
| Constructor Summary | |
|---|---|
CacheDatabase()
|
|
| Method Summary | |
|---|---|
java.lang.Object |
convertDatabaseValueToJavaObject(java.lang.Object defaultValue,
int dataType,
int columnSize,
int decimalDigits)
|
DatabaseSnapshot |
createDatabaseSnapshot(java.lang.String schema,
java.util.Set<DiffStatusListener> statusListeners)
|
java.lang.String |
getBlobType()
Returns the actual database-specific data type to use a "BLOB" column. |
java.lang.String |
getBooleanType()
Returns the actual database-specific data type to use a "boolean" column. |
java.lang.String |
getClobType()
Returns the actual database-specific data type to use a "CLOB" column. |
java.lang.String |
getCurrencyType()
Returns the actual database-specific data type to use a "currency" column. |
java.lang.String |
getCurrentDateTimeFunction()
Returns database-specific function for generating the current date/time. |
java.lang.String |
getDateTimeType()
Returns the actual database-specific data type to use a "datetime" column. |
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 |
getFalseBooleanValue()
The database-specific value to use for "false" "boolean" columns. |
java.lang.String |
getLineComment()
Returns database-specific line comment string. |
java.lang.String |
getProductName()
Returns the full database product name. |
java.lang.String |
getTrueBooleanValue()
The database-specific value to use for "true" "boolean" columns. |
java.lang.String |
getTypeName()
Returns an all-lower-case short name of the product. |
java.lang.String |
getUUIDType()
Returns the actual database-specific data type to use a "UUID" column. |
java.lang.String |
getViewDefinition(java.lang.String schemaName,
java.lang.String viewName)
|
boolean |
isCorrectDatabaseImplementation(java.sql.Connection 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 getBlobType()
Database
public java.lang.String getBooleanType()
Database
public java.lang.String getClobType()
Database
public java.lang.String getCurrencyType()
Database
public java.lang.String getDateTimeType()
Database
public java.lang.String getUUIDType()
Database
public java.lang.String getCurrentDateTimeFunction()
Database
public java.lang.String getDefaultDriver(java.lang.String url)
Database
public java.lang.String getProductName()
Database
public java.lang.String getTypeName()
Database
public boolean isCorrectDatabaseImplementation(java.sql.Connection conn)
throws JDBCException
Database
JDBCExceptionpublic boolean supportsInitiallyDeferrableColumns()
Database
public java.lang.String getLineComment()
AbstractDatabase
getLineComment in interface DatabasegetLineComment in class AbstractDatabasepublic java.lang.String getFalseBooleanValue()
AbstractDatabase
getFalseBooleanValue in interface DatabasegetFalseBooleanValue in class AbstractDatabasepublic java.lang.String getTrueBooleanValue()
AbstractDatabase
getTrueBooleanValue in interface DatabasegetTrueBooleanValue in class AbstractDatabase
protected java.lang.String getDefaultDatabaseSchemaName()
throws JDBCException
getDefaultDatabaseSchemaName in class AbstractDatabaseJDBCExceptionpublic boolean supportsSequences()
AbstractDatabase
supportsSequences in interface DatabasesupportsSequences in class AbstractDatabasepublic boolean supportsTablespaces()
public boolean supportsAutoIncrement()
supportsAutoIncrement in interface DatabasesupportsAutoIncrement in class AbstractDatabase
public java.lang.Object convertDatabaseValueToJavaObject(java.lang.Object defaultValue,
int dataType,
int columnSize,
int decimalDigits)
throws java.text.ParseException
convertDatabaseValueToJavaObject in interface DatabaseconvertDatabaseValueToJavaObject in class AbstractDatabasejava.text.ParseException
public java.lang.String getViewDefinition(java.lang.String schemaName,
java.lang.String viewName)
throws JDBCException
getViewDefinition in interface DatabasegetViewDefinition in class AbstractDatabaseJDBCException
public DatabaseSnapshot createDatabaseSnapshot(java.lang.String schema,
java.util.Set<DiffStatusListener> statusListeners)
throws JDBCException
createDatabaseSnapshot in interface DatabasecreateDatabaseSnapshot in class AbstractDatabaseJDBCException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||