|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.jooq.util.AbstractDatabase
org.jooq.util.postgres.PostgresDatabase
public class PostgresDatabase
Postgres uses the ANSI default INFORMATION_SCHEMA, but unfortunately ships
with a non-capitalised version of it: information_schema. Hence
the HSQLDBDatabase is not used here.
| Constructor Summary | |
|---|---|
PostgresDatabase()
|
|
| Method Summary | |
|---|---|
org.jooq.impl.Factory |
create()
Create the factory for this database |
protected List<ArrayDefinition> |
getArrays0()
Retrieve ALL ARRAYs from the database. |
protected List<EnumDefinition> |
getEnums0()
Retrieve ALL enum UDTs from the database. |
protected List<PackageDefinition> |
getPackages0()
Retrieve ALL packages from the database. |
protected List<RoutineDefinition> |
getRoutines0()
Retrieve ALL stored routines (functions and procedures) from the database. |
protected List<SequenceDefinition> |
getSequences0()
Retrieve ALL sequences from the database. |
protected List<TableDefinition> |
getTables0()
Retrieve ALL tables from the database. |
protected List<UDTDefinition> |
getUDTs0()
Retrieve ALL UDTs from the database. |
protected void |
loadForeignKeys(DefaultRelations relations)
Retrieve foreign keys and store them to relations. |
protected void |
loadPrimaryKeys(DefaultRelations relations)
Retrieve primary keys and store them to relations |
protected void |
loadUniqueKeys(DefaultRelations relations)
Retrieve non-primary unique keys and store them to relations |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostgresDatabase()
| Method Detail |
|---|
protected void loadPrimaryKeys(DefaultRelations relations)
throws SQLException
AbstractDatabase
loadPrimaryKeys in class AbstractDatabaseSQLException
protected void loadUniqueKeys(DefaultRelations relations)
throws SQLException
AbstractDatabase
loadUniqueKeys in class AbstractDatabaseSQLException
protected void loadForeignKeys(DefaultRelations relations)
throws SQLException
AbstractDatabase
loadForeignKeys in class AbstractDatabaseSQLException
protected List<TableDefinition> getTables0()
throws SQLException
AbstractDatabaseAbstractDatabase.getTables(SchemaDefinition)
getTables0 in class AbstractDatabaseSQLException
protected List<SequenceDefinition> getSequences0()
throws SQLException
AbstractDatabaseAbstractDatabase.getTables(SchemaDefinition)
getSequences0 in class AbstractDatabaseSQLException
protected List<EnumDefinition> getEnums0()
throws SQLException
AbstractDatabaseAbstractDatabase.getEnums(SchemaDefinition)
getEnums0 in class AbstractDatabaseSQLException
protected List<UDTDefinition> getUDTs0()
throws SQLException
AbstractDatabaseAbstractDatabase.getEnums(SchemaDefinition)
getUDTs0 in class AbstractDatabaseSQLException
protected List<ArrayDefinition> getArrays0()
throws SQLException
AbstractDatabaseAbstractDatabase.getArrays(SchemaDefinition)
getArrays0 in class AbstractDatabaseSQLException
protected List<RoutineDefinition> getRoutines0()
throws SQLException
AbstractDatabaseAbstractDatabase.getRoutines(SchemaDefinition)
getRoutines0 in class AbstractDatabaseSQLException
protected List<PackageDefinition> getPackages0()
throws SQLException
AbstractDatabaseAbstractDatabase.getPackages(SchemaDefinition)
getPackages0 in class AbstractDatabaseSQLExceptionpublic org.jooq.impl.Factory create()
Database
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||