public final class LongSerializer extends TypeSerializerSingleton<Long>
Long.| 限定符和类型 | 类和说明 |
|---|---|
static class |
LongSerializer.LongSerializerSnapshot
Serializer configuration snapshot for compatibility and format evolution.
|
| 限定符和类型 | 字段和说明 |
|---|---|
static LongSerializer |
INSTANCE
Sharable instance of the LongSerializer.
|
| 构造器和说明 |
|---|
LongSerializer() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
Long |
copy(Long from) |
Long |
copy(Long from,
Long reuse) |
Long |
createInstance() |
Long |
deserialize(org.apache.flink.core.memory.DataInputView source) |
Long |
deserialize(Long reuse,
org.apache.flink.core.memory.DataInputView source) |
int |
getLength() |
boolean |
isImmutableType() |
void |
serialize(Long record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Long> |
snapshotConfiguration() |
duplicate, equals, hashCodepublic static final LongSerializer INSTANCE
public boolean isImmutableType()
isImmutableType 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>public Long createInstance()
createInstance 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>public Long copy(Long from)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>public Long copy(Long from, Long reuse)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>public int getLength()
getLength 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>public void serialize(Long record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>IOExceptionpublic Long deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>IOExceptionpublic Long deserialize(Long reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<Long>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<Long>IOExceptionCopyright © 2025 The Apache Software Foundation. All rights reserved.