Package mondrian.olap

Interface Result

All Known Implementing Classes:
ResultBase, 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

    Modifier and Type
    Method
    Description
    void
     
    Returns the non-slicer axes.
    getCell(int[] pos)
    Returns the cell at a given set of coordinates.
    Returns the query which generated this result.
    Returns the slicer axis.
    void
     
  • Method Details

    • 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()