@VisibleForTesting @Internal public static final class TwoPhaseCommitSinkFunction.StateSerializer<TXN,CONTEXT> extends org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>
TypeSerializer for the sink state.| 构造器和说明 |
|---|
StateSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<TXN> transactionSerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<CONTEXT> contextSerializer) |
StateSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<TXN> transactionSerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<CONTEXT> contextSerializer,
boolean supportNullPendingTransaction) |
public StateSerializer(org.apache.flink.api.common.typeutils.TypeSerializer<TXN> transactionSerializer, org.apache.flink.api.common.typeutils.TypeSerializer<CONTEXT> contextSerializer)
public boolean isImmutableType()
isImmutableType 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>> duplicate()
duplicate 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> createInstance()
createInstance 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> copy(TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> from)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> copy(TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> from, TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> reuse)
copy 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public int getLength()
getLength 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public void serialize(TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> record, org.apache.flink.core.memory.DataOutputView target) throws IOException
serialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>IOExceptionpublic TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> deserialize(org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>IOExceptionpublic TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> deserialize(TwoPhaseCommitSinkFunction.State<TXN,CONTEXT> reuse, org.apache.flink.core.memory.DataInputView source) throws IOException
deserialize 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>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<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>IOExceptionpublic boolean equals(Object o)
equals 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public int hashCode()
hashCode 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>public TwoPhaseCommitSinkFunction.StateSerializerSnapshot<TXN,CONTEXT> snapshotConfiguration()
snapshotConfiguration 在类中 org.apache.flink.api.common.typeutils.TypeSerializer<TwoPhaseCommitSinkFunction.State<TXN,CONTEXT>>Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.