@Internal public class TimestampSerializer extends org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<Timestamp>
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TimestampSerializer.TimestampSerializerSnapshot
TypeSerializerSnapshot for TimestampSerializer. |
| 构造器和说明 |
|---|
TimestampSerializer(int precision) |
| 限定符和类型 | 方法和说明 |
|---|---|
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 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public Timestamp createInstance()
createInstance 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public Timestamp copy(Timestamp from)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public Timestamp copy(Timestamp from, Timestamp reuse)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public int getLength()
getLength 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>public void serialize(Timestamp record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>IOExceptionpublic Timestamp deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>IOExceptionpublic Timestamp deserialize(Timestamp reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 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 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Timestamp>IOExceptionCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.