K - The type of key the state is associated toN - The type of the namespace the state is associated toV - The type of values kept internally in statepublic class KvStateInfo<K,N,V> extends Object
InternalKvState. This includes the serializers for the key, the
namespace, and the values kept in the state.| 构造器和说明 |
|---|
KvStateInfo(org.apache.flink.api.common.typeutils.TypeSerializer<K> keySerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<N> namespaceSerializer,
org.apache.flink.api.common.typeutils.TypeSerializer<V> stateValueSerializer) |
| 限定符和类型 | 方法和说明 |
|---|---|
KvStateInfo<K,N,V> |
duplicate()
Creates a deep copy of the current
KvStateInfo by duplicating all the included
serializers. |
boolean |
equals(Object o) |
org.apache.flink.api.common.typeutils.TypeSerializer<K> |
getKeySerializer() |
org.apache.flink.api.common.typeutils.TypeSerializer<N> |
getNamespaceSerializer() |
org.apache.flink.api.common.typeutils.TypeSerializer<V> |
getStateValueSerializer() |
int |
hashCode() |
public org.apache.flink.api.common.typeutils.TypeSerializer<K> getKeySerializer()
public org.apache.flink.api.common.typeutils.TypeSerializer<N> getNamespaceSerializer()
public org.apache.flink.api.common.typeutils.TypeSerializer<V> getStateValueSerializer()
public KvStateInfo<K,N,V> duplicate()
KvStateInfo by duplicating all the included
serializers.
This method assumes correct implementation of the TypeSerializer.duplicate()
method of the included serializers.
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.