public abstract class GraknTxMutators 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 |
|---|
GraknTxMutators() |
| Modifier and Type | Method and Description |
|---|---|
static void |
runBatchMutationWithRetry(EngineGraknTxFactory factory,
ai.grakn.Keyspace keyspace,
int maxRetry,
java.util.function.Consumer<ai.grakn.GraknTx> mutatingFunction) |
public static void runBatchMutationWithRetry(EngineGraknTxFactory factory, ai.grakn.Keyspace keyspace, int maxRetry, java.util.function.Consumer<ai.grakn.GraknTx> mutatingFunction)
keyspace - Keyspace of the database to mutatemutatingFunction - Function that accepts a graph object and will mutate the given graphCopyright © 2017 Grakn Labs Ltd. All rights reserved.