public static class StargateGraphqlContext.BatchContext extends Object
| Constructor and Description |
|---|
BatchContext() |
| Modifier and Type | Method and Description |
|---|---|
int |
add(BoundQuery query) |
int |
add(List<BoundQuery> newQueries) |
CompletableFuture<List<Row>> |
getExecutionFuture() |
Parameters |
getParameters() |
List<BoundQuery> |
getQueries() |
void |
setExecutionResult(CompletableFuture<ResultSet> result) |
void |
setExecutionResult(Exception ex) |
boolean |
setParameters(Parameters newParameters)
Sets the parameters to use for the batch.
|
public CompletableFuture<List<Row>> getExecutionFuture()
public List<BoundQuery> getQueries()
public void setExecutionResult(CompletableFuture<ResultSet> result)
public void setExecutionResult(Exception ex)
public int add(BoundQuery query)
public int add(List<BoundQuery> newQueries)
public boolean setParameters(Parameters newParameters)
public Parameters getParameters()
Copyright © 2024. All rights reserved.