public abstract class GraphMutators extends Object
Abstract class containing utilities for graph mutations
This utility class is used to help with background tasks which need to mutate a graph
| Constructor and Description |
|---|
GraphMutators() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runBatchMutationWithRetry(EngineGraknGraphFactory factory,
String keyspace,
int maxRetry,
java.util.function.Consumer<GraknGraph> mutatingFunction) |
public static void runBatchMutationWithRetry(EngineGraknGraphFactory factory, String keyspace, int maxRetry, java.util.function.Consumer<GraknGraph> mutatingFunction)
keyspace - keyspace of the graph to mutatemutatingFunction - Function that accepts a graph object and will mutate the given graphCopyright © 2017 Grakn Labs Ltd. All rights reserved.