mondrian.rolap
Class ResultLoader

java.lang.Object
  extended by mondrian.rolap.ResultLoader

public class ResultLoader
extends Object

Loader to be iterated to load all results from database.

Author:
luis f. canals
 

Field Summary
(package private)  int currPartialResultIdx
           
 
Constructor Summary
ResultLoader(int enumTargetCount, List<Target> targets, SqlStatement stmt, ResultSet resultSet, boolean execQuery, List<List<RolapMember>> partialResult, List<List<RolapMember>> newPartialResult)
           
 
Method Summary
 void close()
          Closes internal statement.
 void handle(Exception e)
          Handles error
 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,
                    List<Target> targets,
                    SqlStatement stmt,
                    ResultSet resultSet,
                    boolean execQuery,
                    List<List<RolapMember>> 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 void handle(Exception e)
Handles error


SourceForge.net_Logo