public class LazyUnion extends LazyNonPrimitive<LazyUnionObjectInspector>
bytes, length, startoi| Constructor and Description |
|---|
LazyUnion(LazyUnionObjectInspector oi)
Construct a LazyUnion object with the ObjectInspector.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getField()
Get the field out of the union.
|
byte |
getTag()
Get the tag of the union
|
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the row data for this LazyUnion.
|
getObject, hashCodegetInspector, setInspectorpublic LazyUnion(LazyUnionObjectInspector oi)
public void init(ByteArrayRef bytes, int start, int length)
init in class LazyNonPrimitive<LazyUnionObjectInspector>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 getField()
public byte getTag()
Copyright © 2012 The Apache Software Foundation