protected class JDBCConnection.JDBCResultSet extends java.lang.Object implements IDynamicResultSet
| Modifier and Type | Field and Description |
|---|---|
protected org.apache.manifoldcf.core.jdbcpool.WrappedConnection |
connection |
protected int |
maxResults |
protected java.lang.String[] |
resultCols |
protected java.sql.ResultSet |
rs |
protected java.sql.ResultSetMetaData |
rsmd |
protected java.sql.Statement |
stmt |
_rcsid| Constructor and Description |
|---|
JDBCResultSet(java.lang.String query,
int maxResults)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
close()
Close this resultset.
|
IDynamicResultRow |
getNextRow()
Get the next row from the resultset.
|
protected org.apache.manifoldcf.core.jdbcpool.WrappedConnection connection
protected java.sql.Statement stmt
protected java.sql.ResultSet rs
protected java.sql.ResultSetMetaData rsmd
protected java.lang.String[] resultCols
protected int maxResults
public JDBCResultSet(java.lang.String query,
int maxResults)
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
org.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruptionpublic IDynamicResultRow getNextRow() throws org.apache.manifoldcf.core.interfaces.ManifoldCFException, org.apache.manifoldcf.agents.interfaces.ServiceInterruption
getNextRow in interface IDynamicResultSetorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruptionpublic void close()
throws org.apache.manifoldcf.core.interfaces.ManifoldCFException,
org.apache.manifoldcf.agents.interfaces.ServiceInterruption
close in interface IDynamicResultSetorg.apache.manifoldcf.core.interfaces.ManifoldCFExceptionorg.apache.manifoldcf.agents.interfaces.ServiceInterruption