org.openmobileis.database.fastobjectdb.db.index
Class FODBMultipleStringIndex
java.lang.Object
org.openmobileis.database.fastobjectdb.db.index.FODBIndex
org.openmobileis.database.fastobjectdb.db.index.FODBStringIndex
org.openmobileis.database.fastobjectdb.db.index.FODBMultipleStringIndex
- All Implemented Interfaces:
- FODBMultipleIndex
- public class FODBMultipleStringIndex
- extends FODBStringIndex
- implements FODBMultipleIndex
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FODBMultipleStringIndex
public FODBMultipleStringIndex(FODBIndexHeader newHeader,
FODBCollectionIndexFile cFile,
java.lang.reflect.AccessibleObject accObj)
throws FODBException
FODBMultipleStringIndex
public FODBMultipleStringIndex(FODBStringIndexDescriptor descriptor,
FODBCollectionIndexFile cFile,
java.lang.reflect.AccessibleObject accObj)
throws FODBException
getType
public int getType()
- Specified by:
getType
in class FODBIndex
writeKeyPtr
protected void writeKeyPtr(Node node,
int pos,
long newptr)
throws java.io.IOException,
java.lang.ClassNotFoundException
- replace the old ptr with new if present. Add if old not present
- Specified by:
writeKeyPtr
in class FODBStringIndex
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
createPtrArray
protected long createPtrArray(long ptr)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
addSearchResult
protected void addSearchResult(StringNode node,
int pos,
LongArray array,
SodaStringIndexComparator comparator)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
addSearchResult
in class FODBStringIndex
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
removeKeyPtr
protected boolean removeKeyPtr(Node node,
int pos,
long pointer)
throws java.io.IOException,
java.lang.ClassNotFoundException
- remove the specified pointer from the ptr array.
return true if array is deleted (empty)
- Specified by:
removeKeyPtr
in class FODBStringIndex
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
Copyright 2006 OpenMobileIS. All Rights Reserved.