|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectapollo.dataadapter.chado.jdbc.JdbcChadoAdapter
apollo.dataadapter.chado.jdbc.PostgresChadoAdapter
public class PostgresChadoAdapter
A subclass of JdbcChadoAdapter specific to Postgres installations of Chado. This should just be a has-a not an is-a with JdbcChadoAdapter
| Field Summary | |
|---|---|
protected static org.apache.log4j.Logger |
logger
|
| Fields inherited from class apollo.dataadapter.chado.jdbc.JdbcChadoAdapter |
|---|
chadoDb, chadoVersion, fkcMap, jdbcUrl, organismLike, password, pkcMap, sqlLogPath, transactionConnection, txnLogPath, username |
| Constructor Summary | |
|---|---|
PostgresChadoAdapter()
|
|
| Method Summary | |
|---|---|
protected java.lang.Object |
getBooleanValue(boolean val)
|
protected java.lang.String |
getClobLengthFunction()
|
long |
getNextPrimaryKeyId(java.lang.String tableName)
Run a SELECT(MAX()) + 1 query to get the next available primary key value for a chado table. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected static final org.apache.log4j.Logger logger
| Constructor Detail |
|---|
public PostgresChadoAdapter()
| Method Detail |
|---|
protected java.lang.Object getBooleanValue(boolean val)
getBooleanValue in class JdbcChadoAdapterprotected java.lang.String getClobLengthFunction()
getClobLengthFunction in class JdbcChadoAdapterpublic long getNextPrimaryKeyId(java.lang.String tableName)
JdbcChadoAdapter
getNextPrimaryKeyId in class JdbcChadoAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||