Java Doc for PostgresDatabase.java in  » Database-Client » LiquiBase » liquibase » database » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » Database Client » LiquiBase » liquibase.database 
Source Cross Reference  Class Diagram Java Document (Java Doc) 


java.lang.Object
   liquibase.database.AbstractDatabase
      liquibase.database.PostgresDatabase

PostgresDatabase
public class PostgresDatabase extends AbstractDatabase (Code)
Encapsulates PostgreSQL database support.


Field Summary
final public static  StringPRODUCT_NAME
    

Constructor Summary
public  PostgresDatabase()
    

Method Summary
public  ObjectconvertDatabaseValueToJavaObject(Object defaultValue, int dataType, int columnSize, int decimalDigits)
    
public  StringconvertRequestedSchemaToCatalog(String requestedSchema)
    
public  StringconvertRequestedSchemaToSchema(String requestedSchema)
    
public  SqlStatementcreateFindSequencesSQL(String schema)
    
public  StringgetAutoIncrementClause()
    
public  StringgetBlobType()
    
public  StringgetBooleanType()
    
public  StringgetClobType()
    
public  StringgetColumnType(String columnType, Boolean autoIncrement)
    
public  StringgetCurrencyType()
    
public  StringgetCurrentDateTimeFunction()
    
public  StringgetDatabaseChangeLogLockTableName()
    
public  StringgetDatabaseChangeLogTableName()
    
public  StringgetDateTimeType()
    
public  StringgetDefaultCatalogName()
    
protected  StringgetDefaultDatabaseSchemaName()
    
public  StringgetDefaultDriver(String url)
    
public  StringgetProductName()
    
public  Set<String>getSystemTablesAndViews()
    
public  StringgetTypeName()
    
public  StringgetUUIDType()
    
public  SqlStatementgetViewDefinitionSql(String schemaName, String name)
    
public  booleanisCorrectDatabaseImplementation(Connection conn)
    
public  booleanisSystemTable(String catalogName, String schemaName, String tableName)
    
public  booleansupportsInitiallyDeferrableColumns()
    
public  booleansupportsSequences()
    
public  booleansupportsTablespaces()
    

Field Detail
PRODUCT_NAME
final public static String PRODUCT_NAME(Code)




Constructor Detail
PostgresDatabase
public PostgresDatabase()(Code)




Method Detail
convertDatabaseValueToJavaObject
public Object convertDatabaseValueToJavaObject(Object defaultValue, int dataType, int columnSize, int decimalDigits) throws ParseException(Code)



convertRequestedSchemaToCatalog
public String convertRequestedSchemaToCatalog(String requestedSchema) throws JDBCException(Code)



convertRequestedSchemaToSchema
public String convertRequestedSchemaToSchema(String requestedSchema) throws JDBCException(Code)



createFindSequencesSQL
public SqlStatement createFindSequencesSQL(String schema) throws JDBCException(Code)



getAutoIncrementClause
public String getAutoIncrementClause()(Code)



getBlobType
public String getBlobType()(Code)



getBooleanType
public String getBooleanType()(Code)



getClobType
public String getClobType()(Code)



getColumnType
public String getColumnType(String columnType, Boolean autoIncrement)(Code)



getCurrencyType
public String getCurrencyType()(Code)



getCurrentDateTimeFunction
public String getCurrentDateTimeFunction()(Code)



getDatabaseChangeLogLockTableName
public String getDatabaseChangeLogLockTableName()(Code)



getDatabaseChangeLogTableName
public String getDatabaseChangeLogTableName()(Code)



getDateTimeType
public String getDateTimeType()(Code)



getDefaultCatalogName
public String getDefaultCatalogName() throws JDBCException(Code)



getDefaultDatabaseSchemaName
protected String getDefaultDatabaseSchemaName() throws JDBCException(Code)



getDefaultDriver
public String getDefaultDriver(String url)(Code)



getProductName
public String getProductName()(Code)



getSystemTablesAndViews
public Set<String> getSystemTablesAndViews()(Code)



getTypeName
public String getTypeName()(Code)



getUUIDType
public String getUUIDType()(Code)



getViewDefinitionSql
public SqlStatement getViewDefinitionSql(String schemaName, String name) throws JDBCException(Code)



isCorrectDatabaseImplementation
public boolean isCorrectDatabaseImplementation(Connection conn) throws JDBCException(Code)



isSystemTable
public boolean isSystemTable(String catalogName, String schemaName, String tableName)(Code)



