org.apache.hadoop.hive.serde2.lazy
Class LazyHiveDecimal

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazy.LazyObjectBase
      extended by org.apache.hadoop.hive.serde2.lazy.LazyObject<OI>
          extended by org.apache.hadoop.hive.serde2.lazy.LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>
              extended by org.apache.hadoop.hive.serde2.lazy.LazyHiveDecimal

public class LazyHiveDecimal
extends LazyPrimitive<LazyHiveDecimalObjectInspector,HiveDecimalWritable>


Constructor Summary
LazyHiveDecimal(LazyHiveDecimal copy)
           
LazyHiveDecimal(LazyHiveDecimalObjectInspector oi)
           
 
Method Summary
 HiveDecimalWritable getWritableObject()
           
 void init(ByteArrayRef bytes, int start, int length)
          Initilizes LazyHiveDecimal object by interpreting the input bytes as a numeric string
 
Methods inherited from class org.apache.hadoop.hive.serde2.lazy.LazyPrimitive
equals, getObject, hashCode, logExceptionMessage, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyHiveDecimal

public LazyHiveDecimal(LazyHiveDecimalObjectInspector oi)

LazyHiveDecimal

public LazyHiveDecimal(LazyHiveDecimal copy)
Method Detail

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.