org.apache.hadoop.hive.ql.io.parquet.serde
Class AbstractParquetMapInspector
java.lang.Object
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
AbstractParquetMapInspector
public AbstractParquetMapInspector(ObjectInspector keyInspector,
ObjectInspector valueInspector)
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.