com.nhncorp.neptune.client.scanner
Class MergeScanner.RowArray

java.lang.Object
  extended by 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


Constructor Summary
MergeScanner.RowArray()
           
 
Method Summary
 int compareTo(MergeScanner.RowArray o)
           
 Row.Key getRowKey()
           
 Row[] getRows()
           
 void readFields(java.io.DataInput in)
          Reads the fields of this object from in.
 void setRowKey(Row.Key rowKey)
           
 void setRows(Row[] rows)
           
 void write(java.io.DataOutput out)
          Writes the fields of this object to out.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MergeScanner.RowArray

public MergeScanner.RowArray()
Method Detail

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)