public class LazyHiveChar extends LazyPrimitive<LazyHiveCharObjectInspector,HiveCharWritable>
Modifier and Type | Field and Description |
---|---|
protected int |
maxLength |
data
isNull, oi
Constructor and Description |
---|
LazyHiveChar(LazyHiveChar copy) |
LazyHiveChar(LazyHiveCharObjectInspector oi) |
Modifier and Type | Method and Description |
---|---|
void |
init(ByteArrayRef bytes,
int start,
int length)
Set the data for this LazyObjectBase.
|
void |
setValue(LazyHiveChar copy) |
equals, getWritableObject, hashCode, logExceptionMessage, toString
getInspector, getObject, setInspector, setNull
public LazyHiveChar(LazyHiveCharObjectInspector oi)
public LazyHiveChar(LazyHiveChar copy)
public void setValue(LazyHiveChar copy)
public void init(ByteArrayRef bytes, int start, int length)
LazyObjectBase
init
in interface LazyObjectBase
init
in class LazyObject<LazyHiveCharObjectInspector>
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.