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