@Internal public class TimestampSerializer extends org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<Timestamp>
| Modifier and Type | Class and Description |
|---|---|
static class |
TimestampSerializer.TimestampSerializerSnapshot
TypeSerializerSnapshot for TimestampSerializer. |
| Constructor and Description |
|---|
TimestampSerializer(int precision) |
| Modifier and Type | Method and Description |
|---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
Timestamp |
copy(Timestamp from) |
Timestamp |
copy(Timestamp from,
Timestamp reuse) |
Timestamp |
createInstance() |
Timestamp |
deserialize(org.apache.flink.core.memory.DataInputView source) |
Timestamp |
deserialize(Timestamp reuse,
org.apache.flink.core.memory.DataInputView source) |
int |
getLength() |
boolean |
isImmutableType() |
void |
serialize(Timestamp record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Timestamp> |
snapshotConfiguration() |
public boolean isImmutableType()
isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public Timestamp createInstance()
createInstance in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public Timestamp copy(Timestamp from)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public Timestamp copy(Timestamp from, Timestamp reuse)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public int getLength()
getLength in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public void serialize(Timestamp record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>IOExceptionpublic Timestamp deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>IOExceptionpublic Timestamp deserialize(Timestamp reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>IOExceptionpublic void copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target)
throws IOException
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>IOExceptionCopyright © 2014–2021 The Apache Software Foundation. All rights reserved.