public final class ByteSerializer extends TypeSerializerSingleton<Byte>
Byte.| Modifier and Type | Class and Description |
|---|---|
static class |
ByteSerializer.ByteSerializerSnapshot
Serializer configuration snapshot for compatibility and format evolution.
|
| Modifier and Type | Field and Description |
|---|---|
static ByteSerializer |
INSTANCE
Sharable instance of the ByteSerializer.
|
| Constructor and Description |
|---|
ByteSerializer() |
| Modifier and Type | Method and Description |
|---|---|
Byte |
copy(Byte from) |
Byte |
copy(Byte from,
Byte reuse) |
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
Byte |
createInstance() |
Byte |
deserialize(Byte reuse,
org.apache.flink.core.memory.DataInputView source) |
Byte |
deserialize(org.apache.flink.core.memory.DataInputView source) |
int |
getLength() |
boolean |
isImmutableType() |
void |
serialize(Byte record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<Byte> |
snapshotConfiguration() |
duplicate, equals, hashCodepublic static final ByteSerializer INSTANCE
public boolean isImmutableType()
isImmutableType in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>public Byte createInstance()
createInstance in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>public Byte copy(Byte from)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>public Byte copy(Byte from, Byte reuse)
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>public int getLength()
getLength in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>public void serialize(Byte record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>IOExceptionpublic Byte deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>IOExceptionpublic Byte deserialize(Byte reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>IOExceptionpublic void copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target)
throws IOException
copy in class org.apache.flink.api.common.typeutils.TypeSerializer<Byte>IOExceptionCopyright © 2024 The Apache Software Foundation. All rights reserved.