org.apache.hadoop.hive.serde2.lazy
Class LazyHiveDecimal
java.lang.Object
org.apache.hadoop.hive.serde2.lazy.LazyObjectBase
org.apache.hadoop.hive.serde2.lazy.LazyObject<OI>
org.apache.hadoop.hive.serde2.lazy.LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>
org.apache.hadoop.hive.serde2.lazy.LazyHiveDecimal
public class LazyHiveDecimal
- extends LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>
LazyHiveDecimal
public LazyHiveDecimal(LazyHiveDecimalObjectInspector oi)
LazyHiveDecimal
public LazyHiveDecimal(LazyHiveDecimal copy)
init
public void init(ByteArrayRef bytes,
int start,
int length)
- Initilizes LazyHiveDecimal object by interpreting the input bytes
as a numeric string
- Specified by:
init
in class LazyObjectBase
- Parameters:
bytes
- start
- length
- - See Also:
ByteArrayRef
getWritableObject
public HiveDecimalWritable getWritableObject()
- Overrides:
getWritableObject
in class LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>
Copyright © 2014 The Apache Software Foundation. All rights reserved.