| Package | Description |
|---|---|
| org.apache.directory.mavibot.btree | |
| org.apache.directory.mavibot.btree.serializer |
| Modifier and Type | Class and Description |
|---|---|
(package private) class |
NameRevisionSerializer
A serializer for the NameRevision object.
|
(package private) class |
RevisionNameSerializer
A serializer for the RevisionName object.
|
(package private) class |
RevisionOffsetSerializer
A serializer for the RevisionOffset object.
|
| Modifier and Type | Field and Description |
|---|---|
private ElementSerializer<K> |
InMemoryBTreeConfiguration.keySerializer
The Key and Value serializer used for this tree.
|
private ElementSerializer<K> |
PersistedKeyHolder.keySerializer
The Key serializer
|
private ElementSerializer<K> |
PersistedBTreeConfiguration.keySerializer
The Key and Value serializer used for this tree.
|
(package private) ElementSerializer<K> |
BtreeInfo.keySerializer |
private ElementSerializer<K> |
PersistedBTreeBuilder.keySerializer |
protected ElementSerializer<K> |
AbstractBTree.keySerializer
The Key serializer used for this tree.
|
private ElementSerializer<V> |
InMemoryBTreeConfiguration.valueSerializer |
private ElementSerializer<V> |
PersistedBTreeConfiguration.valueSerializer |
(package private) ElementSerializer<V> |
BtreeInfo.valueSerializer |
protected ElementSerializer<V> |
AbstractValueHolder.valueSerializer
The Value serializer
|
private ElementSerializer<V> |
PersistedBTreeBuilder.valueSerializer |
protected ElementSerializer<V> |
AbstractBTree.valueSerializer
The Value serializer used for this tree.
|
| Modifier and Type | Method and Description |
|---|---|
ElementSerializer<K> |
InMemoryBTreeConfiguration.getKeySerializer() |
ElementSerializer<K> |
PersistedBTreeConfiguration.getKeySerializer() |
ElementSerializer<K> |
BTree.getKeySerializer() |
ElementSerializer<K> |
AbstractBTree.getKeySerializer() |
private static <T> ElementSerializer<T> |
MavibotInspector.getSerializer(java.lang.String serializerFqcn)
Get back the serializer instance
|
ElementSerializer<V> |
InMemoryBTreeConfiguration.getValueSerializer() |
ElementSerializer<V> |
PersistedBTreeConfiguration.getValueSerializer() |
ElementSerializer<V> |
BTree.getValueSerializer() |
ElementSerializer<V> |
AbstractBTree.getValueSerializer() |
| Modifier and Type | Method and Description |
|---|---|
<K,V> BTree<K,V> |
RecordManager.addBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a B-tree and automatically adds it to the list of managed btrees
|
<K,V> BTree<K,V> |
RecordManager.addBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a B-tree and automatically adds it to the list of managed btrees
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
java.lang.String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
java.lang.String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
java.lang.String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
java.lang.String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
java.lang.String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createInMemoryBTree(java.lang.String name,
java.lang.String filePath,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates)
Creates a new in-memory B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates,
int cacheSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
boolean allowDuplicates,
int cacheSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates,
int cacheSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
static <K,V> BTree<K,V> |
BTreeFactory.createPersistedBTree(java.lang.String name,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer,
int pageSize,
boolean allowDuplicates,
int cacheSize)
Creates a new persisted B-tree using the parameters to initialize the
B-tree
|
void |
InMemoryBTreeConfiguration.setKeySerializer(ElementSerializer<K> keySerializer) |
void |
PersistedBTreeConfiguration.setKeySerializer(ElementSerializer<K> keySerializer) |
void |
BTree.setKeySerializer(ElementSerializer<K> keySerializer) |
void |
AbstractBTree.setKeySerializer(ElementSerializer<K> keySerializer) |
void |
InMemoryBTreeConfiguration.setSerializers(ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer) |
void |
InMemoryBTreeConfiguration.setSerializers(ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer) |
void |
PersistedBTreeConfiguration.setSerializers(ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer) |
void |
PersistedBTreeConfiguration.setSerializers(ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer) |
void |
InMemoryBTreeConfiguration.setValueSerializer(ElementSerializer<V> valueSerializer) |
void |
PersistedBTreeConfiguration.setValueSerializer(ElementSerializer<V> valueSerializer) |
void |
BTree.setValueSerializer(ElementSerializer<V> valueSerializer) |
void |
AbstractBTree.setValueSerializer(ElementSerializer<V> valueSerializer) |
| Constructor and Description |
|---|
InMemoryBTreeBuilder(java.lang.String name,
int numKeysInNode,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new instance of InMemoryBTreeBuilder.
|
InMemoryBTreeBuilder(java.lang.String name,
int numKeysInNode,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer)
Creates a new instance of InMemoryBTreeBuilder.
|
PersistedBTreeBuilder(RecordManager rm,
java.lang.String name,
int numKeysInNode,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer) |
PersistedBTreeBuilder(RecordManager rm,
java.lang.String name,
int numKeysInNode,
ElementSerializer<K> keySerializer,
ElementSerializer<V> valueSerializer) |
PersistedKeyHolder(ElementSerializer<K> keySerializer,
byte[] raw)
Create a new KeyHolder instance
|
PersistedKeyHolder(ElementSerializer<K> keySerializer,
K key)
Create a new KeyHolder instance
|
| Modifier and Type | Class and Description |
|---|---|
class |
AbstractElementSerializer<T>
An abstract ElementSerializer that implements comon methods
|
class |
BooleanSerializer
The Boolean serializer.
|
class |
ByteArraySerializer
A serializer for a byte[].
|
class |
ByteSerializer
The Byte serializer.
|
class |
CharArraySerializer
A serializer for a char[].
|
class |
CharSerializer
The Character serializer.
|
class |
IntSerializer
The Integer serializer.
|
class |
LongArraySerializer
A serializer for a Long[].
|
class |
LongSerializer
The Long serializer.
|
class |
ShortSerializer
The Short serializer.
|
class |
StringSerializer
The String serializer.
|