public class PrimaryKeyFilteredTableWrapper extends Object implements ITable
Modifier and Type | Field and Description |
---|---|
protected org.slf4j.Logger |
logger
logger
|
Constructor and Description |
---|
PrimaryKeyFilteredTableWrapper(ITable table,
Set allowedPKs)
Creates a PKFilteredTable given an original table and the allowed primary keys
for that table.
|
Modifier and Type | Method and Description |
---|---|
int |
getRowCount()
Returns this table row count.
|
ITableMetaData |
getTableMetaData()
Returns this table metadata.
|
Object |
getValue(int row,
String column)
Returns this table value for the specified row and column.
|
public PrimaryKeyFilteredTableWrapper(ITable table, Set allowedPKs) throws DataSetException
table
- original tableallowedPKs
- primary keys allowed on the new tableDataSetException
- if something happened while getting the informationpublic ITableMetaData getTableMetaData()
ITable
getTableMetaData
in interface ITable
public int getRowCount()
ITable
getRowCount
in interface ITable
public Object getValue(int row, String column) throws DataSetException
ITable
getValue
in interface ITable
row
- The row index, starting with 0column
- 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–2019. All rights reserved.