public class BandedMDXTableModel extends AbstractTableModel implements org.pentaho.reporting.engine.classic.core.util.CloseableTableModel, org.pentaho.reporting.engine.classic.core.MetaTableModel
listenerList| Constructor and Description |
|---|
BandedMDXTableModel(QueryResultWrapper resultSet,
int rowLimit)
Deprecated.
|
BandedMDXTableModel(QueryResultWrapper resultWrapper,
int rowLimit,
boolean membersOnAxisSorted) |
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
protected int |
computeColumnCount(int[] axesMembers,
int[] axesSize) |
protected List<String> |
computeColumnNames(List<org.olap4j.CellSetAxis> axes,
List<org.olap4j.metadata.Member> columnToMemberMapper) |
protected int |
computeRowCount(int[] axesSize) |
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) |
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, setValueAtclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitaddTableModelListener, isCellEditable, removeTableModelListener, setValueAt@Deprecated public BandedMDXTableModel(QueryResultWrapper resultSet, int rowLimit)
public BandedMDXTableModel(QueryResultWrapper resultWrapper, int rowLimit, boolean membersOnAxisSorted)
protected int computeColumnCount(int[] axesMembers,
int[] axesSize)
protected int computeRowCount(int[] axesSize)
protected List<String> computeColumnNames(List<org.olap4j.CellSetAxis> axes, List<org.olap4j.metadata.Member> columnToMemberMapper)
public int getRowCount()
getRowCount in interface TableModelpublic int getColumnCount()
getColumnCount in interface TableModelpublic String getColumnName(int column)
column cannot be found, returns an empty string.getColumnName in interface TableModelgetColumnName in class AbstractTableModelcolumn - the column being queriedcolumnpublic Object getValueAt(int rowIndex, int columnIndex)
getValueAt in interface TableModelpublic Class<?> getColumnClass(int columnIndex)
getColumnClass in interface TableModelgetColumnClass in class AbstractTableModelpublic void close()
close in interface org.pentaho.reporting.engine.classic.core.util.CloseableTableModelpublic org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getCellDataAttributes(int rowIndex,
int columnIndex)
getCellDataAttributes in interface org.pentaho.reporting.engine.classic.core.MetaTableModelrowIndex - 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.MetaTableModelpublic org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getColumnAttributes(int column)
getColumnAttributes in interface org.pentaho.reporting.engine.classic.core.MetaTableModelpublic org.pentaho.reporting.engine.classic.core.wizard.DataAttributes getTableAttributes()
getTableAttributes in interface org.pentaho.reporting.engine.classic.core.MetaTableModelCopyright © 2018 Hitachi Vantara. All rights reserved.