Class DefaultOperatorStateBackend

    • Field Detail

      • DEFAULT_OPERATOR_STATE_NAME

        public static final String DEFAULT_OPERATOR_STATE_NAME
        The default namespace for state in cases where no state name is provided
        See Also:
        Constant Field Values
    • Method Detail

      • getExecutionConfig

        public org.apache.flink.api.common.ExecutionConfig getExecutionConfig()
      • getRegisteredStateNames

        public Set<String> getRegisteredStateNames()
        Specified by:
        getRegisteredStateNames in interface org.apache.flink.api.common.state.OperatorStateStore
      • getRegisteredBroadcastStateNames

        public Set<String> getRegisteredBroadcastStateNames()
        Specified by:
        getRegisteredBroadcastStateNames in interface org.apache.flink.api.common.state.OperatorStateStore
      • dispose

        public void dispose()
        Specified by:
        dispose in interface org.apache.flink.util.Disposable
        Specified by:
        dispose in interface OperatorStateBackend
      • getBroadcastState

        public <K,​V> org.apache.flink.api.common.state.BroadcastState<K,​V> getBroadcastState​(org.apache.flink.api.common.state.MapStateDescriptor<K,​V> stateDescriptor)
                                                                                                  throws org.apache.flink.util.StateMigrationException
        Specified by:
        getBroadcastState in interface org.apache.flink.api.common.state.OperatorStateStore
        Throws:
        org.apache.flink.util.StateMigrationException
      • getListState

        public <S> org.apache.flink.api.common.state.ListState<S> getListState​(org.apache.flink.api.common.state.ListStateDescriptor<S> stateDescriptor)
                                                                        throws Exception
        Specified by:
        getListState in interface org.apache.flink.api.common.state.OperatorStateStore
        Throws:
        Exception
      • getUnionListState

        public <S> org.apache.flink.api.common.state.ListState<S> getUnionListState​(org.apache.flink.api.common.state.ListStateDescriptor<S> stateDescriptor)
                                                                             throws Exception
        Specified by:
        getUnionListState in interface org.apache.flink.api.common.state.OperatorStateStore
        Throws:
        Exception
      • getBroadcastState

        public <K,​V> org.apache.flink.api.common.state.BroadcastState<K,​V> getBroadcastState​(org.apache.flink.api.common.state.v2.MapStateDescriptor<K,​V> stateDescriptor)
                                                                                                  throws Exception
        Specified by:
        getBroadcastState in interface org.apache.flink.api.common.state.OperatorStateStore
        Throws:
        Exception
      • getListState

        public <S> org.apache.flink.api.common.state.v2.ListState<S> getListState​(org.apache.flink.api.common.state.v2.ListStateDescriptor<S> stateDescriptor)
                                                                           throws Exception
        Specified by:
        getListState in interface org.apache.flink.api.common.state.OperatorStateStore
        Throws:
        Exception
      • getUnionListState

        public <S> org.apache.flink.api.common.state.v2.ListState<S> getUnionListState​(org.apache.flink.api.common.state.v2.ListStateDescriptor<S> stateDescriptor)
                                                                                throws Exception
        Specified by:
        getUnionListState in interface org.apache.flink.api.common.state.OperatorStateStore
        Throws:
        Exception