Copyright © 2011 Citra Technologies. All Rights Reserved.

com.citra.table.db
Interface CrosstabTableModel

All Superinterfaces:
DatabaseTableModel, TableModel
All Known Implementing Classes:
DefaultCrosstabTableModel, MSAccessPivotTableModel

public interface CrosstabTableModel
extends DatabaseTableModel

CrosstabTableModel is used to diplay a crosstab in tabular form.


Method Summary
 String[] retrievePivotColumns(String pivotColumn)
          Retrieves the pivot columns from the underlying data source.
 
Methods inherited from interface com.citra.table.db.DatabaseTableModel
readRowCount, retrieveRows
 
Methods inherited from interface javax.swing.table.TableModel
addTableModelListener, getColumnClass, getColumnCount, getColumnName, getRowCount, getValueAt, isCellEditable, removeTableModelListener, setValueAt
 

Method Detail

retrievePivotColumns

String[] retrievePivotColumns(String pivotColumn)
Retrieves the pivot columns from the underlying data source. Note that the pivot column need not be a column name, but also a column function. e.g. year(orderDate)

Parameters:
pivotColumn - a column or a column function used as the pivot.
Returns:
the pivot columns.

Copyright © 2011 Citra Technologies. All Rights Reserved.