public class SortedTableSplitComparable extends java.lang.Object implements org.apache.hadoop.io.WritableComparable<SortedTableSplitComparable>
Modifier and Type | Field and Description |
---|---|
protected java.lang.Integer |
index |
Constructor and Description |
---|
SortedTableSplitComparable() |
SortedTableSplitComparable(int index) |
Modifier and Type | Method and Description |
---|---|
int |
compareTo(SortedTableSplitComparable other) |
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
void |
readFields(java.io.DataInput in) |
java.lang.String |
toString() |
void |
write(java.io.DataOutput out) |
public SortedTableSplitComparable()
public SortedTableSplitComparable(int index)
public int compareTo(SortedTableSplitComparable other)
compareTo
in interface java.lang.Comparable<SortedTableSplitComparable>
public void readFields(java.io.DataInput in) throws java.io.IOException
readFields
in interface org.apache.hadoop.io.Writable
java.io.IOException
public void write(java.io.DataOutput out) throws java.io.IOException
write
in interface org.apache.hadoop.io.Writable
java.io.IOException
public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2007-2012 The Apache Software Foundation