public class LazyAccumuloMap extends LazyMap
Modifier and Type | Field and Description |
---|---|
protected HiveAccumuloMapColumnMapping |
columnMapping |
protected AccumuloHiveRow |
sourceRow |
bytes, length, start
isNull, oi
Constructor and Description |
---|
LazyAccumuloMap(LazyMapObjectInspector oi) |
Modifier and Type | Method and Description |
---|---|
Map<Object,Object> |
getMap()
Return the map object representing this LazyMap.
|
int |
getMapSize()
Get the size of the map represented by this LazyMap.
|
Object |
getMapValueElement(Object key)
Get the value in the map for the given key.
|
void |
init(AccumuloHiveRow row,
HiveAccumuloMapColumnMapping columnMapping) |
protected void |
parse() |
enlargeArrays, getParsed, init, setParsed
hashCode, isNull, isNull
getInspector, getObject, setInspector, setNull
protected AccumuloHiveRow sourceRow
protected HiveAccumuloMapColumnMapping columnMapping
public LazyAccumuloMap(LazyMapObjectInspector oi)
public void init(AccumuloHiveRow row, HiveAccumuloMapColumnMapping columnMapping)
protected void parse()
public Object getMapValueElement(Object key)
getMapValueElement
in class LazyMap
key
- The key, a column qualifier, from the mappublic Map<Object,Object> getMap()
LazyMap
public int getMapSize()
LazyMap
getMapSize
in class LazyMap
Copyright © 2017 The Apache Software Foundation. All rights reserved.