supportsInitiallyDeferrableColumns
public boolean supportsInitiallyDeferrableColumns()(Code)



supportsSequences
public boolean supportsSequences()(Code)



supportsTablespaces
public boolean supportsTablespaces()(Code)



Fields inherited from liquibase.database.AbstractDatabase
protected boolean changeLogCreateAttempted(Code)(Java Doc)
protected boolean changeLogLockCreateAttempted(Code)(Java Doc)
protected boolean changeLogLockTableExists(Code)(Java Doc)
protected boolean changeLogTableExists(Code)(Java Doc)
protected String currentDateTimeFunction(Code)(Java Doc)
final protected static Logger log(Code)(Java Doc)

Methods inherited from liquibase.database.AbstractDatabase
protected boolean canCreateChangeLogTable() throws JDBCException(Code)(Java Doc)
public void checkDatabaseChangeLogLockTable() throws JDBCException(Code)(Java Doc)
public void checkDatabaseChangeLogTable() throws JDBCException(Code)(Java Doc)
public void close() throws JDBCException(Code)(Java Doc)
public void commit() throws JDBCException(Code)(Java Doc)
public Object convertDatabaseValueToJavaObject(Object defaultValue, int dataType, int columnSize, int decimalDigits) throws ParseException(Code)(Java Doc)
public String convertJavaObjectToString(Object value)(Code)(Java Doc)
public String convertRequestedSchemaToCatalog(String requestedSchema) throws JDBCException(Code)(Java Doc)
public String convertRequestedSchemaToSchema(String requestedSchema) throws JDBCException(Code)(Java Doc)
protected Object convertToCorrectJavaType(String value, int dataType, int columnSize, int decimalDigits) throws ParseException(Code)(Java Doc)
protected SqlStatement createChangeToTagSQL()(Code)(Java Doc)
public SqlStatement createFindSequencesSQL(String schema) throws JDBCException(Code)(Java Doc)
protected SqlStatement createTagSQL(String tagName, Date dateExecuted)(Code)(Java Doc)
public boolean doesChangeLogLockTableExist()(Code)(Java Doc)
public boolean doesChangeLogTableExist()(Code)(Java Doc)
public boolean doesTagExist(String tag) throws JDBCException(Code)(Java Doc)
public void dropDatabaseObjects(String schema) throws JDBCException(Code)(Java Doc)
public boolean equals(Object o)(Code)(Java Doc)
public String escapeColumnName(String columnName)(Code)(Java Doc)
public String escapeColumnNameList(String columnNames)(Code)(Java Doc)
public String escapeSequenceName(String schemaName, String sequenceName)(Code)(Java Doc)
public String escapeStringForDatabase(String string)(Code)(Java Doc)
public String escapeTableName(String schemaName, String tableName)(Code)(Java Doc)
public String escapeViewName(String schemaName, String viewName)(Code)(Java Doc)
public String generatePrimaryKeyName(String tableName)(Code)(Java Doc)
public boolean getAutoCommitMode()(Code)(Java Doc)
public String getAutoIncrementClause()(Code)(Java Doc)
public String getColumnType(String columnType, Boolean autoIncrement)(Code)(Java Doc)
final public String getColumnType(ColumnConfig columnConfig)(Code)(Java Doc)
public String getConcatSql(String... values)(Code)(Java Doc)
public DatabaseConnection getConnection()(Code)(Java Doc)
public String getConnectionURL() throws JDBCException(Code)(Java Doc)
public String getConnectionUsername() throws JDBCException(Code)(Java Doc)
protected SqlStatement getCreateChangeLogLockSQL()(Code)(Java Doc)
protected SqlStatement getCreateChangeLogSQL()(Code)(Java Doc)
public String getDatabaseChangeLogLockTableName()(Code)(Java Doc)
public String getDatabaseChangeLogTableName()(Code)(Java Doc)
public String getDatabaseProductName()(Code)(Java Doc)
public String getDatabaseProductName(Connection conn) throws JDBCException(Code)(Java Doc)
public String getDatabaseProductVersion() throws JDBCException(Code)(Java Doc)
public int getDatabaseType(int type)(Code)(Java Doc)
public String getDateLiteral(String isoDate)(Code)(Java Doc)
public String getDateLiteral(java.sql.Timestamp date)(Code)(Java Doc)
public String getDateLiteral(java.sql.Date date)(Code)(Java Doc)
public String getDateLiteral(java.sql.Time date)(Code)(Java Doc)
public String getDateLiteral(Date date)(Code)(Java Doc)
public String getDateType()(Code)(Java Doc)
public String getDefaultCatalogName() throws JDBCException(Code)(Java Doc)
protected String getDefaultDatabaseSchemaName() throws JDBCException(Code)(Java Doc)
public String getDefaultSchemaName()(Code)(Java Doc)
public String getDriverName() throws JDBCException(Code)(Java Doc)
public String getFalseBooleanValue()(Code)(Java Doc)
public JdbcTemplate getJdbcTemplate()(Code)(Java Doc)
public String getLineComment()(Code)(Java Doc)
public RanChangeSet getRanChangeSet(ChangeSet changeSet) throws JDBCException, DatabaseHistoryException(Code)(Java Doc)
public List<RanChangeSet> getRanChangeSetList() throws JDBCException(Code)(Java Doc)
public Date getRanDate(ChangeSet changeSet) throws JDBCException, DatabaseHistoryException(Code)(Java Doc)
public ChangeSet.RunStatus getRunStatus(ChangeSet changeSet) throws JDBCException, DatabaseHistoryException(Code)(Java Doc)
public SqlStatement getSelectChangeLogLockSQL() throws JDBCException(Code)(Java Doc)
public DatabaseSnapshot getSnapshot() throws JDBCException(Code)(Java Doc)
protected Set<String> getSystemTablesAndViews()(Code)(Java Doc)
public String getTimeType()(Code)(Java Doc)
public String getTrueBooleanValue()(Code)(Java Doc)
public String getViewDefinition(String schemaName, String viewName) throws JDBCException(Code)(Java Doc)
public SqlStatement getViewDefinitionSql(String schemaName, String viewName) throws JDBCException(Code)(Java Doc)
public int hashCode()(Code)(Java Doc)
public boolean isColumnAutoIncrement(String schemaName, String tableName, String columnName) throws SQLException, JDBCException(Code)(Java Doc)
protected boolean isDateOnly(String isoDate)(Code)(Java Doc)
protected boolean isDateTime(String isoDate)(Code)(Java Doc)
public boolean isLiquibaseTable(String tableName)(Code)(Java Doc)
public boolean isSystemTable(String catalogName, String schemaName, String tableName)(Code)(Java Doc)
public boolean isSystemView(String catalogName, String schemaName, String viewName)(Code)(Java Doc)
protected boolean isTimeOnly(String isoDate)(Code)(Java Doc)
public void markChangeSetAsRan(ChangeSet changeSet) throws JDBCException(Code)(Java Doc)
public void markChangeSetAsReRan(ChangeSet changeSet) throws JDBCException(Code)(Java Doc)
protected Date parseDate(String dateAsString) throws DateParseException(Code)(Java Doc)
public void removeRanStatus(ChangeSet changeSet) throws JDBCException(Code)(Java Doc)
public void rollback() throws JDBCException(Code)(Java Doc)
public void setConnection(Connection conn)(Code)(Java Doc)
public void setConnection(DatabaseConnection conn)(Code)(Java Doc)
public void setCurrentDateTimeFunction(String function)(Code)(Java Doc)
public void setDefaultSchemaName(String schemaName) throws JDBCException(Code)(Java Doc)
public void setJdbcTemplate(JdbcTemplate template)(Code)(Java Doc)
public boolean shouldQuoteValue(String value)(Code)(Java Doc)
public boolean supportsAutoIncrement()(Code)(Java Doc)
public boolean supportsDDLInTransaction()(Code)(Java Doc)
public boolean supportsSchemas()(Code)(Java Doc)
public boolean supportsSequences()(Code)(Java Doc)
public void tag(String tagString) throws JDBCException(Code)(Java Doc)
public String toString()(Code)(Java Doc)

Methods inherited from java.lang.Object
native protected Object clone() throws CloneNotSupportedException(Code)(Java Doc)
public boolean equals(Object obj)(Code)(Java Doc)
protected void finalize() throws Throwable(Code)(Java Doc)
final native public Class getClass()(Code)(Java Doc)
native public int hashCode()(Code)(Java Doc)
final native public void notify()(Code)(Java Doc)
final native public void notifyAll()(Code)(Java Doc)
public String toString()(Code)(Java Doc)
final native public void wait(long timeout) throws InterruptedException(Code)(Java Doc)
final public void wait(long timeout, int nanos) throws InterruptedException(Code)(Java Doc)
final public void wait() throws InterruptedException(Code)(Java Doc)

www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.