public class PgxGraphFromFramesCreator
extends java.lang.Object
Constructor and Description |
---|
PgxGraphFromFramesCreator(SessionContext sessionContext, oracle.pgx.api.internal.Core core, java.lang.String graphName, java.util.function.Function<oracle.pgx.api.internal.Graph,PgxGraph> graphConstructor) |
Modifier and Type | Method and Description |
---|---|
PgxGraph |
create() |
PgxFuture<PgxGraph> |
createAsync() |
PgxEdgeProviderFromFramesCreator |
edgeProvider(java.lang.String providerName, java.lang.String sourceVertexProvider, java.lang.String destinationVertexProvider, PgxFrame frame)
Add a new edge provider to the graph creator
|
void |
partitioned(boolean partitioned) |
PgxVertexProviderFromFramesCreator |
vertexProvider(java.lang.String providerName, PgxFrame frame)
Add a new vertex provider to the graph creator
|
public PgxGraphFromFramesCreator(SessionContext sessionContext, oracle.pgx.api.internal.Core core, java.lang.String graphName, java.util.function.Function<oracle.pgx.api.internal.Graph,PgxGraph> graphConstructor)
public PgxGraph create() throws java.lang.InterruptedException, java.util.concurrent.ExecutionException
java.lang.InterruptedException
java.util.concurrent.ExecutionException
public PgxEdgeProviderFromFramesCreator edgeProvider(java.lang.String providerName, java.lang.String sourceVertexProvider, java.lang.String destinationVertexProvider, PgxFrame frame)
providerName
- the name of the providersourceVertexProvider
- the name of the source provider to usedestinationVertexProvider
- the name of the destination provider to useframe
- the frame to usepublic void partitioned(boolean partitioned)
public PgxVertexProviderFromFramesCreator vertexProvider(java.lang.String providerName, PgxFrame frame)
providerName
- the name of the providerframe
- the frame to use