public class CompositeTable extends AbstractTable
Constructor and Description |
---|
CompositeTable(ITable table1,
ITable table2)
Creates a composite table that combines the specified specified tables.
|
CompositeTable(ITableMetaData metaData,
ITable table)
Creates a composite table that combines the specified metadata with the
specified table.
|
CompositeTable(ITableMetaData metaData,
ITable[] tables)
Creates a composite table that combines the specified metadata with the
specified tables.
|
CompositeTable(String newName,
ITable table)
Creates a composite dataset that encapsulate the specified table with a
new name.
|
Modifier and Type | Method and Description |
---|---|
int |
getRowCount()
Returns this table row count.
|
ITableMetaData |
getTableMetaData()
Returns this table metadata.
|
Object |
getValue(int row,
String columnName)
Returns this table value for the specified row and column.
|
String |
toString() |
assertValidColumn, assertValidRowIndex, assertValidRowIndex, getColumnIndex
public CompositeTable(ITableMetaData metaData, ITable table)
public CompositeTable(ITableMetaData metaData, ITable[] tables)
public CompositeTable(ITable table1, ITable table2)
public CompositeTable(String newName, ITable table) throws DataSetException
DataSetException
public ITableMetaData getTableMetaData()
ITable
public int getRowCount()
ITable
public Object getValue(int row, String columnName) throws DataSetException
ITable
row
- The row index, starting with 0columnName
- The name of the columnNoSuchColumnException
- if specified column name do not exist in
this tableRowOutOfBoundsException
- if specified row is less than zero or
equals or greater than getRowCount
DataSetException
Copyright © 2002–2020. All rights reserved.