Class IDFile

java.lang.Object
org.eclipse.rdf4j.sail.nativerdf.datastore.IDFile
All Implemented Interfaces:
Closeable, AutoCloseable

public class IDFile extends Object implements Closeable
Class supplying access to an ID file. An ID file maps IDs (integers >= 1) to file pointers (long integers). There is a direct correlation between IDs and the position at which the file pointers are stored; the file pointer for ID X is stored at position 8*X.

This class supports parallel reads but not parallel writes.

Author:
Arjohn Kampman