org.apache.hadoop.hive.ql.io.parquet.serde
Class DeepParquetHiveMapInspector
java.lang.Object
org.apache.hadoop.hive.ql.io.parquet.serde.AbstractParquetMapInspector
org.apache.hadoop.hive.ql.io.parquet.serde.DeepParquetHiveMapInspector
- All Implemented Interfaces:
- Cloneable, MapObjectInspector, ObjectInspector, SettableMapObjectInspector
public class DeepParquetHiveMapInspector
- extends AbstractParquetMapInspector
The DeepParquetHiveMapInspector will inspect an ArrayWritable, considering it as a Hive map.
It can also inspect a Map if Hive decides to inspect the result of an inspection.
When trying to access elements from the map it will iterate over all keys, inspecting them and comparing them to the
desired key.
Methods inherited from class org.apache.hadoop.hive.ql.io.parquet.serde.AbstractParquetMapInspector |
clear, create, equals, getCategory, getMap, getMapKeyObjectInspector, getMapSize, getMapValueObjectInspector, getTypeName, hashCode, put, remove |
DeepParquetHiveMapInspector
public DeepParquetHiveMapInspector(ObjectInspector keyInspector,
ObjectInspector valueInspector)
getMapValueElement
public Object getMapValueElement(Object data,
Object key)
Copyright © 2014 The Apache Software Foundation. All rights reserved.