Class FutureProgress

    • Field Detail

      • TYPE_ID_PROPERTY

        public static final java.lang.String TYPE_ID_PROPERTY
        See Also:
        Constant Field Values
    • Method Detail

      • asGraphLoadingProgress

        public abstract java.util.Optional<GraphLoadingProgress> asGraphLoadingProgress()
        In case of graph loading future, return stats about graph loading progress
        Returns:
        empty if the PgxFuture is not a graph loading future.
      • asAlgorithmExecutionProgress

        public java.util.Optional<AlgorithmProgress> asAlgorithmExecutionProgress()
        In case of algorithm execution future, return AlgorithmProgress
        Returns:
        empty if the PgxFuture is not an algorithm execution future.
        Since:
        24.2
      • getState

        @Nonnull
        public final oracle.pgx.common.Progress getState()
        Returns:
        The current state of the PgxFuture, whether it's pending, in progress, done, ...
        Since:
        23.4