KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > tonbeller > jpivot > olap > model > Result


1 /*
2  * ====================================================================
3  * This software is subject to the terms of the Common Public License
4  * Agreement, available at the following URL:
5  * http://www.opensource.org/licenses/cpl.html .
6  * Copyright (C) 2003-2004 TONBELLER AG.
7  * All Rights Reserved.
8  * You must accept the terms of that agreement to use this software.
9  * ====================================================================
10  *
11  *
12  */

13 package com.tonbeller.jpivot.olap.model;
14
15 import java.util.List JavaDoc;
16
17 /**
18  * Result of an OLAP query.
19  * @author av
20  */

21 public interface Result extends Visitable, Decorator {
22   
23   /**
24    * returns the cells of the result in row order. For a two dimensional result
25    * the <em>cell [rowIndex] [colIndex]</em> is found at index <em>columnCount *
26    * rowIndex + colIndex</em>
27    * @return the Cells of the result
28    * @see Cell
29    */

30   List JavaDoc getCells();
31   
32   /**
33    * return the axes
34    */

35   Axis[] getAxes();
36   
37   /**
38    * return the slicer axis
39    */

40   Axis getSlicer();
41   
42   /**
43    * @return true, if the result was rolled back due to overflow condition
44    */

45   boolean isOverflowOccured();
46 }
47
Popular Tags