public abstract class AbstractHashIndex extends java.lang.Object implements IndexAbstract
| 限定符和类型 | 字段和说明 |
|---|---|
protected int |
column |
protected DataModel |
dataModel |
protected java.util.HashMap<java.lang.Object,com.fr.data.index.hash.AbstractHashIndex.Entry> |
indexes |
protected boolean |
isBuild |
| 构造器和说明 |
|---|
AbstractHashIndex() |
AbstractHashIndex(DataModel dataModel,
int column) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
build()
建立索引
|
protected abstract void |
buildIndex() |
protected void |
extractIndex() |
int[] |
getAllRow(java.lang.Object key) |
int |
getRow(java.lang.Object key)
获取key所在的行
|
protected void |
setDataModel(DataModel dataModel,
int column) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsearch, searchAllprotected DataModel dataModel
protected int column
protected boolean isBuild
protected java.util.HashMap<java.lang.Object,com.fr.data.index.hash.AbstractHashIndex.Entry> indexes
public AbstractHashIndex()
public AbstractHashIndex(DataModel dataModel, int column)
protected void setDataModel(DataModel dataModel, int column)
protected void extractIndex()
throws TableDataException
protected abstract void buildIndex()
throws IndexException
IndexExceptionpublic int getRow(java.lang.Object key)
throws IndexException
IndexgetRow 在接口中 Indexkey - 键值IndexExceptionpublic void build()
throws IndexException
build 在接口中 IndexIndexException - 异常public int[] getAllRow(java.lang.Object key)
throws IndexException
getAllRow 在接口中 IndexIndexException