com.bigdata.rdf.load
Class AssignedSplits
java.lang.Object
com.bigdata.rdf.load.AssignedSplits
public class AssignedSplits
- extends Object
Class permits specification of a pre-assigned index partition splits onto
data services.
- Version:
- $Id: AssignedSplits.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
|
Method Summary |
void |
registerIndex(IIndexManager indexManager,
IndexMetadata indexMetadata)
Register the index against the federation using the index partitions and
data services described by this instance. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AssignedSplits
public AssignedSplits(byte[][] separatorKeys,
UUID[] dataServiceUUIDs)
- Parameters:
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.
registerIndex
public void registerIndex(IIndexManager indexManager,
IndexMetadata indexMetadata)
- Register the index against the federation using the index partitions and
data services described by this instance. if the
IIndexManager is
NOT an IBigdataFederation then the indices will be registered
normally using IIndexManager.registerIndex(IndexMetadata).
- Parameters:
indexManager - The IIndexManager and ideally an
IBigdataFederation.indexMetadata - The metadata describing the index to be registered.
Copyright © 2006-2009 SYSTAP, LLC. All Rights Reserved.