public class DenormalizedMDXTableModel extends AbstractTableModel implements org.pentaho.reporting.engine.classic.core.util.CloseableTableModel, org.pentaho.reporting.engine.classic.core.MetaTableModel
listenerList
Constructor and Description |
---|
DenormalizedMDXTableModel(mondrian.olap.Result resultSet)
Deprecated.
|
DenormalizedMDXTableModel(mondrian.olap.Result resultSet,
int rowLimit,
boolean membersOnAxisSorted) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
org.pentaho.reporting.engine.classic.core.wizard.DataAttributes |
getCellDataAttributes(int rowIndex,
int columnIndex)
Returns the meta-attribute as Java-Object.
|
org.pentaho.reporting.engine.classic.core.wizard.DataAttributes |
getColumnAttributes(int column) |
Class<?> |
getColumnClass(int columnIndex)
Returns
Object.class regardless of columnIndex . |
int |
getColumnCount() |
String |
getColumnName(int column)
Returns a default name for the column using spreadsheet conventions: A, B, C, ...
|
int |
getRowCount() |
org.pentaho.reporting.engine.classic.core.wizard.DataAttributes |
getTableAttributes()
Returns table-wide attributes.
|
Object |
getValueAt(int rowIndex,
int columnIndex) |
boolean |
isCellDataAttributesSupported() |
addTableModelListener, findColumn, fireTableCellUpdated, fireTableChanged, fireTableDataChanged, fireTableRowsDeleted, fireTableRowsInserted, fireTableRowsUpdated, fireTableStructureChanged, getListeners, getTableModelListeners, isCellEditable, removeTableModelListener, setValueAt
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
addTableModelListener, isCellEditable, removeTableModelListener, setValueAt
@Deprecated public DenormalizedMDXTableModel(mondrian.olap.Result resultSet)
public DenormalizedMDXTableModel(mondrian.olap.Result resultSet, int rowLimit, boolean membersOnAxisSorted)
public int getRowCount()
getRowCount
in interface TableModel
public int getColumnCount()
getColumnCount
in interface TableModel
public String getColumnName(int column)
column
cannot be found, returns an empty string.getColumnName
in interface TableModel
getColumnName
in class AbstractTableModel
column
- the column being queriedcolumn
public Class<?> getColumnClass(int columnIndex)
Object.class
regardless of columnIndex
.getColumnClass
in interface TableModel
getColumnClass
in class AbstractTableModel
columnIndex
- the column being queriedpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt
in interface TableModel
public void close()
close
in interface org.pentaho.reporting.engine.classic.core.util.CloseableTableModel
public org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getCellDataAttributes(int rowIndex, int columnIndex)
getCellDataAttributes
in interface org.pentaho.reporting.engine.classic.core.MetaTableModel
rowIndex
- the row of the cell for which the meta-data is queried.columnIndex
- the index of the column for which the meta-data is queried.public boolean isCellDataAttributesSupported()
isCellDataAttributesSupported
in interface org.pentaho.reporting.engine.classic.core.MetaTableModel
public org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getColumnAttributes(int column)
getColumnAttributes
in interface org.pentaho.reporting.engine.classic.core.MetaTableModel
public org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getTableAttributes()
getTableAttributes
in interface org.pentaho.reporting.engine.classic.core.MetaTableModel
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.