org.apache.hadoop.hive.hbase
Class LazyHBaseCellMap
java.lang.Object
org.apache.hadoop.hive.serde2.lazy.LazyObjectBase
org.apache.hadoop.hive.serde2.lazy.LazyObject<OI>
org.apache.hadoop.hive.serde2.lazy.LazyNonPrimitive<LazyMapObjectInspector>
org.apache.hadoop.hive.serde2.lazy.LazyMap
org.apache.hadoop.hive.hbase.LazyHBaseCellMap
public class LazyHBaseCellMap
- extends LazyMap
LazyHBaseCellMap refines LazyMap with HBase column mapping.
| Fields inherited from class org.apache.hadoop.hive.serde2.lazy.LazyMap |
cachedMap |
| Fields inherited from class org.apache.hadoop.hive.serde2.lazy.LazyObject |
oi |
LazyHBaseCellMap
public LazyHBaseCellMap(LazyMapObjectInspector oi)
- Construct a LazyCellMap object with the ObjectInspector.
- Parameters:
oi -
init
public void init(org.apache.hadoop.hbase.client.Result r,
byte[] columnFamilyBytes,
List<Boolean> binaryStorage)
init
public void init(org.apache.hadoop.hbase.client.Result r,
byte[] columnFamilyBytes,
List<Boolean> binaryStorage,
byte[] qualPrefix)
getMapValueElement
public Object getMapValueElement(Object key)
- Get the value in the map for the given key.
- Overrides:
getMapValueElement in class LazyMap
- Parameters:
key -
- Returns:
getMap
public Map<Object,Object> getMap()
- Overrides:
getMap in class LazyMap
getMapSize
public int getMapSize()
- Overrides:
getMapSize in class LazyMap
Copyright © 2014 The Apache Software Foundation. All rights reserved.