public class ObjectArrayIndex extends BaseArrayIndex
indexover Object keys.| Constructor and Description |
|---|
ObjectArrayIndex(java.lang.String name,
Column column,
boolean unique) |
ObjectArrayIndex(java.lang.String name,
Column column,
boolean unique,
java.util.ArrayList keys,
org.apache.commons.collections.primitives.IntList values) |
| Modifier and Type | Method and Description |
|---|---|
protected int |
find(java.lang.Object seeking,
boolean required) |
IndexLoader |
getIndexLoader() |
java.util.List |
getKeyList() |
protected java.util.List |
getKeyList(int minIndex,
int maxIndex) |
protected int |
insertKey(java.lang.Object seeking) |
protected int |
removeKey(java.lang.Comparable seeking) |
protected int |
removeKey(java.lang.Object value) |
protected void |
removeKeyAt(int index) |
void |
truncate() |
changeRowId, getInorderRowIterator, getRowIterator, getType, getValueList, rowDeleted, rowInserted, rowUpdated, save, saveAfterTruncate, supportsFunctiongetComparator, getDataType, getIndexedColumn, getName, isUniquecolumnAdded, constraintAdded, constraintRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIndexedColumn, getName, isUniquecolumnAdded, constraintAdded, constraintRemovedpublic ObjectArrayIndex(java.lang.String name,
Column column,
boolean unique)
public ObjectArrayIndex(java.lang.String name,
Column column,
boolean unique,
java.util.ArrayList keys,
org.apache.commons.collections.primitives.IntList values)
public IndexLoader getIndexLoader()
getIndexLoader in interface IndexgetIndexLoader in class BaseArrayIndexpublic java.util.List getKeyList()
getKeyList in class BaseArrayIndexpublic void truncate()
throws AxionException
truncate in interface Indextruncate in class BaseArrayIndexAxionExceptionprotected int find(java.lang.Object seeking,
boolean required)
find in class BaseArrayIndexprotected java.util.List getKeyList(int minIndex,
int maxIndex)
getKeyList in class BaseArrayIndexprotected int insertKey(java.lang.Object seeking)
throws AxionException
insertKey in class BaseArrayIndexAxionExceptionprotected int removeKey(java.lang.Comparable seeking)
throws AxionException
AxionExceptionprotected int removeKey(java.lang.Object value)
throws AxionException
removeKey in class BaseArrayIndexAxionExceptionprotected void removeKeyAt(int index)
throws AxionException
removeKeyAt in class BaseArrayIndexAxionException