org.apache.manifoldcf.crawler.connectors.jdbc
Interface IDynamicResultSet

All Known Implementing Classes:
JDBCConnection.JDBCPSResultSet, JDBCConnection.JDBCResultSet

public interface IDynamicResultSet

This object describes an (open) jdbc resultset. Semantics are identical to org.apache.manifoldcf.core.interfaces.IResultSet, EXCEPT that a close() method is provided and must be called, and there is no method to get the entire resultset at once.


Field Summary
static java.lang.String _rcsid
           
 
Method Summary
 void close()
          Close this resultset.
 org.apache.manifoldcf.core.interfaces.IResultRow getNextRow()
          Get the next row from the resultset.
 

Field Detail

_rcsid

static final java.lang.String _rcsid
See Also:
Constant Field Values
Method Detail

getNextRow

org.apache.manifoldcf.core.interfaces.IResultRow getNextRow()
                                                            throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                                                                   org.apache.manifoldcf.agents.interfaces.ServiceInterruption
Get the next row from the resultset.

Returns:
the immutable row description, or null if there is no such row.
Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.agents.interfaces.ServiceInterruption

close

void close()
           throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
                  org.apache.manifoldcf.agents.interfaces.ServiceInterruption
Close this resultset.

Throws:
org.apache.manifoldcf.core.interfaces.ManifoldCFException
org.apache.manifoldcf.agents.interfaces.ServiceInterruption