org.apache.hadoop.hive.serde2.lazybinary
Class LazyBinaryDate

java.lang.Object
  extended by org.apache.hadoop.hive.serde2.lazy.LazyObjectBase
      extended by org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryObject<OI>
          extended by org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryPrimitive<WritableDateObjectInspector,DateWritable>
              extended by org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryDate

public class LazyBinaryDate
extends LazyBinaryPrimitive<WritableDateObjectInspector,DateWritable>

A LazyBinaryObject that encodes a java.sql.Date in a VInt.


Method Summary
 void init(ByteArrayRef bytes, int start, int length)
          Initializes LazyBinaryDate object.
 
Methods inherited from class org.apache.hadoop.hive.serde2.lazybinary.LazyBinaryPrimitive
equals, getObject, getWritableObject, hashCode, toString
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Method Detail

init

public void init(ByteArrayRef bytes,
                 int start,
                 int length)
Initializes LazyBinaryDate object.

Specified by:
init in class LazyObjectBase
Parameters:
bytes -
start -
length -
See Also:
ByteArrayRef


Copyright © 2014 The Apache Software Foundation. All rights reserved.