org.pentaho.platform.plugin.services.connections.mondrian
Class MDXResultSet

java.lang.Object
  extended by org.pentaho.platform.plugin.services.connections.mondrian.MDXResultSet

public class MDXResultSet
extends Object

Author:
wseyler TODO To change the template for this generated type comment go to Window - Preferences - Java - Code Style - Code Templates

Constructor Summary
MDXResultSet()
           
MDXResultSet(Result nativeResultSet, Connection nativeConnection, boolean useExtendedColumnNames)
           
 
Method Summary
 void beforeFirst()
           
 void close()
           
 void closeConnection()
           
 void dispose()
           
 int getColumnCount()
           
 Object[] getDataColumn(int column)
           
 Object[] getDataRow(int row)
           
 IPentahoMetaData getMetaData()
           
 int getRowCount()
           
 int getRowIndex()
           
 Object getValueAt(int row, int column)
           
 boolean isScrollable()
           
 IPentahoResultSet memoryCopy()
           
 Object[] next()
           
 Object[] nextFlattened()
           
 Object[] peek()
           
 Object[] peekFlattened()
           
 Object[] peekRowHeaders()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDXResultSet

public MDXResultSet()

MDXResultSet

public MDXResultSet(Result nativeResultSet,
                    Connection nativeConnection,
                    boolean useExtendedColumnNames)
Parameters:
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 compatibility
Method Detail

getMetaData

public IPentahoMetaData getMetaData()

peekRowHeaders

public Object[] peekRowHeaders()

peek

public Object[] peek()

next

public Object[] next()

close

public void close()

closeConnection

public void closeConnection()

dispose

public void dispose()

isScrollable

public boolean isScrollable()

getValueAt

public Object getValueAt(int row,
                         int column)

getRowCount

public int getRowCount()

getColumnCount

public int getColumnCount()

memoryCopy

public IPentahoResultSet memoryCopy()

beforeFirst

public void beforeFirst()

getDataColumn

public Object[] getDataColumn(int column)

getDataRow

public Object[] getDataRow(int row)

getRowIndex

public int getRowIndex()

nextFlattened

public Object[] nextFlattened()

peekFlattened

public Object[] peekFlattened()