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