|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dbunit.dataset.AbstractTable
org.dbunit.dataset.SortedTable
public class SortedTable
This is a ITable decorator that provide a sorted view of the decorated table. This implementation does not keep a separate copy of the decorated table data.
| Field Summary |
|---|
| Fields inherited from interface org.dbunit.dataset.ITable |
|---|
NO_VALUE |
| Constructor Summary | |
|---|---|
SortedTable(ITable table)
Sort the decorated table by its own columns order. |
|
SortedTable(ITable table,
Column[] columns)
Sort the decorated table by specified columns order. |
|
SortedTable(ITable table,
ITableMetaData metaData)
Sort the decorated table by specified metadata columns order. |
|
SortedTable(ITable table,
java.lang.String[] columnNames)
Sort the decorated table by specified columns order. |
|
| Method Summary | |
|---|---|
int |
getRowCount()
Returns this table row count. |
ITableMetaData |
getTableMetaData()
Returns this table metadata. |
java.lang.Object |
getValue(int row,
java.lang.String column)
Returns this table value for the specified row and column. |
| Methods inherited from class org.dbunit.dataset.AbstractTable |
|---|
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndex |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SortedTable(ITable table,
Column[] columns)
public SortedTable(ITable table,
java.lang.String[] columnNames)
throws DataSetException
DataSetException
public SortedTable(ITable table,
ITableMetaData metaData)
throws DataSetException
DataSetException
public SortedTable(ITable table)
throws DataSetException
DataSetException| Method Detail |
|---|
public ITableMetaData getTableMetaData()
ITable
public int getRowCount()
ITable
public java.lang.Object getValue(int row,
java.lang.String column)
throws DataSetException
ITable
NoSuchColumnException - if specfied column name do not exist in
this table
RowOutOfBoundsException - if specfied row is less than zero or
equals or greater than getRowCount
DataSetException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||