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

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

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

Detailed Description

Definition at line 43 of file FODBMultipleStringIndex.java.

Public Member Functions

 FODBMultipleStringIndex (FODBIndexHeader newHeader, FODBCollectionIndexFile cFile, AccessibleObject accObj) throws FODBException
 FODBMultipleStringIndex (FODBStringIndexDescriptor descriptor, FODBCollectionIndexFile cFile, AccessibleObject accObj) throws FODBException
int getType ()

Protected Member Functions

void writeKeyPtr (Node node, int pos, long newptr) throws IOException, ClassNotFoundException
 replace the old ptr with new if present.
long createPtrArray (long ptr) throws IOException, ClassNotFoundException
void addSearchResult (StringNode node, int pos, LongArray array, SodaStringIndexComparator comparator) throws IOException, ClassNotFoundException
boolean removeKeyPtr (Node node, 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.FODBMultipleStringIndex.writeKeyPtr ( Node  node,
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.FODBStringIndex.

Definition at line 60 of file FODBMultipleStringIndex.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.FODBMultipleStringIndex.removeKeyPtr ( Node  node,
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.FODBStringIndex.

Definition at line 156 of file FODBMultipleStringIndex.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