public interface MultivaluedOrderedIndex extends MultivaluedIndex
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object key,
int index,
java.lang.Object value)
Inserts the specified element at the specified position in the list of values
associated with the specified key.
|
java.util.List |
getItemsOrdered(java.lang.Object key)
Returns a list view of the values assosiated in the index with specified key.
|
java.util.Collection |
getObjectsOrdered(java.lang.Object key,
SinglevaluedIndex repos)
Like getItemsOrdered, but if the index contains keys, this returns the objects
corresponding to the key
|
boolean |
remove(java.lang.Object key,
int index)
Removes the element at the specified position in the list of values
associated with the specified key.
|
void |
replace(java.lang.Object key,
int index,
java.lang.Object element)
Replaces the element at the specified position in the list of values
associated with the specified key with the specified element.
|
getItems, getObjects, isUnique, queryByKeyPrefix, removeadd, getKeyType, getName, getValueType, keySet, removejava.util.List getItemsOrdered(java.lang.Object key)
throws StorageException
key - StorageExceptionjava.util.Collection getObjectsOrdered(java.lang.Object key,
SinglevaluedIndex repos)
throws StorageException
key - StorageExceptionvoid add(java.lang.Object key,
int index,
java.lang.Object value)
throws StorageException
key - index - value - StorageExceptionboolean remove(java.lang.Object key,
int index)
throws StorageException
key - index - StorageExceptionvoid replace(java.lang.Object key,
int index,
java.lang.Object element)
throws StorageException
key - index - element - StorageExceptionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.