mondrian.olap
Class ResultBase
java.lang.Object
mondrian.olap.ResultBase
- All Implemented Interfaces:
- Result
- Direct Known Subclasses:
- RolapConnection.NonEmptyResult, RolapResult
public abstract class ResultBase
- extends Object
- implements Result
Skeleton implementation of Result
.
- Since:
- 10 August, 2001
- Author:
- jhyde
-
-
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
query
protected final Query query
axes
protected final Axis[] axes
slicerAxis
protected Axis slicerAxis
ResultBase
protected ResultBase(Query query,
Axis[] axes)
getLogger
protected abstract org.apache.log4j.Logger getLogger()
getQuery
public Query getQuery()
- Description copied from interface:
Result
- Returns the query which generated this result.
- Specified by:
getQuery
in interface Result
getAxes
public Axis[] getAxes()
- Description copied from interface:
Result
- Returns the non-slicer axes.
- Specified by:
getAxes
in interface Result
getSlicerAxis
public Axis getSlicerAxis()
- Description copied from interface:
Result
- Returns the slicer axis.
- Specified by:
getSlicerAxis
in interface Result
print
public void print(PrintWriter pw)
- Specified by:
print
in interface Result
getMember
public Member getMember(int[] pos,
Dimension dimension)
- Returns the current member of a given dimension at a given location.
close
public void close()
- Specified by:
close
in interface Result