de.hpi.fgis.voidgen.hadoop.closure
Class ClusterId

java.lang.Object
  extended by org.apache.hadoop.io.BinaryComparable
      extended by org.apache.hadoop.io.Text
          extended by de.hpi.fgis.voidgen.hadoop.closure.CloneableText
              extended by de.hpi.fgis.voidgen.hadoop.closure.ClusterId
All Implemented Interfaces:
java.lang.Comparable<org.apache.hadoop.io.BinaryComparable>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<org.apache.hadoop.io.BinaryComparable>

public class ClusterId
extends CloneableText

This class represents the unique identifier of a cluster. It only wraps CloneableText for downward-compatibility.

Author:
Johannes Gosda, Hasso Plattner Institute at University of Potsdam, Germany

Nested Class Summary
 
Nested classes/interfaces inherited from class org.apache.hadoop.io.Text
org.apache.hadoop.io.Text.Comparator
 
Constructor Summary
ClusterId()
          Default constructor.
ClusterId(ClusterId clusterId)
          Constructor using the given cluster identifier.
ClusterId(java.lang.String string)
          Constructor using the given String representation of a cluster identifier.
 
Method Summary
 ClusterId clone()
           
 
Methods inherited from class org.apache.hadoop.io.Text
append, bytesToCodePoint, charAt, clear, decode, decode, decode, encode, encode, equals, find, find, getBytes, getLength, hashCode, readFields, readString, set, set, set, set, skip, toString, utf8Length, validateUTF8, validateUTF8, write, writeString
 
Methods inherited from class org.apache.hadoop.io.BinaryComparable
compareTo, compareTo
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface java.lang.Comparable
compareTo
 

Constructor Detail

ClusterId

public ClusterId()
Default constructor.


ClusterId

public ClusterId(ClusterId clusterId)
Constructor using the given cluster identifier.

Parameters:
clusterId - the ID to use.

ClusterId

public ClusterId(java.lang.String string)
Constructor using the given String representation of a cluster identifier.

Parameters:
string - String representation of a cluster identifier.
Method Detail

clone

public ClusterId clone()
Overrides:
clone in class CloneableText