V - type of valuepublic class HMapIVW<V extends org.apache.hadoop.io.Writable> extends HMapIV<V> implements org.apache.hadoop.io.Writable
| Constructor and Description |
|---|
HMapIVW()
Creates a
HMapIVW object. |
| Modifier and Type | Method and Description |
|---|---|
static <T extends org.apache.hadoop.io.WritableComparable<?>> |
create(byte[] bytes)
Creates a
HMapIVW object from a byte array. |
static <T extends org.apache.hadoop.io.WritableComparable<?>> |
create(DataInput in)
Creates a
HMapIVW 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, entrySet, get, getEntriesSortedByValue, getEntriesSortedByValue, isEmpty, keySet, 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 <T extends org.apache.hadoop.io.WritableComparable<?>> HMapIVW<T> create(DataInput in) throws IOException
HMapIVW object from a DataInput.in - source for reading the serialized representationHMapIVW objectIOExceptionpublic static <T extends org.apache.hadoop.io.WritableComparable<?>> HMapIVW<T> create(byte[] bytes) throws IOException
HMapIVW object from a byte array.bytes - source for reading the serialized representationHMapIVW objectIOExceptionCopyright © 2018. All rights reserved.