mondrian.rolap
Class ResultLoader

java.lang.Object
  extended by 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

Field Summary
(package private)  int currPartialResultIdx
           
 
Constructor Summary
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)
           
 
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
 

Field Detail

currPartialResultIdx

int currPartialResultIdx
Constructor Detail

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
Method Detail

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.


Get Mondrian at SourceForge.net. Fast, secure and free Open Source software downloads