It contains all needed methods : readObject, writeObject, deleteObject, etc... For each of these functions, it opens and closes the Collection File. That makes sure we won't have any error, even if we forgot to open the file before we try to access it.
Definition at line 47 of file FODBCollectionIndexFile.java.
Public Member Functions | |
FODBCollectionIndexFile (FODBCollectionFile cf) | |
Node | readNode (long pos) throws IOException, ClassNotFoundException |
long | writeNode (Node node, FODBIndexHeader header) throws IOException, ClassNotFoundException |
long | writeHeader (FODBIndexHeader header) throws IOException, ClassNotFoundException |
void | rewriteHeader (FODBIndexHeader obj, long pos) throws IOException, ClassNotFoundException |
void | rewriteNode (Node obj, long pos) throws IOException, ClassNotFoundException |
void | deleteNode (Node node) throws IOException, ClassNotFoundException |
void | addIndexPointerToTable (long pointer) throws IOException, ClassNotFoundException |
long[] | readLongPtr (long pos) throws IOException, ClassNotFoundException |
long | writeLongPtr (long[] ptr) throws IOException, ClassNotFoundException |
void | rewriteLongPtr (long[] obj, long pos) throws IOException, ClassNotFoundException |
void | deleteLongPtr (long ptr) throws IOException, ClassNotFoundException |
Package Attributes | |
FODBCollectionFile | collectionFile |