mondrian.rolap
Class RolapConnection.NonEmptyResult

java.lang.Object
  extended by mondrian.olap.ResultBase
      extended by mondrian.rolap.RolapConnection.NonEmptyResult
All Implemented Interfaces:
Result
Enclosing class:
RolapConnection

static class RolapConnection.NonEmptyResult
extends ResultBase

A NonEmptyResult filters a result by removing empty rows on a particular axis.

 

Field Summary
(package private)  Result underlying
           
 
Fields inherited from class mondrian.olap.ResultBase
axes, query, slicerAxis
 
Constructor Summary
RolapConnection.NonEmptyResult(Result result, Query query, int axis)
           
 
Method Summary
 void close()
           
 Cell getCell(int[] externalPos)
          Returns the cell at a given set of coordinates.
protected  org.apache.log4j.Logger getLogger()
           
 
Methods inherited from class mondrian.olap.ResultBase
getAxes, getMember, getQuery, getSlicerAxis, print
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

underlying

final Result underlying
Constructor Detail

RolapConnection.NonEmptyResult

RolapConnection.NonEmptyResult(Result result,
                               Query query,
                               int axis)
Method Detail

getLogger

protected org.apache.log4j.Logger getLogger()
Specified by:
getLogger in class ResultBase

getCell

public Cell getCell(int[] externalPos)
Description copied from interface: Result
Returns the cell at a given set of coordinates. For example, in a result with 4 columns and 6 rows, the top-left cell has coordinates [0, 0], and the bottom-right cell has coordinates [3, 5].


close

public void close()
Specified by:
close in interface Result
Overrides:
close in class ResultBase

SourceForge.net_Logo