Class SequentialResultSetStarTable

java.lang.Object
uk.ac.starlink.table.AbstractStarTable
uk.ac.starlink.table.jdbc.SequentialResultSetStarTable
All Implemented Interfaces:
Closeable, AutoCloseable, StarTable

public class SequentialResultSetStarTable extends AbstractStarTable
StarTable implementation based on a ResultSet. It can read through the data once, and no more.

Beware: it therefore breaks the general contract of StarTable, in that calls of getRowSequence() after the first one will throw a UnrepeatableSequenceException. Only use this class if you know that the table needs to be read once only.

Since:
23 Jul 2007
Author:
Mark Taylor