@Internal
public class TimestampDataSerializer
extends org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>
TimestampData.
A TimestampData instance can be compactly serialized as a long value(= millisecond) when
the Timestamp type is compact. Otherwise it's serialized as a long value and a int value.
| 限定符和类型 | 类和说明 |
|---|---|
static class |
TimestampDataSerializer.TimestampDataSerializerSnapshot
TypeSerializerSnapshot for TimestampDataSerializer. |
| 构造器和说明 |
|---|
TimestampDataSerializer(int precision) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.table.data.TimestampData |
copy(org.apache.flink.table.data.TimestampData from) |
org.apache.flink.table.data.TimestampData |
copy(org.apache.flink.table.data.TimestampData from,
org.apache.flink.table.data.TimestampData reuse) |
org.apache.flink.table.data.TimestampData |
createInstance() |
org.apache.flink.table.data.TimestampData |
deserialize(org.apache.flink.core.memory.DataInputView source) |
org.apache.flink.table.data.TimestampData |
deserialize(org.apache.flink.table.data.TimestampData reuse,
org.apache.flink.core.memory.DataInputView source) |
org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData> |
duplicate() |
boolean |
equals(Object obj) |
int |
getLength() |
int |
hashCode() |
boolean |
isImmutableType() |
void |
serialize(org.apache.flink.table.data.TimestampData record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData> |
snapshotConfiguration() |
public boolean isImmutableType()
isImmutableType 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData> duplicate()
duplicate 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public org.apache.flink.table.data.TimestampData createInstance()
createInstance 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public org.apache.flink.table.data.TimestampData copy(org.apache.flink.table.data.TimestampData from)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public org.apache.flink.table.data.TimestampData copy(org.apache.flink.table.data.TimestampData from,
org.apache.flink.table.data.TimestampData reuse)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public int getLength()
getLength 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public void serialize(org.apache.flink.table.data.TimestampData record,
org.apache.flink.core.memory.DataOutputView target)
throws IOException
serialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>IOExceptionpublic org.apache.flink.table.data.TimestampData deserialize(org.apache.flink.core.memory.DataInputView source)
throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>IOExceptionpublic org.apache.flink.table.data.TimestampData deserialize(org.apache.flink.table.data.TimestampData reuse,
org.apache.flink.core.memory.DataInputView source)
throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>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<org.apache.flink.table.data.TimestampData>IOExceptionpublic boolean equals(Object obj)
equals 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public int hashCode()
hashCode 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<org.apache.flink.table.data.TimestampData> snapshotConfiguration()
snapshotConfiguration 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<org.apache.flink.table.data.TimestampData>Copyright © 2014–2020 The Apache Software Foundation. All rights reserved.