mondrian.rolap
Class ResultLoader
java.lang.Object
mondrian.rolap.ResultLoader
public class ResultLoader
- extends java.lang.Object
Loader to be iterated to load all results from database.
- Version:
- $Id: //open/mondrian/src/main/mondrian/rolap/ResultLoader.java#7 $
- Author:
- luis f. canals
Method Summary |
void |
close()
Closes internal statement. |
java.lang.RuntimeException |
handle(java.lang.Exception e)
Handles an error, and returns an exception that the caller should then
throw. |
boolean |
loadResult()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
currPartialResultIdx
int currPartialResultIdx
ResultLoader
public ResultLoader(int enumTargetCount,
java.util.List<TargetBase> targets,
SqlStatement stmt,
java.sql.ResultSet resultSet,
boolean execQuery,
java.util.List<java.util.List<RolapMember>> partialResult,
java.util.List<java.util.List<RolapMember>> newPartialResult)
throws java.sql.SQLException
- Throws:
java.sql.SQLException
loadResult
public boolean loadResult()
throws java.sql.SQLException
- Throws:
java.sql.SQLException
close
public void close()
- Closes internal statement.
handle
public java.lang.RuntimeException handle(java.lang.Exception e)
- Handles an error, and returns an exception that the caller should then
throw.