|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.netbeans.mdr.persistence.btreeimpl.btreeindex.Btree
org.netbeans.mdr.persistence.btreeimpl.btreeindex.MultivaluedBtree
org.netbeans.mdr.persistence.btreeimpl.btreeindex.MultivaluedOrderedBtree
Btree implementation of the MultivaluedOrderedIndex interface.
| Field Summary |
| Fields inherited from class org.netbeans.mdr.persistence.btreeimpl.btreeindex.Btree |
dataInfo, dataLength, dataType, hasBigKeys, keyInfo, keyType, name, pageIdLength, pageSize, pageSource, rootPageId, storage, uniqueKeys, uniqueValues |
| Constructor Summary | |
MultivaluedOrderedBtree()
|
|
MultivaluedOrderedBtree(java.lang.String name,
Storage.EntryType keyType,
Storage.EntryType dataType,
boolean uniqueValues,
BtreePageSource pageSource)
|
|
| Method Summary | |
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. |
| Methods inherited from class org.netbeans.mdr.persistence.btreeimpl.btreeindex.MultivaluedBtree |
getItems, getObjects, init, isUnique, queryByKeyPrefix, remove, remove, updateKeyModCount |
| Methods inherited from class org.netbeans.mdr.persistence.btreeimpl.btreeindex.Btree |
beginRead, beginWrite, btreePut, consistencyCheck, dumpTree, endRead, endWrite, getKeyType, getName, getValueType, keySet, pageFactory, read, setStorage, write |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.netbeans.mdr.persistence.MultivaluedIndex |
getItems, getObjects, isUnique, queryByKeyPrefix, remove |
| Methods inherited from interface org.netbeans.mdr.persistence.Index |
getKeyType, getName, getValueType, keySet, remove |
| Constructor Detail |
public MultivaluedOrderedBtree(java.lang.String name,
Storage.EntryType keyType,
Storage.EntryType dataType,
boolean uniqueValues,
BtreePageSource pageSource)
throws StorageException
public MultivaluedOrderedBtree()
| Method Detail |
public java.util.List getItemsOrdered(java.lang.Object key)
throws StorageException
getItemsOrdered in interface MultivaluedOrderedIndexkey -
StorageException
public java.util.Collection getObjectsOrdered(java.lang.Object key,
SinglevaluedIndex repos)
throws StorageException
getObjectsOrdered in interface MultivaluedOrderedIndexkey -
StorageException
public void add(java.lang.Object key,
int index,
java.lang.Object data)
throws StorageException
add in interface MultivaluedOrderedIndexkey - index - data -
StorageException
public void add(java.lang.Object key,
java.lang.Object data)
throws StorageException
add in interface Indexadd in class MultivaluedBtreekey -
StorageException
public boolean remove(java.lang.Object key,
int index)
throws StorageException
remove in interface MultivaluedOrderedIndexkey - index -
StorageException
public void replace(java.lang.Object key,
int index,
java.lang.Object data)
throws StorageException
replace in interface MultivaluedOrderedIndexkey - index - data -
StorageException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||