Package mondrian.rolap
Class ResultLoader
- java.lang.Object
-
- mondrian.rolap.ResultLoader
-
public class ResultLoader extends Object
Loader to be iterated to load all results from database.- Author:
- luis f. canals
-
-
Constructor Summary
Constructors Constructor Description ResultLoader(int enumTargetCount, List<TargetBase> targets, SqlStatement stmt, boolean execQuery, TupleList partialResult, List<List<RolapMember>> newPartialResult)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Closes internal statement.RuntimeException
handle(Exception e)
Handles an error, and returns an exception that the caller should then throw.boolean
loadResult()
-
-
-
Constructor Detail
-
ResultLoader
public ResultLoader(int enumTargetCount, List<TargetBase> targets, SqlStatement stmt, boolean execQuery, TupleList partialResult, List<List<RolapMember>> newPartialResult) throws SQLException
- Throws:
SQLException
-
-
Method Detail
-
loadResult
public boolean loadResult() throws SQLException
- Throws:
SQLException
-
close
public void close()
Closes internal statement.
-
handle
public RuntimeException handle(Exception e)
Handles an error, and returns an exception that the caller should then throw.- Parameters:
e
- Exception- Returns:
- Wrapper exception
-
-