public class LazyHBaseRow extends LazyStruct
bytes, length, start
isNull, oi
Constructor and Description |
---|
LazyHBaseRow(LazySimpleStructObjectInspector oi,
HBaseSerDeParameters serdeParams)
Construct a LazyHBaseRow object with the ObjectInspector.
|
Modifier and Type | Method and Description |
---|---|
protected LazyObjectBase |
createLazyField(int fieldID,
StructField fieldRef) |
Object |
getField(int fieldID)
Get one field out of the HBase row.
|
ArrayList<Object> |
getFieldsAsList()
Get the values of the fields as an ArrayList.
|
Object |
getObject()
Returns the primitive object represented by this LazyObject.
|
void |
init(org.apache.hadoop.hbase.client.Result r)
Set the HBase row data(a Result writable) for this LazyStruct.
|
getBytes, getFieldInited, getFields, getParsed, getRawDataSerializedSize, init, initLazyFields, parseMultiDelimit, setFieldInited, setFields, setParsed
hashCode, isNull, isNull
getInspector, setInspector, setNull
public LazyHBaseRow(LazySimpleStructObjectInspector oi, HBaseSerDeParameters serdeParams)
public void init(org.apache.hadoop.hbase.client.Result r)
protected LazyObjectBase createLazyField(int fieldID, StructField fieldRef) throws SerDeException
createLazyField
in class LazyStruct
SerDeException
public Object getField(int fieldID)
getField
in interface StructObject
getField
in class LazyStruct
fieldID
- The field IDpublic ArrayList<Object> getFieldsAsList()
getFieldsAsList
in interface StructObject
getFieldsAsList
in class LazyStruct
public Object getObject()
LazyObject
getObject
in interface LazyObjectBase
getObject
in class LazyObject<LazySimpleStructObjectInspector>
Copyright © 2017 The Apache Software Foundation. All rights reserved.