mondrian.olap
Interface Result

All Known Implementing Classes:
ResultBase, RolapConnection.NonEmptyResult, RolapResult

public interface Result

A Result is the result of running an MDX query. See Connection.execute(mondrian.olap.Query).

Since:
6 August, 2001
Author:
jhyde
 

Method Summary
 void close()
           
 Axis[] getAxes()
          Returns the non-slicer axes.
 Cell getCell(int[] pos)
          Returns the cell at a given set of coordinates.
 Query getQuery()
          Returns the query which generated this result.
 Axis getSlicerAxis()
          Returns the slicer axis.
 void print(PrintWriter pw)
           
 

Method Detail

getQuery

Query getQuery()
Returns the query which generated this result.


getAxes

Axis[] getAxes()
Returns the non-slicer axes.


getSlicerAxis

Axis getSlicerAxis()
Returns the slicer axis.


getCell

Cell getCell(int[] pos)
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].


print

void print(PrintWriter pw)

close

void close()

SourceForge.net_Logo