public class IntArrayIndex extends BaseArrayIndex
array index
over integer keys.Constructor and Description |
---|
IntArrayIndex(java.lang.String name,
Column column,
boolean unique) |
IntArrayIndex(java.lang.String name,
Column column,
boolean unique,
org.apache.commons.collections.primitives.IntList keys,
org.apache.commons.collections.primitives.IntList values) |
Modifier and Type | Method and Description |
---|---|
protected int |
find(int seeking,
boolean required) |
protected int |
find(java.lang.Object value,
boolean required) |
IndexLoader |
getIndexLoader() |
java.util.List |
getKeyList() |
protected java.util.List |
getKeyList(int minIndex,
int maxIndex) |
protected int |
insertKey(int seeking) |
protected int |
insertKey(java.lang.Object value) |
protected int |
removeKey(int 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 IntArrayIndex(java.lang.String name, Column column, boolean unique)
public IntArrayIndex(java.lang.String name, Column column, boolean unique, org.apache.commons.collections.primitives.IntList 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(int seeking, boolean required)
protected int find(java.lang.Object value, boolean required)
find
in class BaseArrayIndex
protected java.util.List getKeyList(int minIndex, int maxIndex)
getKeyList
in class BaseArrayIndex
protected int insertKey(int seeking) throws AxionException
AxionException
protected int insertKey(java.lang.Object value) throws AxionException
insertKey
in class BaseArrayIndex
AxionException
protected int removeKey(int 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