HEADER

ru.biosoft.access
Class MemIndex

java.lang.Object
  |
  +--java.util.AbstractMap
        |
        +--java.util.HashMap
              |
              +--ru.biosoft.access.MemIndex

public class MemIndex
extends HashMap
implements Index

todo Document

Constructor Summary
MemIndex(File dataFile, String indexName)
           

Method Summary
 voidclose()
           
 FilegetIndexFile()
          Returns index file.
 booleanisValid()
           
 IteratornodeIterator(Key key)
           

Methods inherited from class java.util.HashMap
size, isEmpty, containsValue, containsKey, get, put, remove, putAll, clear, clone, keySet, values, entrySet

Methods inherited from class java.util.AbstractMap
equals, hashCode, toString

Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait

Constructor Detail

MemIndex

public MemIndex(File dataFile, String indexName)
throws java.io.IOException
todo Document., HIGH Implement.
Method Detail

close

public void close()
throws java.io.FileNotFoundException,
java.io.IOException
todo Document, HIGH Uncomment when close will be work correctly.

getIndexFile

public File getIndexFile()
Returns index file. This information is essential to remove index files.
Returns: index file.

isValid

public boolean isValid()
todo Document., Implement, May compare timestamp of file and index file.

nodeIterator

public Iterator nodeIterator(Key key)

Association Links

to Class java.io.File

Name of index file

FOOTER

BOTTOM