| Package | Description |
|---|---|
| org.netbeans.mdr.persistence | |
| org.netbeans.mdr.persistence.btreeimpl.btreeindex |
Together, the btreestorage and btreeindex packages provide the btree storage
implementation for the NetBeans meta-data repository.
|
| org.netbeans.mdr.persistence.btreeimpl.btreestorage |
Together, the btreestorage and btreeindex packages provide the btree storage
implementation for the NetBeans meta-data repository.
|
| Modifier and Type | Method and Description |
|---|---|
SinglevaluedIndex |
Storage.createSinglevaluedIndex(java.lang.String name,
Storage.EntryType keyType,
Storage.EntryType valueType)
Create index that holds exactly one value for each key.
|
SinglevaluedIndex |
Storage.getPrimaryIndex()
Returns the primary index in this Storage.
|
SinglevaluedIndex |
Storage.getSinglevaluedIndex(java.lang.String name)
Retrieve index by name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
SinglevaluedIndex.getObject(java.lang.Object key,
SinglevaluedIndex repos)
Like get, but if the index contains keys, this returns the object
corresponding to the key
|
java.lang.Object |
SinglevaluedIndex.getObjectIfExists(java.lang.Object key,
SinglevaluedIndex repos)
Like getIfExists, but if the index contains keys, this returns the object
corresponding to the key
|
java.util.Collection |
MultivaluedIndex.getObjects(java.lang.Object key,
SinglevaluedIndex repos)
Like getItems, but if the index contains keys, this returns the objects
corresponding to the key
|
java.util.Collection |
MultivaluedOrderedIndex.getObjectsOrdered(java.lang.Object key,
SinglevaluedIndex repos)
Like getItemsOrdered, but if the index contains keys, this returns the objects
corresponding to the key
|
java.util.Collection |
SinglevaluedIndex.queryByKeyPrefix(java.lang.Object prefix,
SinglevaluedIndex repos)
Returns a collection view of
Map.Entry key-value pairs in the index,
where key matches the queried prefix. |
java.util.Collection |
MultivaluedIndex.queryByKeyPrefix(java.lang.Object prefix,
SinglevaluedIndex repos)
Returns a collection of
Map.Entry key-value pairs in the index,
where key matches the queried prefix. |
| Modifier and Type | Class and Description |
|---|---|
class |
SinglevaluedBtree
Btree implementation of SinglevaluedIndex
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
SinglevaluedBtree.getObject(java.lang.Object key,
SinglevaluedIndex repos)
Like get, but if the index contains keys, this returns the object
corresponding to the key
|
java.lang.Object |
SinglevaluedBtree.getObjectIfExists(java.lang.Object key,
SinglevaluedIndex repos)
Like getIfExists, but if the index contains keys, this returns the object
corresponding to the key
|
java.util.Collection |
MultivaluedBtree.getObjects(java.lang.Object key,
SinglevaluedIndex repos)
Like getItems, but if the values in the index are a key type,
returns the objects associated with the keys.
|
java.util.Collection |
MultivaluedOrderedBtree.getObjectsOrdered(java.lang.Object key,
SinglevaluedIndex repos)
Like getItemsOrdered, but if the index contains keys, this returns the objects
corresponding to the key
|
java.lang.Object |
EntryTypeInfo.objectFromBuffer(byte[] buffer,
SinglevaluedIndex repos)
Like fromBuffer, except that if this type is a key, returns object
associated with the key
|
java.lang.Object |
MOFIDInfo.objectFromBuffer(byte[] buffer,
SinglevaluedIndex repos) |
java.util.Collection |
MultivaluedBtree.queryByKeyPrefix(java.lang.Object prefix,
SinglevaluedIndex primaryIndex)
Returns list of
BtreeEntryImpl key-value pairs, where key contains
the queried prefix. |
java.util.Collection |
SinglevaluedBtree.queryByKeyPrefix(java.lang.Object prefix,
SinglevaluedIndex primaryIndex)
Returns
BtreeEntryImpl key-value pairs, where the key contains the queried prefix. |
| Modifier and Type | Class and Description |
|---|---|
class |
BtreeDatabase
This is the primary index for the btree implementation of Storage.
|
| Modifier and Type | Method and Description |
|---|---|
SinglevaluedIndex |
BtreeStorage.createSinglevaluedIndex(java.lang.String name,
Storage.EntryType keyType,
Storage.EntryType valueType)
Create index that holds exactly one value for each key.
|
SinglevaluedIndex |
BtreeStorage.getPrimaryIndex()
Return the primary index (the BtreeDatabase)
|
SinglevaluedIndex |
BtreeStorage.getSinglevaluedIndex(java.lang.String name)
Retrieve index by name.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
BtreeDatabase.getObject(java.lang.Object key,
SinglevaluedIndex dummy)
Like get, since we don't return keys
|
java.lang.Object |
BtreeDatabase.getObjectIfExists(java.lang.Object key,
SinglevaluedIndex dummy)
Like getIfExists, since we don't return keys
|
java.util.Collection |
BtreeDatabase.queryByKeyPrefix(java.lang.Object prefix,
SinglevaluedIndex repos) |
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.