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