OI - public abstract class LazyBinaryNonPrimitive<OI extends ObjectInspector> extends LazyBinaryObject<OI>
| Modifier and Type | Field and Description |
|---|---|
protected ByteArrayRef |
bytes |
protected int |
length |
protected int |
start |
| Modifier | Constructor and Description |
|---|---|
protected |
LazyBinaryNonPrimitive(OI oi) |
| Modifier and Type | Method and Description |
|---|---|
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.
|
setNullprotected ByteArrayRef bytes
protected int start
protected int length
protected LazyBinaryNonPrimitive(OI oi)
public Object getObject()
LazyObjectBasepublic void init(ByteArrayRef bytes, int start, int length)
LazyObjectBasebytes - The wrapper of the byte[].start - The start position inside the bytes.length - The length of the data, starting from "start"ByteArrayRefpublic int hashCode()
hashCode in class LazyBinaryObject<OI extends ObjectInspector>Copyright © 2017 The Apache Software Foundation. All rights reserved.