Interface StoredProcedureResultSet
public interface StoredProcedureResultSet
This class encapsulates the results generated by a stored procedure.
-
Method Summary
Modifier and TypeMethodDescriptionvoidAdds a row to the results.voidclose()Closes the ResultSet.Obtains the schema of the procedure parameters.Obtains the execution plan of the procedurebooleanTests if this enumeration contains more elements.Returns the next element of this enumeration if this enumeration object has at least one more element to provide.
-
Method Details
-
getColumnInfo
StoredProcedureParameter[] getColumnInfo()Obtains the schema of the procedure parameters.- Returns:
- the schema of the procedure parameters.
-
addRow
Adds a row to the results.- Parameters:
row- the row to be added to the results.
-
close
void close()Closes the ResultSet. -
hasMoreElements
Tests if this enumeration contains more elements.- Returns:
trueif and only if this enumeration object contains at least one more element to provide;falseotherwise.- Throws:
StoredProcedureException- if there is an error during the execution of the procedure.
-
nextElement
Returns the next element of this enumeration if this enumeration object has at least one more element to provide.- Returns:
- the next element of this enumeration.
- Throws:
StoredProcedureException- if there is an error during the execution of the procedure.
-
getExecutionPlan
Obtains the execution plan of the procedure- Returns:
- the execution plan of the procedure.
- Throws:
StoredProcedureException- if there is an error obtaining the execution plan.
-