org.apache.hadoop.zebra.mapreduce
Class SortedTableSplitComparable

java.lang.Object
  extended by org.apache.hadoop.zebra.mapreduce.SortedTableSplitComparable
All Implemented Interfaces:
Comparable<SortedTableSplitComparable>, org.apache.hadoop.io.Writable, org.apache.hadoop.io.WritableComparable<SortedTableSplitComparable>

public class SortedTableSplitComparable
extends Object
implements org.apache.hadoop.io.WritableComparable<SortedTableSplitComparable>


Field Summary
protected  Integer index
           
 
Constructor Summary
SortedTableSplitComparable()
           
SortedTableSplitComparable(int index)
           
 
Method Summary
 int compareTo(SortedTableSplitComparable other)
           
 boolean equals(Object obj)
           
 int hashCode()
           
 void readFields(DataInput in)
           
 String toString()
           
 void write(DataOutput out)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

index

protected Integer index
Constructor Detail

SortedTableSplitComparable

public SortedTableSplitComparable()

SortedTableSplitComparable

public SortedTableSplitComparable(int index)
Method Detail

compareTo

public int compareTo(SortedTableSplitComparable other)
Specified by:
compareTo in interface Comparable<SortedTableSplitComparable>

readFields

public void readFields(DataInput in)
                throws IOException
Specified by:
readFields in interface org.apache.hadoop.io.Writable
Throws:
IOException

write

public void write(DataOutput out)
           throws IOException
Specified by:
write in interface org.apache.hadoop.io.Writable
Throws:
IOException

toString

public String toString()
Overrides:
toString in class Object

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2007-2012 The Apache Software Foundation