Class DateAsLongEncoding

java.lang.Object
org.apache.avro.reflect.CustomEncoding<Date>
org.apache.avro.reflect.DateAsLongEncoding

public class DateAsLongEncoding extends CustomEncoding<Date>
This encoder/decoder writes a java.util.Date object as a long to avro and reads a Date object from long. The long stores the number of milliseconds since January 1, 1970, 00:00:00 GMT represented by the Date object.