org.openmobileis.database.fastobjectdb.db.index.FODBMultipleLongIndex Class Reference

Inheritance diagram for org.openmobileis.database.fastobjectdb.db.index.FODBMultipleLongIndex:

org.openmobileis.database.fastobjectdb.db.index.FODBLongIndex org.openmobileis.database.fastobjectdb.db.index.FODBMultipleIndex org.openmobileis.database.fastobjectdb.db.index.FODBIndex List of all members.

Detailed Description

Definition at line 45 of file FODBMultipleLongIndex.java.

Public Member Functions

 FODBMultipleLongIndex (FODBIndexHeader newHeader, FODBCollectionIndexFile cFile, AccessibleObject accObj) throws FODBException
 FODBMultipleLongIndex (FODBLongIndexDescriptor descriptor, FODBCollectionIndexFile cFile, AccessibleObject accObj) throws FODBException
int getType ()

Protected Member Functions

void writeKeyPtr (Node pg, int pos, long newptr) throws IOException, ClassNotFoundException
 replace the old ptr with new if present.
long createPtrArray (long ptr) throws IOException, ClassNotFoundException
void addSearchResult (LongNode pg, int pos, LongArray array) throws IOException, ClassNotFoundException
void addSearchResult (StringNode node, int pos, LongArray array, SodaStringIndexComparator comparator) throws IOException, ClassNotFoundException
boolean removeKeyPtr (Node pg, int pos, long pointer) throws IOException, ClassNotFoundException
 remove the specified pointer from the ptr array.


Member Function Documentation

void org.openmobileis.database.fastobjectdb.db.index.FODBMultipleLongIndex.writeKeyPtr ( Node  pg,
int  pos,
long  newptr 
) throws IOException, ClassNotFoundException [protected, virtual]

replace the old ptr with new if present.

Add if old not present

Implements org.openmobileis.database.fastobjectdb.db.index.FODBLongIndex.

Definition at line 65 of file FODBMultipleLongIndex.java.

References org.openmobileis.database.fastobjectdb.db.index.FODBIndex.colFile, and org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.readLongPtr().

boolean org.openmobileis.database.fastobjectdb.db.index.FODBMultipleLongIndex.removeKeyPtr ( Node  pg,
int  pos,
long  pointer 
) throws IOException, ClassNotFoundException [protected, virtual]

remove the specified pointer from the ptr array.

return true if array is deleted (empty)

Implements org.openmobileis.database.fastobjectdb.db.index.FODBLongIndex.

Definition at line 145 of file FODBMultipleLongIndex.java.


The documentation for this class was generated from the following file:
Generated on Mon Dec 4 11:03:35 2006 for OpenMobileIS by  doxygen 1.5.1-p1