de.julielab.xmlData.dataBase.DBCIterator Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of jedis Show documentation
Show all versions of jedis Show documentation
A utility for managing documents stored in a PostgreSQL database. The documents are imported into a PostgreSQL DB as full texts with the goal to be able to retrieve the documents by their PubMedID efficiently. For more sophisticated tasks, a user configuration file can be delivered which can take control of the table schema to use, the PostgreSQL schema to use and the actual database server to connect to as well as the concrete database.
The newest version!
/**
* DBCIterator.java
*
* Copyright (c) 2012, JULIE Lab.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Common Public License v1.0
*
* Author: faessler
*
* Current version: 1.0
* Since version: 1.0
*
* Creation date: 13.01.2012
**/
/**
*
*/
package de.julielab.xmlData.dataBase;
import java.util.Iterator;
/**
*
* Abstract class for iterators returned by the DataBaseConnector
* which hold JDBC Connection objects. This class defines a method
* {@link #close()} which should be implemented to free employed resources
* such as database connections, threads etc.
*
*
* @author faessler
*
*/
public abstract class DBCIterator implements Iterator {
/**
* Frees resources occupied by this iterator (e.g. database connections).
*/
public abstract void close();
}