HEADER

ru.biosoft.access
Interface Index

All Known Implementing Classes:
TitleSqlIndex, BTreeIndex, MemIndex

public interface Index
extends Map

Interface for storing/extracting indexes. Map keys to index entries.


Field Summary
 final static StringDEFAULT_INDEX_NAME
           

Method Summary
 voidclose()
          Release all resources.
 FilegetIndexFile()
          Returns index file.
 booleanisValid()
          Check is this index valid.
 IteratornodeIterator(Key key)
           

Methods inherited from interface java.util.Map
size, isEmpty, containsKey, containsValue, get, put, remove, putAll, clear, keySet, values, entrySet, equals, hashCode

Field Detail

DEFAULT_INDEX_NAME

public final static String DEFAULT_INDEX_NAME
Method Detail

close

public void close()
throws java.lang.Exception
Release all resources. After call this method all operations on this object are invalid.

getIndexFile

public File getIndexFile()
Returns index file. This information is essential to remove index files. Can return null if file is not used.
Returns: index file.

isValid

public boolean isValid()
Check is this index valid.
Returns: true if index valid, false otherwise.

nodeIterator

public Iterator nodeIterator(Key key)
Throws:
Exception
todo Comment

Association Links

to Class java.lang.String


FOOTER

BOTTOM