Package io.trino.plugin.hive.metastore
Class HivePageSinkMetadata.JsonSerializableEntry<K,V>
- java.lang.Object
-
- io.trino.plugin.hive.metastore.HivePageSinkMetadata.JsonSerializableEntry<K,V>
-
- Enclosing class:
- HivePageSinkMetadata
public static class HivePageSinkMetadata.JsonSerializableEntry<K,V> extends Object
-
-
Constructor Summary
Constructors Constructor Description JsonSerializableEntry(K key, V value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static <K,V>
List<HivePageSinkMetadata.JsonSerializableEntry<K,V>>fromMap(Map<K,V> map)KgetKey()VgetValue()static <K,V>
Map<K,V>toMap(List<HivePageSinkMetadata.JsonSerializableEntry<K,V>> list)
-
-
-
Method Detail
-
getKey
public K getKey()
-
getValue
public V getValue()
-
fromMap
public static <K,V> List<HivePageSinkMetadata.JsonSerializableEntry<K,V>> fromMap(Map<K,V> map)
-
toMap
public static <K,V> Map<K,V> toMap(List<HivePageSinkMetadata.JsonSerializableEntry<K,V>> list)
-
-