| Modifier and Type | Method and Description |
|---|---|
void |
Loader.add(InsertQuery query)
Add an insert query to the queue
|
| Modifier and Type | Method and Description |
|---|---|
void |
Loader.sendQueriesToLoader(Collection<InsertQuery> batch)
Method to load data into the graph.
|
| Modifier and Type | Method and Description |
|---|---|
static InsertQuery |
Graql.insert(Collection<? extends Var> vars) |
InsertQuery |
QueryBuilder.insert(Collection<? extends Var> vars) |
InsertQuery |
MatchQuery.insert(Collection<? extends Var> vars) |
static InsertQuery |
Graql.insert(Var... vars) |
InsertQuery |
QueryBuilder.insert(Var... vars) |
InsertQuery |
MatchQuery.insert(Var... vars) |
InsertQuery |
InsertQuery.withGraph(GraknGraph graph) |
| Modifier and Type | Interface and Description |
|---|---|
interface |
InsertQueryAdmin
Admin class for inspecting and manipulating an InsertQuery
|
| Modifier and Type | Method and Description |
|---|---|
InsertQuery |
QueryBuilderImpl.insert(Collection<? extends Var> vars) |
InsertQuery |
QueryBuilderImpl.insert(Var... vars) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<InsertQuery> |
Migrator.migrate()
Migrate all the data in the given file based on the given template.
|
protected Optional<InsertQuery> |
AbstractMigrator.template(String template,
Map<String,Object> data) |
| Modifier and Type | Method and Description |
|---|---|
static void |
MigrationCLI.writeToSout(java.util.stream.Stream<InsertQuery> queries) |
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<InsertQuery> |
CSVMigrator.migrate()
Each String in the stream is a CSV file
|
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<InsertQuery> |
JsonMigrator.migrate()
Migrate each of the given json objects as an insert query
|
| Modifier and Type | Method and Description |
|---|---|
java.util.stream.Stream<InsertQuery> |
SQLMigrator.migrate()
Migrate the results of the SQL statement with the provided template
|
Copyright © 2017 Grakn Labs Ltd. All rights reserved.