| Package | Description |
|---|---|
| org.netbeans.mdr.persistence | |
| 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 |
|---|---|
MOFID |
StorageFactory.createNullMOFID()
Creates a NULL MOFID in the format used by this Storage
implementation
|
static MOFID |
MOFID.fromString(java.lang.String mofId) |
MOFID |
Storage.readMOFID(java.io.InputStream inputStream)
Reads a MOFID from Storage, must be called in the
streamable read context.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Storage.writeMOFID(java.io.OutputStream outputStream,
MOFID mofid)
Writes a MOFID into Storage, must be called in the
streamable write context.
|
| Modifier and Type | Field and Description |
|---|---|
static MOFID |
BtreeFactory.classIndexId
MOFID for index of classes stored in repository
|
static MOFID |
BtreeFactory.indexIndexId
MOFID for index of secondary indexes
|
static MOFID |
BtreeFactory.nullMOFID
MOFID signifying null MOFID
|
| Modifier and Type | Method and Description |
|---|---|
MOFID |
BtreeFactory.createNullMOFID()
null MOFID
|
MOFID |
MofidIndex.get(java.lang.String name)
get a MOFID by its name.
|
MOFID |
BtreeStorage.readMOFID(java.io.InputStream inputStream) |
MOFID |
BtreeStorage.readMOFIDData(java.io.InputStream in) |
| Modifier and Type | Method and Description |
|---|---|
void |
BtreeDatabase.add(MOFID mKey,
java.lang.Object value)
Adds a repository record, throwing an exception if it already exists
|
void |
MofidIndex.add(java.lang.String name,
MOFID id)
Add a name-MOFID pair to the MofidIndex.
|
void |
TransactionCache.addDeleted(MOFID id)
adds one delete operation
|
void |
TransactionCache.addInserted(MOFID id,
byte[] value)
adds one insert operation
|
void |
TransactionCache.addReplaced(MOFID id,
byte[] value)
adds one replace operation
|
java.lang.Object |
BtreeDatabase.get(MOFID mKey)
Gets a record from the repository.
|
java.lang.Object |
BtreeDatabase.getIfExists(MOFID mKey)
Gets a record from the repository.
|
byte[] |
BtreeStorage.getMOFIDData(MOFID mofid) |
void |
BtreeDatabase.objectStateChanged(MOFID mKey)
Mark that the object has changed, and so needs to be saved on commit
|
boolean |
BtreeDatabase.remove(MOFID mKey)
Deletes a repository record based on a MOFID
|
void |
BtreeDatabase.replace(MOFID mKey,
java.lang.Object value)
Replaces the original value associated with the specified key in this
index with new value.
|
java.lang.Object |
BtreeStorage.resolveObject(MOFID key)
Delegates resolving of external mof ids on the object resolver.
|
void |
BtreeStorage.writeMOFID(java.io.OutputStream outputStream,
MOFID mofId) |
void |
BtreeStorage.writeMOFIDData(java.io.OutputStream out,
MOFID mofid) |
| Constructor and Description |
|---|
TransactionCache.Record(byte opId,
MOFID id,
byte[] value) |
Copyright © 2005-2012 Apache Software Foundation. All Rights Reserved.