com.bigdata.resources
Class SplitResult

java.lang.Object
  extended by com.bigdata.resources.AbstractResult
      extended by 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

Field Summary
 BuildResult[] buildResults
          An array of the BuildResults for each output split.
 Split[] splits
          The array of Splits that describes the new key range for each new index partition created by splitting the old index partition.
 
Fields inherited from class com.bigdata.resources.AbstractResult
indexMetadata, name
 
Constructor Summary
SplitResult(String name, IndexMetadata indexMetadata, Split[] splits, BuildResult[] buildResults)
           
 
Method Summary
 String toString()
           
 
Methods inherited from class com.bigdata.resources.AbstractResult
equals, hashCode
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

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.

Constructor Detail

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.
Method Detail

toString

public String toString()
Overrides:
toString in class AbstractResult


Copyright © 2006-2011 SYSTAP, LLC. All Rights Reserved.