org.axiondb.io
Class AxionFileSystem.PidxList

java.lang.Object
  extended by org.axiondb.io.AxionFileSystem.PidxList
Enclosing class:
AxionFileSystem

public class AxionFileSystem.PidxList
extends Object


Constructor Summary
AxionFileSystem.PidxList(int count, File pidxFile, boolean readOnly)
           
AxionFileSystem.PidxList(org.apache.commons.collections.primitives.LongList list, File pidxFile, boolean readOnly)
           
 
Method Summary
 void add(long dataFileOffset)
           
 void close()
           
 void flush()
           
 long get(int index)
           
 long set(int rowid, long dataFileOffset)
           
 int size()
           
 void writeAll()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AxionFileSystem.PidxList

public AxionFileSystem.PidxList(int count,
                                File pidxFile,
                                boolean readOnly)
                         throws AxionException
Throws:
AxionException

AxionFileSystem.PidxList

public AxionFileSystem.PidxList(org.apache.commons.collections.primitives.LongList list,
                                File pidxFile,
                                boolean readOnly)
                         throws AxionException
Throws:
AxionException
Method Detail

add

public void add(long dataFileOffset)

close

public void close()
           throws IOException
Throws:
IOException

flush

public void flush()
           throws IOException
Throws:
IOException

get

public long get(int index)

set

public long set(int rowid,
                long dataFileOffset)

size

public int size()

writeAll

public void writeAll()
              throws AxionException
Throws:
AxionException