Package | Description |
---|---|
com.bigdata.btree |
The
BTree is a scalable B+-Tree with copy-on-write
semantics mapping variable length unsigned byte[] keys to variable
length byte[] values (null values are allowed). |
com.bigdata.resources |
This package provides the logic to managed the live journal and the
historical journals and index segments for a
DataService . |
Modifier and Type | Method and Description |
---|---|
static IndexSegmentBuilder |
IndexSegmentBuilder.newInstance(File outFile,
File tmpDir,
long entryCount,
ITupleIterator<?> entryIterator,
int m,
IndexMetadata metadata,
long commitTime,
boolean compactingMerge,
boolean bufferNodes)
A more flexible factory for an
IndexSegment build which permits
override of the index segment branching factor, replacement of the
IndexMetadata , and the use of the caller's iterator. |
static IndexSegmentBuilder |
IndexSegmentBuilder.newInstance(ILocalBTreeView src,
File outFile,
File tmpDir,
boolean compactingMerge,
long createTime,
byte[] fromKey,
byte[] toKey)
Builder factory will build an
IndexSegment from an index
(partition). |
static IndexSegmentBuilder |
IndexSegmentBuilder.newInstance(Object[] a,
int alen,
IndexMetadata indexMetadata,
File outFile,
File tmpDir,
int m,
boolean compactingMerge,
long createTime,
boolean bufferNodes)
Variant using an array of objects in the desired order.
|
protected static IndexSegmentBuilder |
IndexSegmentBuilder.newInstanceFullyBuffered(ILocalBTreeView src,
File outFile,
File tmpDir,
int m,
boolean compactingMerge,
long createTime,
byte[] fromKey,
byte[] toKey,
boolean bufferNodes)
A one pass algorithm which materializes the tuples in RAM, computing the
exact tuple count as it goes.
|
protected static IndexSegmentBuilder |
IndexSegmentBuilder.newInstanceTwoPass(ILocalBTreeView src,
File outFile,
File tmpDir,
int m,
boolean compactingMerge,
long createTime,
byte[] fromKey,
byte[] toKey,
boolean bufferNodes)
A two pass build algorithm.
|
Modifier and Type | Field and Description |
---|---|
IndexSegmentBuilder |
BuildResult.builder
The object which built the
IndexSegment and which contains more
interesting information about the build. |
Modifier and Type | Field and Description |
---|---|
protected ConcurrentHashMap<File,IndexSegmentBuilder> |
IndexManager.buildTasks
A map containing the concurrently executing index segment build tasks.
|
Modifier and Type | Method and Description |
---|---|
protected static IndexSegmentBuilder |
AbstractTestSegSplitter.doBuild(String name,
ILocalBTreeView src,
long commitTime,
byte[] fromKey,
byte[] toKey)
Generate an
IndexSegment from the given BTree. |
Constructor and Description |
---|
BuildResult(String name,
boolean compactingMerge,
AbstractBTree[] sources,
IndexMetadata indexMetadata,
SegmentMetadata segmentMetadata,
IndexSegmentBuilder builder) |
Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.