Package org.apache.flink.util
Class LinkedOptionalMapSerializer
- java.lang.Object
-
- org.apache.flink.util.LinkedOptionalMapSerializer
-
@Internal public final class LinkedOptionalMapSerializer extends Object
LinkedOptionalMapSerializer - A serializer ofLinkedOptionalMap
.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static <K,V>
LinkedOptionalMap<K,V>readOptionalMap(DataInputView in, BiFunctionWithException<DataInputView,String,K,IOException> keyReader, BiFunctionWithException<DataInputView,String,V,IOException> valueReader)
static <K,V>
voidwriteOptionalMap(DataOutputView out, LinkedOptionalMap<K,V> map, BiConsumerWithException<DataOutputView,K,IOException> keyWriter, BiConsumerWithException<DataOutputView,V,IOException> valueWriter)
-
-
-
Method Detail
-
writeOptionalMap
public static <K,V> void writeOptionalMap(DataOutputView out, LinkedOptionalMap<K,V> map, BiConsumerWithException<DataOutputView,K,IOException> keyWriter, BiConsumerWithException<DataOutputView,V,IOException> valueWriter) throws IOException
- Throws:
IOException
-
readOptionalMap
public static <K,V> LinkedOptionalMap<K,V> readOptionalMap(DataInputView in, BiFunctionWithException<DataInputView,String,K,IOException> keyReader, BiFunctionWithException<DataInputView,String,V,IOException> valueReader) throws IOException
- Throws:
IOException
-
-