org.apache.hadoop.hive.ql.exec
Class Utilities.DatePersistenceDelegate
java.lang.Object
java.beans.PersistenceDelegate
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Utilities.DatePersistenceDelegate
public Utilities.DatePersistenceDelegate()
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