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