org.apache.hadoop.hive.ql.exec
Class Utilities.DatePersistenceDelegate

java.lang.Object
  extended by java.beans.PersistenceDelegate
      extended by org.apache.hadoop.hive.ql.exec.Utilities.DatePersistenceDelegate
Direct Known Subclasses:
Utilities.TimestampPersistenceDelegate
Enclosing class:
Utilities

public static class Utilities.DatePersistenceDelegate
extends PersistenceDelegate

DatePersistenceDelegate. Needed to serialize java.util.Date since it is not serialization friendly. Also works for java.sql.Date since it derives from java.util.Date.


Constructor Summary
Utilities.DatePersistenceDelegate()
           
 
Method Summary
protected  Expression instantiate(Object oldInstance, Encoder out)
           
protected  boolean mutatesTo(Object oldInstance, Object newInstance)
           
 
Methods inherited from class java.beans.PersistenceDelegate
initialize, writeObject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Utilities.DatePersistenceDelegate

public Utilities.DatePersistenceDelegate()
Method Detail

instantiate

protected Expression instantiate(Object oldInstance,
                                 Encoder out)
Specified by:
instantiate in class PersistenceDelegate

mutatesTo

protected boolean mutatesTo(Object oldInstance,
                            Object newInstance)
Overrides:
mutatesTo in class PersistenceDelegate


Copyright © 2012 The Apache Software Foundation