T
- the record type.public class CacheElementSerializer<T> extends org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
CacheElement
.Constructor and Description |
---|
CacheElementSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> recordSerializer) |
Modifier and Type | Method and Description |
---|---|
CacheElement<T> |
copy(CacheElement<T> from) |
CacheElement<T> |
copy(CacheElement<T> from,
CacheElement<T> reuse) |
void |
copy(org.apache.flink.core.memory.DataInputView source,
org.apache.flink.core.memory.DataOutputView target) |
CacheElement<T> |
createInstance() |
CacheElement<T> |
deserialize(CacheElement<T> reuse,
org.apache.flink.core.memory.DataInputView source) |
CacheElement<T> |
deserialize(org.apache.flink.core.memory.DataInputView source) |
org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>> |
duplicate() |
boolean |
equals(Object obj) |
int |
getLength() |
int |
hashCode() |
boolean |
isImmutableType() |
void |
serialize(CacheElement<T> record,
org.apache.flink.core.memory.DataOutputView target) |
org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<CacheElement<T>> |
snapshotConfiguration() |
public CacheElementSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<T> recordSerializer)
public boolean isImmutableType()
isImmutableType
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>> duplicate()
duplicate
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public CacheElement<T> createInstance()
createInstance
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public CacheElement<T> copy(CacheElement<T> from)
copy
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public CacheElement<T> copy(CacheElement<T> from, CacheElement<T> reuse)
copy
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public int getLength()
getLength
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public void serialize(CacheElement<T> record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
IOException
public CacheElement<T> deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
IOException
public CacheElement<T> deserialize(CacheElement<T> reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
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<CacheElement<T>>
IOException
public boolean equals(Object obj)
equals
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public int hashCode()
hashCode
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
public org.apache.flink.api.common.typeutils.TypeSerializerSnapshot<CacheElement<T>> snapshotConfiguration()
snapshotConfiguration
in class org.apache.flink.api.common.typeutils.TypeSerializer<CacheElement<T>>
Copyright © 2019–2023 The Apache Software Foundation. All rights reserved.