public class LazyHiveDecimal extends LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>
dataisNull, oi| Constructor and Description |
|---|
LazyHiveDecimal(LazyHiveDecimal copy) |
LazyHiveDecimal(LazyHiveDecimalObjectInspector oi) |
| Modifier and Type | Method and Description |
|---|---|
HiveDecimalWritable |
getWritableObject() |
void |
init(ByteArrayRef bytes,
int start,
int length)
Initilizes LazyHiveDecimal object by interpreting the input bytes
as a numeric string
|
static void |
writeUTF8(OutputStream outputStream,
HiveDecimal hiveDecimal)
Writes HiveDecimal object to output stream as string
|
equals, hashCode, logExceptionMessage, toStringgetInspector, getObject, setInspector, setNullpublic LazyHiveDecimal(LazyHiveDecimalObjectInspector oi)
public LazyHiveDecimal(LazyHiveDecimal copy)
public void init(ByteArrayRef bytes, int start, int length)
init in interface LazyObjectBaseinit in class LazyObject<LazyHiveDecimalObjectInspector>bytes - start - length - ByteArrayRefpublic HiveDecimalWritable getWritableObject()
getWritableObject in class LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>public static void writeUTF8(OutputStream outputStream, HiveDecimal hiveDecimal) throws IOException
outputStream - hiveDecimal - IOExceptionCopyright © 2017 The Apache Software Foundation. All rights reserved.