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 |
---|---|
java.lang.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.
|
protected ByteArrayRef bytes
protected int start
protected int length
protected LazyBinaryNonPrimitive(OI oi)
public java.lang.Object getObject()
LazyObjectBase
getObject
in class LazyObjectBase
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 int hashCode()
hashCode
in class LazyBinaryObject<OI extends ObjectInspector>
Copyright © 2012 The Apache Software Foundation