public interface IndexDataModel extends DataModel
COLUMN_NAME_NOT_FOUND, EMPTY_DATAMODEL
限定符和类型 | 方法和说明 |
---|---|
int[] |
getAllRowByKey(java.lang.Object key,
int column) |
int |
getRowByKey(java.lang.Object key,
int column)
根据键值获取行号
|
void |
setDataModel(DataModel dataModel) |
void |
setIndex(int column,
Index index)
设置第几列的索引实现方式
|
getColumnCount, getColumnIndex, getColumnName, getDataIterator, getIteratorDataByColumn, getMetric, getRowCount, getValueAt, hasRow, release
int getRowByKey(java.lang.Object key, int column) throws IndexException
key
- 键值column
- 键值所在的列IndexException
int[] getAllRowByKey(java.lang.Object key, int column) throws IndexException
IndexException
void setDataModel(DataModel dataModel)
void setIndex(int column, Index index)
column
- 第几列index
- 索引对象