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

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<LazyBigDecimalObjectInspector,BigDecimalWritable>
              extended by org.apache.hadoop.hive.serde2.lazy.LazyBigDecimal

public class LazyBigDecimal
extends LazyPrimitive<LazyBigDecimalObjectInspector,BigDecimalWritable>


Field Summary
 
Fields inherited from class org.apache.hadoop.hive.serde2.lazy.LazyPrimitive
data, isNull
 
Fields inherited from class org.apache.hadoop.hive.serde2.lazy.LazyObject
oi
 
Constructor Summary
LazyBigDecimal(LazyBigDecimal copy)
           
LazyBigDecimal(LazyBigDecimalObjectInspector oi)
           
 
Method Summary
 BigDecimalWritable getWritableObject()
           
 void init(ByteArrayRef bytes, int start, int length)
          Initilizes LazyBigDecimal object by interpreting the input bytes as a numeric string
 
Methods inherited from class org.apache.hadoop.hive.serde2.lazy.LazyPrimitive
getObject, hashCode, logExceptionMessage, toString
 
Methods inherited from class org.apache.hadoop.hive.serde2.lazy.LazyObject
getInspector, setInspector
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LazyBigDecimal

public LazyBigDecimal(LazyBigDecimalObjectInspector oi)

LazyBigDecimal

public LazyBigDecimal(LazyBigDecimal copy)
Method Detail

init

public void init(ByteArrayRef bytes,
                 int start,
                 int length)
Initilizes LazyBigDecimal 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 BigDecimalWritable getWritableObject()
Overrides:
getWritableObject in class LazyPrimitive<LazyBigDecimalObjectInspector,BigDecimalWritable>


Copyright © 2013 The Apache Software Foundation