Package oracle.pgx.api
Class DefaultFutureProgress
- java.lang.Object
-
- oracle.pgx.api.FutureProgress
-
- oracle.pgx.api.DefaultFutureProgress
-
public class DefaultFutureProgress extends FutureProgress
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultFutureProgress.State
-
Nested classes/interfaces inherited from class oracle.pgx.api.FutureProgress
FutureProgress.FutureProgressType
-
-
Field Summary
-
Fields inherited from class oracle.pgx.api.FutureProgress
TYPE_ID_PROPERTY
-
-
Constructor Summary
Constructors Constructor Description DefaultFutureProgress(oracle.pgx.common.Progress progress)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Optional<GraphLoadingProgress>
asGraphLoadingProgress()
In case of graph loading future, return stats about graph loading progressjava.lang.String
getProgress()
-
Methods inherited from class oracle.pgx.api.FutureProgress
asAlgorithmExecutionProgress, getFutureProgressType, getState
-
-
-
-
Method Detail
-
getProgress
public java.lang.String getProgress()
-
asGraphLoadingProgress
public java.util.Optional<GraphLoadingProgress> asGraphLoadingProgress()
Description copied from class:FutureProgress
In case of graph loading future, return stats about graph loading progress- Specified by:
asGraphLoadingProgress
in classFutureProgress
- Returns:
- empty if the PgxFuture is not a graph loading future.
-
-