Package org.apache.orc.mapred
Class OrcTimestamp
java.lang.Object
java.util.Date
java.sql.Timestamp
org.apache.orc.mapred.OrcTimestamp
- All Implemented Interfaces:
Serializable
,Cloneable
,Comparable<Date>
,Writable
,WritableComparable<Date>
A Timestamp implementation that implements Writable.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
readFields
(DataInput input) void
void
write
(DataOutput output) Methods inherited from class java.sql.Timestamp
after, before, compareTo, compareTo, equals, equals, from, getNanos, getTime, hashCode, setNanos, setTime, toInstant, toLocalDateTime, toString, valueOf, valueOf
Methods inherited from class java.util.Date
after, before, clone, getDate, getDay, getHours, getMinutes, getMonth, getSeconds, getTimezoneOffset, getYear, parse, setDate, setHours, setMinutes, setMonth, setSeconds, setYear, toGMTString, toLocaleString, UTC
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
-
Constructor Details
-
OrcTimestamp
public OrcTimestamp() -
OrcTimestamp
public OrcTimestamp(long time) -
OrcTimestamp
-
-
Method Details
-
write
- Specified by:
write
in interfaceWritable
- Throws:
IOException
-
readFields
- Specified by:
readFields
in interfaceWritable
- Throws:
IOException
-
set
-