public class HMapStIW extends HMapKI<String> implements org.apache.hadoop.io.Writable
Text objects.DEFAULT_VALUE| Constructor and Description |
|---|
HMapStIW()
Creates a
HMapStIW object. |
| Modifier and Type | Method and Description |
|---|---|
static HMapStIW |
create(byte[] bytes)
Creates a
HMapStIW object from a byte array. |
static HMapStIW |
create(DataInput in)
Creates a
HMapStIW 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 HMapStIW create(DataInput in) throws IOException
HMapStIW object from a DataInput.in - source for reading the serialized representationHMapStIW objectIOExceptionpublic static HMapStIW create(byte[] bytes) throws IOException
HMapStIW object from a byte array.bytes - source for reading the serialized representationHMapStIW objectIOExceptionCopyright © 2014. All rights reserved.