|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.wrappers.AutoMedWrapper
uk.ac.ic.doc.automed.wrappers.SQLWrapper
uk.ac.ic.doc.automed.wrappers.PostgresWrapper
public class PostgresWrapper
A lower level wrapper for the conforming to the AutoMed SQL high level wrapper for Postgres SQL databases.
| Field Summary |
|---|
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.SQLWrapper |
|---|
con, OPTION_SCHEMA_NAME |
| Fields inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper |
|---|
am, awf, debug, driver, emptyKeyProtection, emptyKeys, optionKeyProtection, optionKeys, password, protocol, s, url, username |
| Constructor Summary | |
|---|---|
PostgresWrapper()
|
|
PostgresWrapper(AccessMethod am,
java.lang.String password)
Generate a new wrapper instance from information held in the repository about how to access a data source. |
|
| Method Summary | |
|---|---|
java.lang.String |
escapedSQLID(java.lang.Object o)
Ensure that Postgres table names and column names starting in capitals are put in double quotes |
protected AutoMedWrapperFactory |
getDefaultWrapperFactory()
Returns a new instance of the default wrapper factory for this wrapper |
| Methods inherited from class uk.ac.ic.doc.automed.wrappers.SQLWrapper |
|---|
connect, executeIQL, executeLocalQuery, executeSQLQuery, getProtocolName, getQueryParser, getSODefinition |
| Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper |
|---|
atDebugLevel, cacheWrapper, deleteIQL, executeIQL, getAccessMethod, getAutoMedWrapper, getAutoMedWrapper, getAutoMedWrapperFactory, getDrivers, getOption, getOptionKeyProtection, getOptionKeys, getProtocol, getQueryCache, getQueryCache, getSchema, getSchema, getSODefinition, insertIQL, newAutoMedSchema, newAutoMedWrapper, newAutoMedWrapper, newAutoMedWrapper, registerWrapper, selectNewAutoMedWrapper, selectNewAutoMedWrapper, setDebugLevel, setOption, updateCache |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public PostgresWrapper()
public PostgresWrapper(AccessMethod am,
java.lang.String password)
throws DataSourceException
AccessMethod and Schema can
be created using PostgresWrapperFactory#build
DataSourceException| Method Detail |
|---|
protected AutoMedWrapperFactory getDefaultWrapperFactory()
getDefaultWrapperFactory in class SQLWrapperpublic java.lang.String escapedSQLID(java.lang.Object o)
escapedSQLID in class SQLWrapper
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||