Class Savepoint

    • Method Detail

      • load

        public static ExistingSavepoint load​(org.apache.flink.api.java.ExecutionEnvironment env,
                                             String path)
                                      throws IOException
        Deprecated.
        Loads an existing savepoint. Useful if you want to query, modify, or extend the state of an existing application. The savepoint will be read using the state backend defined via the clusters configuration.
        Parameters:
        env - The execution environment used to transform the savepoint.
        path - The path to an existing savepoint on disk.
        Throws:
        IOException
        See Also:
        load(ExecutionEnvironment, String, StateBackend)
      • load

        public static ExistingSavepoint load​(org.apache.flink.api.java.ExecutionEnvironment env,
                                             String path,
                                             org.apache.flink.runtime.state.StateBackend stateBackend)
                                      throws IOException
        Deprecated.
        Loads an existing savepoint. Useful if you want to query, modify, or extend the state of an existing application.
        Parameters:
        env - The execution environment used to transform the savepoint.
        path - The path to an existing savepoint on disk.
        stateBackend - The state backend of the savepoint.
        Throws:
        IOException
        See Also:
        load(ExecutionEnvironment, String)
      • create

        public static NewSavepoint create​(int maxParallelism)
        Deprecated.
        Creates a new savepoint. The savepoint will be read using the state backend defined via the clusters configuration.
        Parameters:
        maxParallelism - The max parallelism of the savepoint.
        Returns:
        A new savepoint.
        See Also:
        create(StateBackend, int)
      • create

        public static NewSavepoint create​(org.apache.flink.runtime.state.StateBackend stateBackend,
                                          int maxParallelism)
        Deprecated.
        Creates a new savepoint.
        Parameters:
        stateBackend - The state backend of the savepoint used for keyed state.
        maxParallelism - The max parallelism of the savepoint.
        Returns:
        A new savepoint.
        See Also:
        create(int)