public class LazyBinary extends LazyPrimitive<LazyBinaryObjectInspector,org.apache.hadoop.io.BytesWritable>
dataisNull, oi| Constructor and Description |
|---|
LazyBinary(LazyBinary other) |
| Modifier and Type | Method and Description |
|---|---|
static byte[] |
decodeIfNeeded(byte[] recv) |
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the data for this LazyObjectBase.
|
equals, getWritableObject, hashCode, logExceptionMessage, toStringgetInspector, getObject, setInspector, setNullpublic LazyBinary(LazyBinary other)
public void init(ByteArrayRef bytes, int start, int length)
LazyObjectBaseinit in interface LazyObjectBaseinit in class LazyObject<LazyBinaryObjectInspector>bytes - The wrapper of the byte[].start - The start position inside the bytes.length - The length of the data, starting from "start"ByteArrayRefpublic static byte[] decodeIfNeeded(byte[] recv)
Copyright © 2017 The Apache Software Foundation. All rights reserved.