org.apache.hadoop.hive.ql.exec.vector
Class TimestampUtils

java.lang.Object
  extended by org.apache.hadoop.hive.ql.exec.vector.TimestampUtils

public final class TimestampUtils
extends Object


Constructor Summary
TimestampUtils()
           
 
Method Summary
static void assignTimeInNanoSec(long timeInNanoSec, Timestamp t)
          Store the given timestamp in nanoseconds into the timestamp object.
static long getTimeNanoSec(Timestamp t)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TimestampUtils

public TimestampUtils()
Method Detail

assignTimeInNanoSec

public static void assignTimeInNanoSec(long timeInNanoSec,
                                       Timestamp t)
Store the given timestamp in nanoseconds into the timestamp object.

Parameters:
timeInNanoSec - Given timestamp in nanoseconds
t - The timestamp object

getTimeNanoSec

public static long getTimeNanoSec(Timestamp t)


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