org.openrdf.sesame.sailimpl.nativerdf.datastore
Class HashFile
java.lang.Object
org.openrdf.sesame.sailimpl.nativerdf.datastore.HashFile
- public class HashFile
- extends Object
Class supplying access to a hash file. This class is a wrapper class. The
actual hash file stuff is implemented in the inner class HashFile0.
- Version:
- $Revision: 1.10.4.4 $
- Author:
- Arjohn Kampman
HashFile
public HashFile(File file)
throws IOException
startTransaction
public void startTransaction(boolean isolateTransaction)
throws IOException
- Throws:
IOException
commitTransaction
public void commitTransaction()
throws IOException
- Throws:
IOException
rollbackTransaction
public void rollbackTransaction()
throws IOException
- Throws:
IOException
storeOffset
public void storeOffset(int hash,
long dataOffset)
throws IOException
- Throws:
IOException
clear
public void clear()
throws IOException
- Throws:
IOException
getOffsetIterator
public HashFile.OffsetIterator getOffsetIterator(int hash,
boolean dirtyReads)
throws IOException
- Throws:
IOException
close
public void close()
throws IOException
- Throws:
IOException
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.