Main Page | Packages | Class Hierarchy | Class List | Directories | File List | Class Members | Related Pages

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 44 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 ()
FODBIndexDescriptor getIndexDescriptor ()

Protected Member Functions

void specificHeaderInit (FODBIndexDescriptor descriptor) throws FODBException
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

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 165 of file FODBMultipleStringIndex.java.

References org.openmobileis.database.fastobjectdb.db.index.FODBIndex.colFile, org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.deleteLongPtr(), org.openmobileis.database.fastobjectdb.db.index.FODBIndex.header, org.openmobileis.database.fastobjectdb.db.index.FODBIndexHeader.incTabSize, org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.readLongPtr(), org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.rewriteLongPtr(), org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.rewriteNode(), and org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.writeLongPtr().

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 69 of file FODBMultipleStringIndex.java.

References org.openmobileis.database.fastobjectdb.db.index.FODBIndex.colFile, org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.deleteLongPtr(), org.openmobileis.database.fastobjectdb.db.index.FODBIndex.header, org.openmobileis.database.fastobjectdb.db.index.FODBIndexHeader.incTabSize, org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.readLongPtr(), org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.rewriteLongPtr(), org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.rewriteNode(), and org.openmobileis.database.fastobjectdb.db.store.FODBCollectionIndexFile.writeLongPtr().


The documentation for this class was generated from the following file:
Generated on Wed Dec 14 21:05:38 2005 for OpenMobileIS by  doxygen 1.4.4