com.bigdata.resources
Class AbstractResult

java.lang.Object
  extended by com.bigdata.resources.AbstractResult
Direct Known Subclasses:
BuildResult, JoinResult, MoveResult, SplitResult

public abstract class AbstractResult
extends Object

Abstract base class for results when post-processing a named index partition on the old journal after an overflow operation.

Version:
$Id: AbstractResult.java 2265 2009-10-26 12:51:06Z thompsonbry $
Author:
Bryan Thompson

Field Summary
 IndexMetadata indexMetadata
          The index metadata object for the source index partition.
 String name
          The source index partition for the operation.
 
Constructor Summary
AbstractResult(String name, IndexMetadata indexMetadata)
           
 
Method Summary
 boolean equals(Object o)
          Equal iff the same instance.
 int hashCode()
          Hash code is based on the name.
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

name

public final String name
The source index partition for the operation.

See Also:
DataService.getIndexPartitionName(String, int)

indexMetadata

public final IndexMetadata indexMetadata
The index metadata object for the source index partition.

Constructor Detail

AbstractResult

public AbstractResult(String name,
                      IndexMetadata indexMetadata)
Parameters:
name - The name of the source index partition.
indexMetadata - The index metadata object for the source index partition.
Method Detail

hashCode

public int hashCode()
Hash code is based on the name.

Overrides:
hashCode in class Object

equals

public boolean equals(Object o)
Equal iff the same instance.

Overrides:
equals in class Object

toString

public String toString()
Overrides:
toString in class Object


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