public class LazyString extends LazyPrimitive<LazyStringObjectInspector,org.apache.hadoop.io.Text>
data
isNull, oi
Constructor and Description |
---|
LazyString(LazyString copy) |
LazyString(LazyStringObjectInspector oi) |
Modifier and Type | Method and Description |
---|---|
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the data for this LazyObjectBase.
|
equals, getWritableObject, hashCode, logExceptionMessage, toString
getInspector, getObject, setInspector, setNull
public LazyString(LazyStringObjectInspector oi)
public LazyString(LazyString copy)
public void init(ByteArrayRef bytes, int start, int length)
LazyObjectBase
init
in interface LazyObjectBase
init
in class LazyObject<LazyStringObjectInspector>
bytes
- The wrapper of the byte[].start
- The start position inside the bytes.length
- The length of the data, starting from "start"ByteArrayRef
Copyright © 2017 The Apache Software Foundation. All rights reserved.