public class HMapSIW extends HMapKI<String> implements org.apache.hadoop.io.Writable
Text objects.DEFAULT_VALUE| Constructor and Description |
|---|
HMapSIW()
Creates a
HMapSIW object. |
| Modifier and Type | Method and Description |
|---|---|
static HMapSIW |
create(byte[] bytes)
Creates a
HMapSIW object from a byte array. |
static HMapSIW |
create(DataInput in)
Creates a
HMapSIW object from a DataInput. |
void |
readFields(DataInput in)
Deserializes the map.
|
byte[] |
serialize()
Returns the serialized representation of this object as a byte array.
|
void |
write(DataOutput out)
Serializes the map.
|
clear, clone, containsKey, containsValue, dot, entrySet, get, getEntriesSortedByKey, getEntriesSortedByKey, getEntriesSortedByValue, getEntriesSortedByValue, increment, increment, isEmpty, keySet, plus, put, putAll, remove, size, toString, valuespublic void readFields(DataInput in) throws IOException
readFields in interface org.apache.hadoop.io.Writablein - source for raw byte representationIOExceptionpublic void write(DataOutput out) throws IOException
write in interface org.apache.hadoop.io.Writableout - where to write the raw byte representationIOExceptionpublic byte[] serialize()
throws IOException
IOExceptionpublic static HMapSIW create(DataInput in) throws IOException
HMapSIW object from a DataInput.in - source for reading the serialized representationOHMapSIW objectIOExceptionpublic static HMapSIW create(byte[] bytes) throws IOException
HMapSIW object from a byte array.bytes - source for reading the serialized representationOHMapSIW objectIOExceptionCopyright © 2014. All rights reserved.