|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.util.AbstractMap
java.util.HashMap
ru.biosoft.access.MemIndex
| Nested Class Summary |
| Nested classes inherited from class ru.biosoft.access.Index |
Index.IndexEntry, Index.StringIndexEntry |
| Nested classes inherited from class java.util.Map |
java.util.Map.Entry |
| Field Summary |
| Fields inherited from interface ru.biosoft.access.Index |
DEFAULT_INDEX_NAME |
| Constructor Summary | |
MemIndex(java.io.File dataFile,
java.lang.String indexName)
|
|
| Method Summary | |
void |
close()
Release all resources. |
java.io.File |
getIndexFile()
Returns index file. |
boolean |
isValid()
Check is this index valid. |
java.util.Iterator |
nodeIterator(Key key)
|
| Methods inherited from class java.util.HashMap |
clear, clone, containsKey, containsValue, entrySet, get, isEmpty, keySet, put, putAll, remove, size, values |
| Methods inherited from class java.util.AbstractMap |
equals, hashCode, toString |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
| Methods inherited from interface java.util.Map |
clear, containsKey, containsValue, entrySet, equals, get, hashCode, isEmpty, keySet, put, putAll, remove, size, values |
| Constructor Detail |
public MemIndex(java.io.File dataFile,
java.lang.String indexName)
throws java.io.IOException
| Method Detail |
public java.util.Iterator nodeIterator(Key key)
nodeIterator in interface Indexpublic boolean isValid()
Index
isValid in interface Indextrue if index valid, false otherwise.public java.io.File getIndexFile()
getIndexFile in interface Index
public void close()
throws java.io.FileNotFoundException,
java.io.IOException
Index
close in interface Indexjava.io.FileNotFoundException
java.io.IOException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||