@Internal public class ByteArrayWrapperSerializer extends org.apache.flink.api.common.typeutils.base.TypeSerializerSingleton<ByteArrayWrapper>
ByteArrayWrapper
.Modifier and Type | Class and Description |
---|---|
static class |
ByteArrayWrapperSerializer.ByteArrayWrapperSerializerSnapshot
Serializer configuration snapshot for compatibility and format evolution.
|
Modifier and Type | Field and Description |
---|---|
static ByteArrayWrapperSerializer |
INSTANCE |
Constructor and Description |
---|
ByteArrayWrapperSerializer() |
Modifier and Type | Method and Description |
---|---|
ByteArrayWrapper |
copy(ByteArrayWrapper from) |
ByteArrayWrapper |
copy(ByteArrayWrapper from,
ByteArrayWrapper reuse) |
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
ByteArrayWrapper |
createInstance() |
ByteArrayWrapper |
deserialize(ByteArrayWrapper reuse,
org.apache.flink.core.memory.DataInputView source) |
ByteArrayWrapper |
deserialize(org.apache.flink.core.memory.DataInputView source) |
int |
getLength() |
boolean |
isImmutableType() |
void |
serialize(ByteArrayWrapper record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<ByteArrayWrapper> |
snapshotConfiguration() |
public static final ByteArrayWrapperSerializer INSTANCE
public boolean isImmutableType()
isImmutableType
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
public ByteArrayWrapper createInstance()
createInstance
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
public ByteArrayWrapper copy(ByteArrayWrapper from)
copy
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
public ByteArrayWrapper copy(ByteArrayWrapper from, ByteArrayWrapper reuse)
copy
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
public int getLength()
getLength
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
public void serialize(ByteArrayWrapper record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
IOException
public ByteArrayWrapper deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
IOException
public ByteArrayWrapper deserialize(ByteArrayWrapper reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
IOException
public 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<ByteArrayWrapper>
IOException
public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<ByteArrayWrapper> snapshotConfiguration()
snapshotConfiguration
in class org.apache.flink.api.common.typeutils.TypeSerializer<ByteArrayWrapper>
Copyright © 2014–2021 The Apache Software Foundation. All rights reserved.