|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hbase.io.KeyedDataArrayWritable
public class KeyedDataArrayWritable
Wraps an array of KeyedData items as a Writable. The array elements may be null.
Constructor Summary | |
---|---|
KeyedDataArrayWritable()
Make a record of length 0 |
Method Summary | |
---|---|
KeyedData[] |
get()
|
void |
readFields(DataInput in)
Reads the fields of this object from in . |
void |
set(KeyedData[] data)
Sets the KeyedData array |
void |
write(DataOutput out)
Writes the fields of this object to out . |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KeyedDataArrayWritable()
Method Detail |
---|
public KeyedData[] get()
public void set(KeyedData[] data)
data
- array of KeyedDatapublic void readFields(DataInput in) throws IOException
Writable
in
. For efficiency,
implementations should attempt to re-use storage in the existing object
where possible.
readFields
in interface Writable
IOException
public void write(DataOutput out) throws IOException
Writable
out
.
write
in interface Writable
IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |