public class LazyBinaryBoolean extends LazyBinaryPrimitive<WritableBooleanObjectInspector,BooleanWritable>
Part of the code is adapted from Apache Harmony Project. As with the specification, this implementation relied on code laid out in Henry S. Warren, Jr.'s Hacker's Delight, (Addison Wesley, 2002) as well as The Aggregate's Magic Algorithms.
| Constructor and Description |
|---|
LazyBinaryBoolean(LazyBinaryBoolean copy) |
LazyBinaryBoolean(WritableBooleanObjectInspector oi) |
| Modifier and Type | Method and Description |
|---|---|
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the data for this LazyObjectBase.
|
getObject, getWritableObject, hashCode, toStringpublic LazyBinaryBoolean(WritableBooleanObjectInspector oi)
public LazyBinaryBoolean(LazyBinaryBoolean copy)
public void init(ByteArrayRef bytes, int start, int length)
LazyObjectBaseinit in class LazyObjectBasebytes - The wrapper of the byte[].start - The start position inside the bytes.length - The length of the data, starting from "start"ByteArrayRefCopyright © 2012 The Apache Software Foundation