public class DefaultIndexDataModel extends AbstractIndexDataModel
dataModelNOT_CONTAINSCOLUMN_NAME_NOT_FOUND, EMPTY_DATAMODEL| 构造器和说明 |
|---|
DefaultIndexDataModel(DataModel dataModel) |
| 限定符和类型 | 方法和说明 |
|---|---|
protected void |
buildIndex(int column) |
int[] |
getAllRowByKey(java.lang.Object key,
int column) |
protected Index |
getIndex(int column) |
int |
getRowByKey(java.lang.Object key,
int column)
根据键值获取行号
|
void |
setIndex(int column,
Index index)
设置第几列的索引实现方式
|
getColumnCount, getColumnName, getRowCount, getValueAt, release, setDataModelgetColumnIndex, getDataIterator, getIteratorDataByColumn, getMetric, hasRowclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetColumnIndex, getDataIterator, getIteratorDataByColumn, getMetric, hasRowpublic DefaultIndexDataModel(DataModel dataModel)
protected void buildIndex(int column)
public void setIndex(int column,
Index index)
IndexDataModelcolumn - 第几列index - 索引对象protected Index getIndex(int column)
public int getRowByKey(java.lang.Object key,
int column)
throws IndexException
IndexDataModelkey - 键值column - 键值所在的列IndexExceptionpublic int[] getAllRowByKey(java.lang.Object key,
int column)
throws IndexException
IndexException