public class MultivaluedOrderedBtree extends MultivaluedBtree implements MultivaluedOrderedIndex
dataInfo, dataLength, dataType, hasBigKeys, keyInfo, keyType, name, pageIdLength, pageSize, pageSource, rootPageId, storage, uniqueKeys, uniqueValues| Constructor and Description |
|---|
MultivaluedOrderedBtree() |
MultivaluedOrderedBtree(java.lang.String name,
Storage.EntryType keyType,
Storage.EntryType dataType,
boolean uniqueValues,
BtreePageSource pageSource) |
| Modifier and Type | Method and Description |
|---|---|
void |
add(java.lang.Object key,
int index,
java.lang.Object data)
Inserts the specified element at the specified position in the list of values
associated with the specified key.
|
void |
add(java.lang.Object key,
java.lang.Object data)
Add an item to the end of the list of values for this key.
|
java.util.List |
getItemsOrdered(java.lang.Object key)
Returns a list view of the values associated 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 data)
Replaces the element at the specified position in the list of values
associated with the specified key with the specified element.
|
getItems, getObjects, init, isUnique, queryByKeyPrefix, remove, remove, updateKeyModCountbeginRead, beginWrite, btreePut, consistencyCheck, dumpTree, endRead, endWrite, getKeyType, getName, getValueType, keySet, pageFactory, read, setStorage, writeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetItems, getObjects, isUnique, queryByKeyPrefix, removegetKeyType, getName, getValueType, keySet, removepublic MultivaluedOrderedBtree(java.lang.String name,
Storage.EntryType keyType,
Storage.EntryType dataType,
boolean uniqueValues,
BtreePageSource pageSource)
throws StorageException
StorageExceptionpublic MultivaluedOrderedBtree()
public java.util.List getItemsOrdered(java.lang.Object key)
throws StorageException
getItemsOrdered in interface MultivaluedOrderedIndexkey - StorageExceptionpublic java.util.Collection getObjectsOrdered(java.lang.Object key,
SinglevaluedIndex repos)
throws StorageException
getObjectsOrdered in interface MultivaluedOrderedIndexkey - StorageExceptionpublic void add(java.lang.Object key,
int index,
java.lang.Object data)
throws StorageException
add in interface MultivaluedOrderedIndexkey - index - value - StorageExceptionpublic void add(java.lang.Object key,
java.lang.Object data)
throws StorageException
add in interface Indexadd in class MultivaluedBtreekey - value - StorageBadRequestException - If key or data are incorrect type, or if
the insert would violate the constraints of this indexStorageException - If a problem was encountered accessing storagepublic boolean remove(java.lang.Object key,
int index)
throws StorageException
remove in interface MultivaluedOrderedIndexkey - index - StorageExceptionpublic void replace(java.lang.Object key,
int index,
java.lang.Object data)
throws StorageException
replace in interface MultivaluedOrderedIndexkey - index - element - StorageExceptionCopyright © 2005-2012 Apache Software Foundation. All Rights Reserved.