public class AssignedSplits extends Object
Constructor and Description |
---|
AssignedSplits(byte[][] separatorKeys,
UUID[] dataServiceUUIDs) |
Modifier and Type | Method and Description |
---|---|
void |
registerIndex(IIndexManager indexManager,
IndexMetadata indexMetadata)
Register the index against the federation using the index partitions and
data services described by this instance.
|
public AssignedSplits(byte[][] separatorKeys, UUID[] dataServiceUUIDs)
separatorKeys
- The array of separator keys. Each separator key is interpreted
as an unsigned byte[]. The first entry MUST be an
empty byte[]. The entries MUST be in sorted order.dataServiceUUIDs
- The array of data services onto which each partition defined
by a separator key will be mapped (optional). When given, the
#of entries in this array MUST agree with the #of entries in
the separatorKeys array and all entries must be non-null
.
When not given, the index partitions will be auto-assigned to
the discovered data services.public void registerIndex(IIndexManager indexManager, IndexMetadata indexMetadata)
IIndexManager
is
NOT an IBigdataFederation
then the indices will be registered
normally using IGISTManager.registerIndex(IndexMetadata)
.indexManager
- The IIndexManager
and ideally an
IBigdataFederation
.indexMetadata
- The metadata describing the index to be registered.Copyright © 2006–2019 SYSTAP, LLC DBA Blazegraph. All rights reserved.