public class LazyBinaryArray extends LazyBinaryNonPrimitive<LazyBinaryListObjectInspector>
bytes, length, start| Modifier | Constructor and Description |
|---|---|
protected |
LazyBinaryArray(LazyBinaryListObjectInspector oi)
Construct a LazyBinaryArray object with the ObjectInspector.
|
| Modifier and Type | Method and Description |
|---|---|
List<Object> |
getList()
Returns the List of actual primitive objects.
|
Object |
getListElementObject(int index)
Returns the actual primitive object at the index position inside the array
represented by this LazyBinaryObject.
|
int |
getListLength()
Returns the array size.
|
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the row data for this LazyBinaryArray.
|
getObject, hashCodesetNullprotected LazyBinaryArray(LazyBinaryListObjectInspector oi)
oi - the oi representing the type of this LazyBinaryArraypublic void init(ByteArrayRef bytes, int start, int length)
init in interface LazyObjectBaseinit in class LazyBinaryNonPrimitive<LazyBinaryListObjectInspector>bytes - The wrapper of the byte[].start - The start position inside the bytes.length - The length of the data, starting from "start"LazyObject.init(ByteArrayRef, int, int)public Object getListElementObject(int index)
public int getListLength()
Copyright © 2019 The Apache Software Foundation. All Rights Reserved.