public class MDXResultSet extends Object implements org.pentaho.commons.connection.IPentahoResultSet, org.pentaho.commons.connection.IPeekable, org.pentaho.commons.connection.IMultiDimensionalResultSet
| Constructor and Description |
|---|
MDXResultSet() |
MDXResultSet(mondrian.olap.Result nativeResultSet,
mondrian.olap.Connection nativeConnection,
boolean useExtendedColumnNames) |
| Modifier and Type | Method and Description |
|---|---|
void |
beforeFirst() |
void |
close() |
void |
closeConnection() |
void |
dispose() |
int |
getColumnCount() |
Object[] |
getDataColumn(int column) |
Object[] |
getDataRow(int row) |
protected MDXMetaData |
getMdxMetaData() |
org.pentaho.commons.connection.IPentahoMetaData |
getMetaData() |
protected mondrian.olap.Connection |
getNativeConnection() |
protected mondrian.olap.Result |
getNativeResultSet() |
protected Object[] |
getPeekRow() |
int |
getRowCount() |
int |
getRowIndex() |
Object |
getValueAt(int row,
int column) |
boolean |
isScrollable() |
org.pentaho.commons.connection.IPentahoResultSet |
memoryCopy() |
Object[] |
next() |
Object[] |
nextFlattened() |
Object[] |
peek() |
Object[] |
peekFlattened() |
Object[] |
peekRowHeaders() |
void |
setFormattedCellValues(boolean formattedCellValues)
Sets the 'formatted cell values' flag.
|
protected void |
setMdxMetaData(MDXMetaData mdxMetaData) |
protected void |
setNativeConnection(mondrian.olap.Connection nativeConnection) |
protected void |
setNativeResultSet(mondrian.olap.Result nativeResultSet) |
protected void |
setPeekRow(Object[] peekRow) |
public MDXResultSet()
public MDXResultSet(mondrian.olap.Result nativeResultSet,
mondrian.olap.Connection nativeConnection,
boolean useExtendedColumnNames)
useExtendedColumnNames - if true, columnNames will follow the format: "[dimension_name].[hierarchy_name].[level_name]" otherwise
the format for column names will be: "hierarchy_name{column_number}"
Implemented as a flag to allow reports prior to platform version 2.1 (Liberty) to continue to execute as
expected with the short column names, but if the developer sets the extendedColumnNames flag to true, can
overcome the bug in BISERVER-1266.returnNullCells - if true, returns null instead of 0.000000012345. This is configurable for backwards compatibilitypublic org.pentaho.commons.connection.IPentahoMetaData getMetaData()
getMetaData in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] peekRowHeaders()
public Object[] peek()
peek in interface org.pentaho.commons.connection.IPeekablepublic Object[] next()
next in interface org.pentaho.commons.connection.IPentahoResultSetpublic void close()
close in interface org.pentaho.commons.connection.IPentahoResultSetpublic void closeConnection()
closeConnection in interface org.pentaho.commons.connection.IPentahoResultSetpublic void dispose()
dispose in interface org.pentaho.commons.connection.IDisposablepublic boolean isScrollable()
isScrollable in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object getValueAt(int row, int column)
getValueAt in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getRowCount()
getRowCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic int getColumnCount()
getColumnCount in interface org.pentaho.commons.connection.IPentahoResultSetpublic org.pentaho.commons.connection.IPentahoResultSet memoryCopy()
memoryCopy in interface org.pentaho.commons.connection.IPentahoResultSetpublic void beforeFirst()
beforeFirst in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataColumn(int column)
getDataColumn in interface org.pentaho.commons.connection.IPentahoResultSetpublic Object[] getDataRow(int row)
getDataRow in interface org.pentaho.commons.connection.IPentahoResultSetprotected mondrian.olap.Result getNativeResultSet()
protected void setNativeResultSet(mondrian.olap.Result nativeResultSet)
protected mondrian.olap.Connection getNativeConnection()
protected void setNativeConnection(mondrian.olap.Connection nativeConnection)
protected MDXMetaData getMdxMetaData()
protected void setMdxMetaData(MDXMetaData mdxMetaData)
protected Object[] getPeekRow()
protected void setPeekRow(Object[] peekRow)
public int getRowIndex()
public Object[] nextFlattened()
nextFlattened in interface org.pentaho.commons.connection.IMultiDimensionalResultSetpublic Object[] peekFlattened()
peekFlattened in interface org.pentaho.commons.connection.IMultiDimensionalResultSetpublic void setFormattedCellValues(boolean formattedCellValues)
formattedCellValues - Copyright © 2020 Hitachi Vantara. All rights reserved.