public class JsonMigrator extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
BATCH_SIZE |
| Constructor and Description |
|---|
JsonMigrator(Loader loader)
Create a JsonMigrator to migrate into the given graph
|
| Modifier and Type | Method and Description |
|---|---|
void |
graql(String template,
File file) |
void |
migrate(String template,
File jsonFileOrDir) |
JsonMigrator |
setBatchSize(int batchSize)
Set number of files/objects to migrate in one batch
|
public static final int BATCH_SIZE
public JsonMigrator(Loader loader)
public JsonMigrator setBatchSize(int batchSize)
batchSize - number of objects to migrate at onceCopyright © 2016. All rights reserved.