Class AbstractKeyedState<K,​N,​V>

    • Constructor Detail

      • AbstractKeyedState

        public AbstractKeyedState​(StateRequestHandler stateRequestHandler,
                                  org.apache.flink.api.common.state.v2.StateDescriptor<V> stateDescriptor)
        Creates a new AbstractKeyedState with the given asyncExecutionController and stateDescriptor.
    • Method Detail

      • handleRequest

        protected final <IN,​OUT> org.apache.flink.api.common.state.v2.StateFuture<OUT> handleRequest​(StateRequestType stateRequestType,
                                                                                                           IN payload)
        Submit a state request to AEC.
        Parameters:
        stateRequestType - the type of this request.
        payload - the payload input for this request.
        Returns:
        the state future.
      • handleRequestSync

        protected final <IN,​OUT> OUT handleRequestSync​(StateRequestType stateRequestType,
                                                             IN payload)
      • asyncClear

        public final org.apache.flink.api.common.state.v2.StateFuture<Void> asyncClear()
        Specified by:
        asyncClear in interface org.apache.flink.api.common.state.v2.State
      • clear

        public final void clear()
        Specified by:
        clear in interface org.apache.flink.api.common.state.v2.State
      • getStateDescriptor

        public org.apache.flink.api.common.state.v2.StateDescriptor<V> getStateDescriptor()
        Return specific StateDescriptor.
      • getValueSerializer

        public org.apache.flink.api.common.typeutils.TypeSerializer<V> getValueSerializer()
        Return related value serializer.