|
||||||||||
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<OI>
public abstract class LazyNonPrimitive<OI extends ObjectInspector>
LazyPrimitive stores a primitive Object in a LazyObject.
Method Summary | |
---|---|
Object |
getObject()
If the LazyObjectBase is a primitive Object, then deserialize it and return the actual primitive Object. |
int |
hashCode()
|
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the data for this LazyObjectBase. |
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)
LazyObjectBase
init
in class LazyObjectBase
bytes
- The wrapper of the byte[].start
- The start position inside the bytes.length
- The length of the data, starting from "start"ByteArrayRef
public Object getObject()
LazyObjectBase
getObject
in class LazyObjectBase
public int hashCode()
hashCode
in class LazyObject<OI extends ObjectInspector>
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |