public class IntArrayIndex extends BaseArrayIndex
array indexover 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, supportsFunctiongetComparator, getDataType, getIndexedColumn, getName, isUniquecolumnAdded, constraintAdded, constraintRemovedclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIndexedColumn, getName, isUniquecolumnAdded, constraintAdded, constraintRemovedpublic 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 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(int seeking,
boolean required)
protected int find(java.lang.Object value,
boolean required)
find in class BaseArrayIndexprotected java.util.List getKeyList(int minIndex,
int maxIndex)
getKeyList in class BaseArrayIndexprotected int insertKey(int seeking)
throws AxionException
AxionExceptionprotected int insertKey(java.lang.Object value)
throws AxionException
insertKey in class BaseArrayIndexAxionExceptionprotected int removeKey(int 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