public class PaimonMapObjectInspector extends Object implements org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
MapObjectInspector
for InternalMap
.
Behaviors of this class when input is null are compatible with StandardMapObjectInspector
.
Constructor and Description |
---|
PaimonMapObjectInspector(DataType keyType,
DataType valueType) |
Modifier and Type | Method and Description |
---|---|
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category |
getCategory() |
Map<?,?> |
getMap(Object o) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
getMapKeyObjectInspector() |
int |
getMapSize(Object o) |
Object |
getMapValueElement(Object o,
Object key) |
org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector |
getMapValueObjectInspector() |
String |
getTypeName() |
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getMapKeyObjectInspector()
getMapKeyObjectInspector
in interface org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector getMapValueObjectInspector()
getMapValueObjectInspector
in interface org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
public Object getMapValueElement(Object o, Object key)
getMapValueElement
in interface org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
public Map<?,?> getMap(Object o)
getMap
in interface org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
public int getMapSize(Object o)
getMapSize
in interface org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
public String getTypeName()
getTypeName
in interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
public org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector.Category getCategory()
getCategory
in interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
Copyright © 2023–2024 The Apache Software Foundation. All rights reserved.