R
- The reader type.public abstract class AbstractSubgraphReader<R extends AbstractSubgraphReader<R>>
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
PgxGraph |
load()
Blocking version of
loadAsync() . |
PgxGraph |
load(java.lang.String graphName)
Blocking version of
loadAsync(String) . |
PgxFuture<PgxGraph> |
loadAsync()
Load the subgraph.
|
abstract PgxFuture<PgxGraph> |
loadAsync(java.lang.String graphName)
Load the subgraph.
|
public PgxGraph load() throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
loadAsync()
. Starts the reading operation and awaits its completion.java.lang.InterruptedException
- When the asynchronous operation is interrupted.java.util.concurrent.ExecutionException
- When the operation failed.public PgxGraph load(java.lang.String graphName) throws java.util.concurrent.ExecutionException, java.lang.InterruptedException
loadAsync(String)
. Starts the reading operation and awaits its completion.graphName
- the graph namejava.lang.InterruptedException
- When the asynchronous operation is interrupted.java.util.concurrent.ExecutionException
- When the operation failed.