Package mondrian.rolap
Class RolapConnection.NonEmptyResult
- java.lang.Object
-
- mondrian.olap.ResultBase
-
- mondrian.rolap.RolapConnection.NonEmptyResult
-
- All Implemented Interfaces:
Result
- Enclosing class:
- RolapConnection
static class RolapConnection.NonEmptyResult extends ResultBase
ANonEmptyResult
filters a result by removing empty rows on a particular axis.
-
-
Field Summary
Fields Modifier and Type Field Description (package private) Result
underlying
-
Fields inherited from class mondrian.olap.ResultBase
axes, execution, query, slicerAxis, statement
-
-
Constructor Summary
Constructors Constructor Description NonEmptyResult(Result result, Execution execution, int axis)
Creates a NonEmptyResult.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description 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
-
-
-
-
Field Detail
-
underlying
final Result underlying
-
-
Method Detail
-
getLogger
protected org.apache.log4j.Logger getLogger()
- Specified by:
getLogger
in classResultBase
-
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 interfaceResult
- Overrides:
close
in classResultBase
-
-