public class PersistencePostgreSQL
extends org.gcube.documentstore.persistence.PersistenceBackend
| Modifier and Type | Field and Description |
|---|---|
protected static org.slf4j.Logger |
logger |
protected StatementMap |
statementMap |
| Constructor and Description |
|---|
PersistencePostgreSQL() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
clean() |
protected void |
closeConnection() |
void |
commitAndClose() |
void |
insert(org.gcube.documentstore.records.Record record) |
boolean |
isConnectionActive() |
protected void |
openConnection() |
void |
prepareConnection(org.gcube.documentstore.persistence.PersistenceBackendConfiguration configuration) |
protected void |
reallyAccount(org.gcube.documentstore.records.Record record) |
protected static final org.slf4j.Logger logger
protected StatementMap statementMap
public void prepareConnection(org.gcube.documentstore.persistence.PersistenceBackendConfiguration configuration)
throws Exception
prepareConnection in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void openConnection()
throws Exception
openConnection in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void reallyAccount(org.gcube.documentstore.records.Record record)
throws Exception
reallyAccount in class org.gcube.documentstore.persistence.PersistenceBackendExceptionpublic void insert(org.gcube.documentstore.records.Record record)
throws Exception
Exceptionprotected void clean()
throws Exception
clean in class org.gcube.documentstore.persistence.PersistenceBackendExceptionprotected void closeConnection()
throws Exception
closeConnection in class org.gcube.documentstore.persistence.PersistenceBackendExceptionCopyright © 2021. All Rights Reserved.