PostgresWrapper
Keywords: uk.ac.ic.doc.automed.wrappers.PostgresWrapper,PostgresWrapper class

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## uk.ac.ic.doc.automed.wrappers
Class PostgresWrapper

    java.lang.Object
      |
      +--uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
            |
            +--uk.ac.ic.doc.automed.wrappers.SQLWrapper
                  |
                  +--uk.ac.ic.doc.automed.wrappers.PostgresWrapper

public class PostgresWrapper
extends SQLWrapper

A lower level wrapper for the conforming to the AutoMed SQL high level wrapper for Postgres SQL databases.

Author:
  Peter McBrien (pjm@doc.ic.ac.uk)

Field Summary

Fields inherited from class uk.ac.ic.doc.automed.wrappers.SQLWrapper
`JDBC_PROTOCOL_NAME`

Constructor Summary
`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
`SQLResult` | `executeSQLQuery(SQLQuery q)` Execute a query on the data source, returning the result in the standard format for instances of SQL queries.

Methods inherited from class uk.ac.ic.doc.automed.wrappers.SQLWrapper
`executeIQL, executeLocalQuery`

Methods inherited from class uk.ac.ic.doc.automed.wrappers.AutoMedWrapper
`atDebugLevel, getAccessMethod, getAutoMedWrapper, getSchema, setDebugLevel`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### PostgresWrapper

    public PostgresWrapper(AccessMethod am,
                           java.lang.String password)
                    throws DataSourceException

  Generate a new wrapper instance from information held in the repository about how to access a data source. Note that a suitable access `AccessMethod` and `Schema` can be created using `PostgresWrapperFactory.build(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)`

Method Detail

### executeSQLQuery

    public SQLResult executeSQLQuery(SQLQuery q)
                              throws DataSourceException

  Execute a query on the data source, returning the result in the standard format for instances of SQL queries.

  Specified by:
    `executeSQLQuery` in class `SQLWrapper`
    `DataSourceException`

Overview | Package | Class | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD