@Internal public class MapMapConverter<K,V> extends Object implements DataStructureConverter<MapData,Map<K,V>>
Modifier and Type | Method and Description |
---|---|
static MapMapConverter<?,?> |
createForMapType(DataType dataType) |
static MapMapConverter<?,?> |
createForMultisetType(DataType dataType) |
void |
open(ClassLoader classLoader) |
Map<K,V> |
toExternal(MapData internal)
Converts to external data structure.
|
MapData |
toInternal(Map<K,V> external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isIdentityConversion, toExternalOrNull, toInternalOrNull
public void open(ClassLoader classLoader)
public MapData toInternal(Map<K,V> external)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toInternal
in interface DataStructureConverter<MapData,Map<K,V>>
public Map<K,V> toExternal(MapData internal)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toExternal
in interface DataStructureConverter<MapData,Map<K,V>>
public static MapMapConverter<?,?> createForMapType(DataType dataType)
public static MapMapConverter<?,?> createForMultisetType(DataType dataType)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.