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

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

public abstract class AbstractParquetMapInspector
extends Object
implements SettableMapObjectInspector


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.hadoop.hive.serde2.objectinspector.ObjectInspector
ObjectInspector.Category
 
Constructor Summary
AbstractParquetMapInspector(ObjectInspector keyInspector, ObjectInspector valueInspector)
           
 
Method Summary
 Object clear(Object map)
           
 Object create()
           
 boolean equals(Object obj)
           
 ObjectInspector.Category getCategory()
           
 Map<?,?> getMap(Object data)
           
 ObjectInspector getMapKeyObjectInspector()
           
 int getMapSize(Object data)
           
 ObjectInspector getMapValueObjectInspector()
           
 String getTypeName()
           
 int hashCode()
           
 Object put(Object map, Object key, Object value)
           
 Object remove(Object map, Object key)
           
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.apache.hadoop.hive.serde2.objectinspector.MapObjectInspector
getMapValueElement
 

Constructor Detail

AbstractParquetMapInspector

public AbstractParquetMapInspector(ObjectInspector keyInspector,
                                   ObjectInspector valueInspector)
Method Detail

getTypeName

public String getTypeName()
Specified by:
getTypeName in interface ObjectInspector

getCategory

public ObjectInspector.Category getCategory()
Specified by:
getCategory in interface ObjectInspector

getMapKeyObjectInspector

public ObjectInspector getMapKeyObjectInspector()
Specified by:
getMapKeyObjectInspector in interface MapObjectInspector

getMapValueObjectInspector

public ObjectInspector getMapValueObjectInspector()
Specified by:
getMapValueObjectInspector in interface MapObjectInspector

getMap

public Map<?,?> getMap(Object data)
Specified by:
getMap in interface MapObjectInspector

getMapSize

public int getMapSize(Object data)
Specified by:
getMapSize in interface MapObjectInspector

create

public Object create()
Specified by:
create in interface SettableMapObjectInspector

put

public Object put(Object map,
                  Object key,
                  Object value)
Specified by:
put in interface SettableMapObjectInspector

remove

public Object remove(Object map,
                     Object key)
Specified by:
remove in interface SettableMapObjectInspector

clear

public Object clear(Object map)
Specified by:
clear in interface SettableMapObjectInspector

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


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