public class DateAsLongEncoding extends CustomEncoding<Date>
schema
Constructor and Description |
---|
DateAsLongEncoding() |
Modifier and Type | Method and Description |
---|---|
protected Date |
read(Object reuse,
Decoder in) |
protected void |
write(Object datum,
Encoder out) |
getSchema
protected final void write(Object datum, Encoder out) throws IOException
write
in class CustomEncoding<Date>
IOException
protected final Date read(Object reuse, Decoder in) throws IOException
read
in class CustomEncoding<Date>
IOException
Copyright © 2009–2020 The Apache Software Foundation. All rights reserved.