public class LazyHiveDecimal extends LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>
data
isNull, 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, toString
getInspector, getObject, setInspector, setNull
public LazyHiveDecimal(LazyHiveDecimalObjectInspector oi)
public LazyHiveDecimal(LazyHiveDecimal copy)
public void init(ByteArrayRef bytes, int start, int length)
init
in interface LazyObjectBase
init
in class LazyObject<LazyHiveDecimalObjectInspector>
bytes
- start
- length
- ByteArrayRef
public HiveDecimalWritable getWritableObject()
getWritableObject
in class LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>
public static void writeUTF8(OutputStream outputStream, HiveDecimal hiveDecimal) throws IOException
outputStream
- hiveDecimal
- IOException
Copyright © 2017 The Apache Software Foundation. All rights reserved.