K
- the type of the key used in this hash mapV
- the type of the value used in this hash mappublic class SerializableHashMap<K extends org.apache.flink.core.io.IOReadableWritable,V extends org.apache.flink.core.io.IOReadableWritable> extends HashMap<K,V> implements org.apache.flink.core.io.IOReadableWritable
HashMap
by implementing the
IOReadableWritable
interface.AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Constructor and Description |
---|
SerializableHashMap() |
Modifier and Type | Method and Description |
---|---|
void |
read(org.apache.flink.core.memory.DataInputView in) |
void |
write(org.apache.flink.core.memory.DataOutputView out) |
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
equals, hashCode, toString
public void write(org.apache.flink.core.memory.DataOutputView out) throws IOException
write
in interface org.apache.flink.core.io.IOReadableWritable
IOException
public void read(org.apache.flink.core.memory.DataInputView in) throws IOException
read
in interface org.apache.flink.core.io.IOReadableWritable
IOException
Copyright © 2014–2016 The Apache Software Foundation. All rights reserved.