org.experlog.db
Class ESDBDataSet

java.lang.Object
  extended by org.experlog.db.ESDBDataSet
All Implemented Interfaces:
DataSet

public class ESDBDataSet
extends java.lang.Object
implements DataSet


Constructor Summary
ESDBDataSet(java.sql.ResultSet rs, Client session, java.sql.Connection con, java.lang.String datasourcename, java.sql.Statement stat)
           
 
Method Summary
 void close()
           
 boolean dataAvailable()
           
 java.sql.ResultSet getResultSet()
           
 DataObject getTuple()
           
 boolean isTransient()
           
 boolean next()
           
 void open()
           
 void setBoundaries(int low, int high)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ESDBDataSet

public ESDBDataSet(java.sql.ResultSet rs,
                   Client session,
                   java.sql.Connection con,
                   java.lang.String datasourcename,
                   java.sql.Statement stat)
            throws java.sql.SQLException
Throws:
java.sql.SQLException
Method Detail

next

public boolean next()
             throws java.sql.SQLException
Specified by:
next in interface DataSet
Throws:
java.sql.SQLException

dataAvailable

public boolean dataAvailable()
                      throws java.sql.SQLException
Specified by:
dataAvailable in interface DataSet
Throws:
java.sql.SQLException

getTuple

public DataObject getTuple()
                    throws java.sql.SQLException
Specified by:
getTuple in interface DataSet
Throws:
java.sql.SQLException

open

public void open()
          throws java.sql.SQLException
Specified by:
open in interface DataSet
Throws:
java.sql.SQLException

close

public void close()
           throws java.sql.SQLException
Specified by:
close in interface DataSet
Throws:
java.sql.SQLException

setBoundaries

public void setBoundaries(int low,
                          int high)
                   throws java.sql.SQLException
Specified by:
setBoundaries in interface DataSet
Throws:
java.sql.SQLException

isTransient

public boolean isTransient()
Specified by:
isTransient in interface DataSet

getResultSet

public java.sql.ResultSet getResultSet()