Summary
The ID mapping used internally during a defragmentation run.
- Assembly
- Db4objects
.Db4o-2010 .dll - Namespace
- Db4objects
.Db4o .Defragment - Implementing Types
graph BT
Type["IIdMapping"]
class Type type-node
Implementing0["DatabaseIdMapping"]-.->Type
click Implementing0 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Defragment/DatabaseIdMapping"
Implementing1["AbstractIdMapping"]-.->Type
click Implementing1 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Defragment/AbstractIdMapping"
Implementing2["InMemoryIdMapping"]-.->Type
click Implementing2 "/db4o-gpl-doc/output/api/Db4objects.Db4o.Defragment/InMemoryIdMapping"
Syntax
public interface IIdMapping
Remarks
The ID mapping used internally during a defragmentation run.
Methods
Name | Value | Summary |
---|---|---|
AddressForId |
int |
returns the slot address for an ID
|
Close |
void |
Shuts down the mapping after use.
|
Commit |
void | |
MapId |
void |
Registers a mapping for the given IDs.
|
MapId |
void |
Maps an ID to a slot
|
MappedId |
int |
Returns a previously registered mapping ID for the given ID if it exists.
|
Open |
void |
Prepares the mapping for use.
|
SlotChanges |
IVisitable |
provides a Visitable of all mappings of IDs to slots.
|
See Also
- Db4objects.Db4o.Defragment.Defragment