|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.apache.hadoop.hive.serde2.lazy.LazyObjectBase
org.apache.hadoop.hive.serde2.lazy.LazyObject<OI>
org.apache.hadoop.hive.serde2.lazy.LazyNonPrimitive<LazyListObjectInspector>
org.apache.hadoop.hive.serde2.lazy.LazyArray
public class LazyArray
LazyArray stores an array of Lazy Objects. LazyArray does not deal with the case of a NULL array. That is handled by the parent LazyObject.
Method Summary | |
---|---|
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 LazyObject. |
int |
getListLength()
Returns -1 for null array. |
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the row data for this LazyArray. |
Methods inherited from class org.apache.hadoop.hive.serde2.lazy.LazyNonPrimitive |
---|
getObject, hashCode |
Methods inherited from class java.lang.Object |
---|
equals, getClass, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public void init(ByteArrayRef bytes, int start, int length)
init
in class LazyNonPrimitive<LazyListObjectInspector>
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 Object getListElementObject(int index)
public int getListLength()
public List<Object> getList()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |