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 protectedResultBase(Execution execution, Axis[] axes)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description voidclose()Axis[]getAxes()Returns the non-slicer axes.ExecutiongetExecution()protected abstract org.apache.logging.log4j.LoggergetLogger()MembergetMember(int[] pos, Hierarchy hierarchy)Returns the current member of a given hierarchy at a given location.QuerygetQuery()Returns the query which generated this result.AxisgetSlicerAxis()Returns the slicer axis.voidprint(PrintWriter pw)
-
-
-
Method Detail
-
getLogger
protected abstract org.apache.logging.log4j.Logger getLogger()
-
getQuery
public Query getQuery()
Description copied from interface:ResultReturns the query which generated this result.
-
getAxes
public Axis[] getAxes()
Description copied from interface:ResultReturns the non-slicer axes.
-
getSlicerAxis
public Axis getSlicerAxis()
Description copied from interface:ResultReturns the slicer axis.- Specified by:
getSlicerAxisin 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()
-
-