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 |
---|---|
java.util.List<java.lang.Object> |
getList()
Returns the List of actual primitive objects.
|
java.lang.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, hashCode
protected LazyBinaryArray(LazyBinaryListObjectInspector oi)
oi
- the oi representing the type of this LazyBinaryArraypublic void init(ByteArrayRef bytes, int start, int length)
init
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"LazyObjectBase.init(ByteArrayRef, int, int)
public java.lang.Object getListElementObject(int index)
public int getListLength()
public java.util.List<java.lang.Object> getList()
Copyright © 2012 The Apache Software Foundation