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

java.lang.Object
  extended by org.pentaho.commons.connection.AbstractPentahoMetaData
      extended by org.pentaho.platform.plugin.services.connections.mondrian.MDXMetaData
All Implemented Interfaces:
org.pentaho.commons.connection.IMultiDimensionalMetaData, org.pentaho.commons.connection.IPentahoMetaData

public class MDXMetaData
extends org.pentaho.commons.connection.AbstractPentahoMetaData
implements org.pentaho.commons.connection.IMultiDimensionalMetaData

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

Constructor Summary
MDXMetaData()
           
MDXMetaData(mondrian.olap.Result nativeResultSet)
           
MDXMetaData(mondrian.olap.Result nativeResultSet, boolean useExtendedColumnNames)
           
 
Method Summary
 void generateColumnNames()
           
 int getColumnCount()
           
 Object[][] getColumnHeaders()
           
 String getColumnName(int columnNumber)
           
 String[] getFlattenedColumnNames()
           
 String[] getRowHeaderNames()
           
 Object[][] getRowHeaders()
           
 void setColumnNameFormat(String formatStr)
           
 
Methods inherited from class org.pentaho.commons.connection.AbstractPentahoMetaData
getAttribute, getColumnIndex, getColumnIndex, getRowIndex, getRowIndex
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MDXMetaData

public MDXMetaData()

MDXMetaData

public MDXMetaData(mondrian.olap.Result nativeResultSet,
                   boolean useExtendedColumnNames)
Parameters:
connection -

MDXMetaData

public MDXMetaData(mondrian.olap.Result nativeResultSet)
Parameters:
connection -
Method Detail

getColumnName

public String getColumnName(int columnNumber)

getColumnCount

public int getColumnCount()
Specified by:
getColumnCount in interface org.pentaho.commons.connection.IPentahoMetaData
Overrides:
getColumnCount in class org.pentaho.commons.connection.AbstractPentahoMetaData

getColumnHeaders

public Object[][] getColumnHeaders()
Specified by:
getColumnHeaders in interface org.pentaho.commons.connection.IPentahoMetaData
Specified by:
getColumnHeaders in class org.pentaho.commons.connection.AbstractPentahoMetaData

getRowHeaders

public Object[][] getRowHeaders()
Specified by:
getRowHeaders in interface org.pentaho.commons.connection.IMultiDimensionalMetaData
Specified by:
getRowHeaders in interface org.pentaho.commons.connection.IPentahoMetaData
Specified by:
getRowHeaders in class org.pentaho.commons.connection.AbstractPentahoMetaData

getRowHeaderNames

public String[] getRowHeaderNames()
Specified by:
getRowHeaderNames in interface org.pentaho.commons.connection.IMultiDimensionalMetaData

setColumnNameFormat

public void setColumnNameFormat(String formatStr)
Specified by:
setColumnNameFormat in interface org.pentaho.commons.connection.IMultiDimensionalMetaData

generateColumnNames

public void generateColumnNames()

getFlattenedColumnNames

public String[] getFlattenedColumnNames()
Specified by:
getFlattenedColumnNames in interface org.pentaho.commons.connection.IMultiDimensionalMetaData