Package mondrian.olap
Class ResultBase
- java.lang.Object
-
- mondrian.olap.ResultBase
-
- All Implemented Interfaces:
Result
- Direct Known Subclasses:
RolapResult
public abstract class ResultBase extends Object implements Result
Skeleton implementation ofResult
.- Since:
- 10 August, 2001
- Author:
- jhyde
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ResultBase(Execution execution, Axis[] axes)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description void
close()
Axis[]
getAxes()
Returns the non-slicer axes.Execution
getExecution()
protected abstract org.apache.logging.log4j.Logger
getLogger()
Member
getMember(int[] pos, Hierarchy hierarchy)
Returns the current member of a given hierarchy at a given location.Query
getQuery()
Returns the query which generated this result.Axis
getSlicerAxis()
Returns the slicer axis.void
print(PrintWriter pw)
-
-
-
Method Detail
-
getLogger
protected abstract org.apache.logging.log4j.Logger getLogger()
-
getQuery
public Query getQuery()
Description copied from interface:Result
Returns the query which generated this result.
-
getAxes
public Axis[] getAxes()
Description copied from interface:Result
Returns the non-slicer axes.
-
getSlicerAxis
public Axis getSlicerAxis()
Description copied from interface:Result
Returns the slicer axis.- Specified by:
getSlicerAxis
in interfaceResult
-
print
public void print(PrintWriter pw)
-
getMember
public Member getMember(int[] pos, Hierarchy hierarchy)
Returns the current member of a given hierarchy at a given location.- Parameters:
pos
- Coordinates in cell sethierarchy
- Hierarchy- Returns:
- current member of given hierarchy
-
getExecution
public Execution getExecution()
-
-