org.apache.hadoop.zebra.mapreduce
Class SortedTableSplitComparable
java.lang.Object
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>
index
protected Integer index
SortedTableSplitComparable
public SortedTableSplitComparable()
SortedTableSplitComparable
public SortedTableSplitComparable(int index)
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