org.pentaho.platform.plugin.services.connections.mondrian
Class MDXMetaData
java.lang.Object
org.pentaho.commons.connection.AbstractPentahoMetaData
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)
|
Methods inherited from class org.pentaho.commons.connection.AbstractPentahoMetaData |
getAttribute, getColumnIndex, getColumnIndex, getRowIndex, getRowIndex |
MDXMetaData
public MDXMetaData()
MDXMetaData
public MDXMetaData(mondrian.olap.Result nativeResultSet,
boolean useExtendedColumnNames)
- Parameters:
connection
-
MDXMetaData
public MDXMetaData(mondrian.olap.Result nativeResultSet)
- Parameters:
connection
-
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