org.openmobileis.database.fastobjectdb.db.index
Class FODBUniqueStringIndex
java.lang.Object
org.openmobileis.database.fastobjectdb.db.index.FODBIndex
org.openmobileis.database.fastobjectdb.db.index.FODBStringIndex
org.openmobileis.database.fastobjectdb.db.index.FODBUniqueStringIndex
- All Implemented Interfaces:
- FODBUniqueIndex
- public class FODBUniqueStringIndex
- extends FODBStringIndex
- implements FODBUniqueIndex
Methods inherited from class org.openmobileis.database.fastobjectdb.db.index.FODBStringIndex |
deleteKey, getArrayKey, getKey, getKeySensitive, getNodeForKey, initRoot, insertKey, parcours, query, specificDescriptorVerifications, specificHeaderInit |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
FODBUniqueStringIndex
public FODBUniqueStringIndex(FODBIndexHeader newHeader,
FODBCollectionIndexFile cFile,
java.lang.reflect.AccessibleObject accObj)
throws FODBException
FODBUniqueStringIndex
public FODBUniqueStringIndex(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
- Specified by:
writeKeyPtr
in class FODBStringIndex
- 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
getKeyPosition
public long getKeyPosition(java.lang.Object keytosearch)
throws FODBException
- Specified by:
getKeyPosition
in interface FODBUniqueIndex
- Throws:
FODBException
removeKeyPtr
protected boolean removeKeyPtr(Node pg,
int pos,
long pointer)
throws java.io.IOException,
java.lang.ClassNotFoundException
- Specified by:
removeKeyPtr
in class FODBStringIndex
- Throws:
java.io.IOException
java.lang.ClassNotFoundException
getIndexDescriptor
public FODBIndexDescriptor getIndexDescriptor()
- Specified by:
getIndexDescriptor
in class FODBIndex
Copyright 2005 e-Care. All Rights Reserved.