com.nhncorp.neptune.client.scanner
Class MergeScanner.RowArray
java.lang.Object
com.nhncorp.neptune.client.scanner.MergeScanner.RowArray
- All Implemented Interfaces:
- NWritable, java.lang.Comparable<MergeScanner.RowArray>, org.apache.hadoop.io.Writable
- Enclosing class:
- MergeScanner
public static class MergeScanner.RowArray
- extends java.lang.Object
- implements NWritable, java.lang.Comparable<MergeScanner.RowArray>, org.apache.hadoop.io.Writable
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MergeScanner.RowArray
public MergeScanner.RowArray()
readFields
public void readFields(java.io.DataInput in)
throws java.io.IOException
- Description copied from interface:
NWritable
- Reads the fields of this object from
in. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
- Specified by:
readFields in interface NWritable- Specified by:
readFields in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException
write
public void write(java.io.DataOutput out)
throws java.io.IOException
- Description copied from interface:
NWritable
- Writes the fields of this object to
out.
- Specified by:
write in interface NWritable- Specified by:
write in interface org.apache.hadoop.io.Writable
- Throws:
java.io.IOException
compareTo
public int compareTo(MergeScanner.RowArray o)
- Specified by:
compareTo in interface java.lang.Comparable<MergeScanner.RowArray>
getRowKey
public Row.Key getRowKey()
getRows
public Row[] getRows()
setRowKey
public void setRowKey(Row.Key rowKey)
setRows
public void setRows(Row[] rows)