@Internal public class TimestampTimestampConverter extends Object implements DataStructureConverter<TimestampData,Timestamp>
TimestampType
of Timestamp
external type.Constructor and Description |
---|
TimestampTimestampConverter() |
Modifier and Type | Method and Description |
---|---|
Timestamp |
toExternal(TimestampData internal)
Converts to external data structure.
|
TimestampData |
toInternal(Timestamp external)
Converts to internal data structure.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
open, toExternalOrNull, toInternalOrNull
public TimestampData toInternal(Timestamp external)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toInternal
in interface DataStructureConverter<TimestampData,Timestamp>
public Timestamp toExternal(TimestampData internal)
DataStructureConverter
Note: Parameter must not be null. Output must not be null.
toExternal
in interface DataStructureConverter<TimestampData,Timestamp>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.