| java.lang.Object org.openrdf.sail.nativerdf.datastore.HashIndex
HashIndex | public class HashIndex (Code) | | A file-based hash table based on B-Trees.
author: Arjohn Kampman |
Inner Class :public class IDIterator | |
Method Summary | |
public void | clear() | public void | close() | public File | getFile() | public IDIterator | getIDIterator(int hash) Gets an iterator that iterates over the IDs with hash codes that match the
specified hash code. | public void | removeID(int hash, int id) Removes the specified ID from this hash index. | public void | storeID(int hash, int id) Stores an ID under the specified hash code in this hash index. | public void | sync() |
getIDIterator | public IDIterator getIDIterator(int hash) throws IOException(Code) | | Gets an iterator that iterates over the IDs with hash codes that match the
specified hash code.
|
removeID | public void removeID(int hash, int id) throws IOException(Code) | | Removes the specified ID from this hash index.
|
storeID | public void storeID(int hash, int id) throws IOException(Code) | | Stores an ID under the specified hash code in this hash index.
|
|
|