org.apache.hadoop.hive.ql.io.parquet.serde
Class StandardParquetHiveMapInspector

java.lang.Object
  extended by org.apache.hadoop.hive.ql.io.parquet.serde.AbstractParquetMapInspector
      extended by org.apache.hadoop.hive.ql.io.parquet.serde.StandardParquetHiveMapInspector
All Implemented Interfaces:
Cloneable, MapObjectInspector, ObjectInspector, SettableMapObjectInspector

public class StandardParquetHiveMapInspector
extends AbstractParquetMapInspector

The StandardParquetHiveMapInspector 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.


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Constructor Summary
StandardParquetHiveMapInspector(ObjectInspector keyInspector, ObjectInspector valueInspector)
           
 
Method Summary
 Object getMapValueElement(Object data, Object 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
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StandardParquetHiveMapInspector

public StandardParquetHiveMapInspector(ObjectInspector keyInspector,
                                       ObjectInspector valueInspector)
Method Detail

getMapValueElement

public Object getMapValueElement(Object data,
                                 Object key)


Copyright © 2014 The Apache Software Foundation. All rights reserved.