com.bigdata.resources
Class SplitResult
java.lang.Object
com.bigdata.resources.AbstractResult
com.bigdata.resources.SplitResult
public class SplitResult
- extends AbstractResult
The result of a SplitIndexPartitionTask including enough metadata
to identify the index partitions to be created and the index partition to
be deleted.
- Version:
- $Id: SplitResult.java 2265 2009-10-26 12:51:06Z thompsonbry $
- Author:
- Bryan Thompson
splits
public final Split[] splits
- The array of
Splits that describes the new key range for
each new index partition created by splitting the old index
partition.
buildResults
public final BuildResult[] buildResults
- An array of the
BuildResults for each output split.
SplitResult
public SplitResult(String name,
IndexMetadata indexMetadata,
Split[] splits,
BuildResult[] buildResults)
- Parameters:
name - The name under which the processed index partition was
registered (this is typically different from the name of
the scale-out index).indexMetadata - The index metadata object for the processed index as of
the timestamp of the view from which the
IndexSegment was generated.splits - Note: At this point we have the history as of the
lastCommitTime in N index segments. Also, since we
constain the resource manager to refuse another overflow
until we have handle the old journal, all new writes are
on the live index.buildResults - A BuildResult for each output split.
toString
public String toString()
- Overrides:
toString in class AbstractResult
Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.