org.axiondb.engine.indexes
Class ObjectArrayIndex
java.lang.Object
org.axiondb.event.BaseTableModificationListener
org.axiondb.engine.indexes.BaseIndex
org.axiondb.engine.indexes.BaseArrayIndex
org.axiondb.engine.indexes.ObjectArrayIndex
- All Implemented Interfaces:
- TableModificationListener, Index
public class ObjectArrayIndex
- extends BaseArrayIndex
An index
over Object
keys.
- Version:
- $Revision: 1.4 $ $Date: 2005/03/12 02:10:41 $
Methods inherited from class org.axiondb.engine.indexes.BaseArrayIndex |
changeRowId, getInorderRowIterator, getRowIterator, getType, getValueList, rowDeleted, rowInserted, rowUpdated, save, saveAfterTruncate, supportsFunction |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectArrayIndex
public ObjectArrayIndex(String name,
Column column,
boolean unique)
ObjectArrayIndex
public ObjectArrayIndex(String name,
Column column,
boolean unique,
ArrayList keys,
org.apache.commons.collections.primitives.IntList values)
getIndexLoader
public IndexLoader getIndexLoader()
- Specified by:
getIndexLoader
in interface Index
- Specified by:
getIndexLoader
in class BaseArrayIndex
getKeyList
public List getKeyList()
- Specified by:
getKeyList
in class BaseArrayIndex
truncate
public void truncate()
throws AxionException
- Specified by:
truncate
in interface Index
- Overrides:
truncate
in class BaseArrayIndex
- Throws:
AxionException
find
protected int find(Object seeking,
boolean required)
- Specified by:
find
in class BaseArrayIndex
getKeyList
protected List getKeyList(int minIndex,
int maxIndex)
- Specified by:
getKeyList
in class BaseArrayIndex
insertKey
protected int insertKey(Object seeking)
throws AxionException
- Specified by:
insertKey
in class BaseArrayIndex
- Throws:
AxionException
removeKey
protected int removeKey(Comparable seeking)
throws AxionException
- Throws:
AxionException
removeKey
protected int removeKey(Object value)
throws AxionException
- Specified by:
removeKey
in class BaseArrayIndex
- Throws:
AxionException
removeKeyAt
protected void removeKeyAt(int index)
throws AxionException
- Specified by:
removeKeyAt
in class BaseArrayIndex
- Throws:
AxionException