protected static class BTree.NodeFactory extends Object implements INodeFactory
NodeSerializer
.Modifier and Type | Field and Description |
---|---|
static INodeFactory |
INSTANCE |
Modifier and Type | Method and Description |
---|---|
Leaf |
allocLeaf(AbstractBTree btree,
long addr,
ILeafData data)
Create a leaf.
|
Node |
allocNode(AbstractBTree btree,
long addr,
INodeData data)
Create a node.
|
public static final INodeFactory INSTANCE
public Leaf allocLeaf(AbstractBTree btree, long addr, ILeafData data)
INodeFactory
allocLeaf
in interface INodeFactory
btree
- The owning B+Tree.addr
- The address from which the leaf was read.data
- The leaf data record.public Node allocNode(AbstractBTree btree, long addr, INodeData data)
INodeFactory
allocNode
in interface INodeFactory
btree
- The owning B+Tree.addr
- The address from which the node was read.data
- The node data record.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.