public class BatchExecutorClient extends Object implements Closeable
| Modifier and Type | Class and Description |
|---|---|
static class |
BatchExecutorClient.Builder
Builder
|
| Modifier and Type | Method and Description |
|---|---|
rx.Observable<QueryResponse> |
add(Query<?> query,
ai.grakn.Keyspace keyspace)
Will block until there is space for the query to be submitted
|
rx.Observable<QueryResponse> |
add(Query<?> query,
ai.grakn.Keyspace keyspace,
boolean keepErrors)
Will block until there is space for the query to be submitted
|
void |
close()
Will block until all submitted queries have executed
|
static BatchExecutorClient.Builder |
newBuilder() |
static BatchExecutorClient.Builder |
newBuilderforURI(ai.grakn.util.SimpleURI simpleURI) |
public rx.Observable<QueryResponse> add(Query<?> query, ai.grakn.Keyspace keyspace)
public rx.Observable<QueryResponse> add(Query<?> query, ai.grakn.Keyspace keyspace, boolean keepErrors)
public void close()
close in interface Closeableclose in interface AutoCloseablepublic static BatchExecutorClient.Builder newBuilder()
public static BatchExecutorClient.Builder newBuilderforURI(ai.grakn.util.SimpleURI simpleURI)
Copyright © 2017 Grakn Labs Ltd. All rights reserved.