org.experlog.openeas.api
Class DBDataSet
java.lang.Object
org.experlog.openeas.api.DBDataSet
- All Implemented Interfaces:
- DataSet
public class DBDataSet
- extends java.lang.Object
- implements DataSet
- Author:
- gibello
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DBDataSet
public DBDataSet(Session s,
java.lang.String sql,
java.lang.String datasource)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
DBDataSet
public DBDataSet(Session s,
java.lang.String sql)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
close
public void close()
throws java.sql.SQLException
- Close data set
- Specified by:
close
in interface DataSet
- Throws:
java.sql.SQLException
- See Also:
DataSet.close()
dataAvailable
public boolean dataAvailable()
throws java.sql.SQLException
- Specified by:
dataAvailable
in interface DataSet
- Throws:
java.sql.SQLException
- See Also:
DataSet.dataAvailable()
getTuple
public DataObject getTuple()
throws java.sql.SQLException
- Specified by:
getTuple
in interface DataSet
- Throws:
java.sql.SQLException
- See Also:
DataSet.getTuple()
isTransient
public boolean isTransient()
- Specified by:
isTransient
in interface DataSet
- See Also:
DataSet.isTransient()
next
public boolean next()
throws java.sql.SQLException
- Specified by:
next
in interface DataSet
- Throws:
java.sql.SQLException
- See Also:
DataSet.next()
open
public void open()
throws java.sql.SQLException
- Specified by:
open
in interface DataSet
- Throws:
java.sql.SQLException
- See Also:
DataSet.open()
setBoundaries
public void setBoundaries(int low,
int high)
throws java.sql.SQLException
- Specified by:
setBoundaries
in interface DataSet
- Throws:
java.sql.SQLException
- See Also:
DataSet.setBoundaries(int, int)