public static class SharedBuffer.SharedBufferSerializer<K,V> extends org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>
TypeSerializer for the SharedBuffer.| 构造器和说明 |
|---|
SharedBufferSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer) |
SharedBufferSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<DeweyNumber> versionSerializer) |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
SharedBuffer<V> |
copy(SharedBuffer<V> from) |
SharedBuffer<V> |
copy(SharedBuffer<V> from,
SharedBuffer<V> reuse) |
SharedBuffer<V> |
createInstance() |
SharedBuffer<V> |
deserialize(org.apache.flink.core.memory.DataInputView source) |
SharedBuffer<V> |
deserialize(SharedBuffer<V> reuse,
org.apache.flink.core.memory.DataInputView source) |
SharedBuffer.SharedBufferSerializer<K,V> |
duplicate() |
boolean |
equals(Object obj) |
org.apache.flink.api.common.typeutils.TypeSerializer<K> |
getKeySerializer() |
int |
getLength() |
org.apache.flink.api.common.typeutils.TypeSerializer<V> |
getValueSerializer() |
org.apache.flink.api.common.typeutils.TypeSerializer<DeweyNumber> |
getVersionSerializer() |
int |
hashCode() |
boolean |
isImmutableType() |
void |
serialize(SharedBuffer<V> record,
org.apache.flink.core.memory.DataOutputView target) |
SharedBuffer.SharedBufferSerializerSnapshot<K,V> |
snapshotConfiguration() |
public SharedBufferSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer)
public SharedBufferSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer, org.apache.flink.api.common.typeutils.TypeSerializer<V> valueSerializer, org.apache.flink.api.common.typeutils.TypeSerializer<DeweyNumber> versionSerializer)
public org.apache.flink.api.common.typeutils.TypeSerializer<DeweyNumber> getVersionSerializer()
public org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
public org.apache.flink.api.common.typeutils.TypeSerializer<V> getValueSerializer()
public boolean isImmutableType()
isImmutableType 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public SharedBuffer.SharedBufferSerializer<K,V> duplicate()
duplicate 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public SharedBuffer<V> createInstance()
createInstance 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public SharedBuffer<V> copy(SharedBuffer<V> from)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public SharedBuffer<V> copy(SharedBuffer<V> from, SharedBuffer<V> reuse)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public int getLength()
getLength 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public void serialize(SharedBuffer<V> record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>IOExceptionpublic SharedBuffer<V> deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>IOExceptionpublic SharedBuffer<V> deserialize(SharedBuffer<V> reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>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<SharedBuffer<V>>IOExceptionpublic boolean equals(Object obj)
equals 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public int hashCode()
hashCode 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>public SharedBuffer.SharedBufferSerializerSnapshot<K,V> snapshotConfiguration()
snapshotConfiguration 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<SharedBuffer<V>>Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.