public class ObjectArrayIndex extends BaseArrayIndex
index
over 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, supportsFunction
getComparator, getDataType, getIndexedColumn, getName, isUnique
columnAdded, constraintAdded, constraintRemoved
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIndexedColumn, getName, isUnique
columnAdded, constraintAdded, constraintRemoved
public 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 Index
getIndexLoader
in class BaseArrayIndex
public java.util.List getKeyList()
getKeyList
in class BaseArrayIndex
public void truncate() throws AxionException
truncate
in interface Index
truncate
in class BaseArrayIndex
AxionException
protected int find(java.lang.Object seeking, boolean required)
find
in class BaseArrayIndex
protected java.util.List getKeyList(int minIndex, int maxIndex)
getKeyList
in class BaseArrayIndex
protected int insertKey(java.lang.Object seeking) throws AxionException
insertKey
in class BaseArrayIndex
AxionException
protected int removeKey(java.lang.Comparable seeking) throws AxionException
AxionException
protected int removeKey(java.lang.Object value) throws AxionException
removeKey
in class BaseArrayIndex
AxionException
protected void removeKeyAt(int index) throws AxionException
removeKeyAt
in class BaseArrayIndex
AxionException