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

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

Protected Member Functions

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

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 153 of file FODBMultipleLongIndex.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.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 73 of file FODBMultipleLongIndex.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