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

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

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

Detailed Description

Definition at line 44 of file FODBMultipleIntIndex.java.

Public Member Functions

 FODBMultipleIntIndex (FODBIndexHeader newHeader, FODBCollectionIndexFile cFile, AccessibleObject accObj) throws FODBException
 FODBMultipleIntIndex (FODBIntIndexDescriptor 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 (IntNode pg, int pos, LongArray array) 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.FODBMultipleIntIndex.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.FODBIntIndex.

Definition at line 64 of file FODBMultipleIntIndex.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.FODBMultipleIntIndex.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.FODBIntIndex.

Definition at line 132 of file FODBMultipleIntIndex.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