result.java
来自「数据仓库展示程序」· Java 代码 · 共 41 行
JAVA
41 行
/*
// $Id: //open/mondrian/src/main/mondrian/olap/Result.java#5 $
// This software is subject to the terms of the Common Public License
// Agreement, available at the following URL:
// http://www.opensource.org/licenses/cpl.html.
// (C) Copyright 2001-2005 Kana Software, Inc. and others.
// All Rights Reserved.
// You must accept the terms of that agreement to use this software.
//
// jhyde, 6 August, 2001
*/
package mondrian.olap;
import java.io.PrintWriter;
/**
* A <code>Result</code> is the result of running an MDX query. See {@link
* Connection#execute}.
*
* @author jhyde
* @since 6 August, 2001
* @version $Id: //open/mondrian/src/main/mondrian/olap/Result.java#5 $
**/
public interface Result {
/** Returns the query which generated this result. **/
Query getQuery();
/** Returns the non-slicer axes. **/
Axis[] getAxes();
/** Returns the slicer axis. **/
Axis getSlicerAxis();
/** 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]. */
Cell getCell(int[] pos);
void print(PrintWriter pw);
void close();
}
// End Result.java
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?