public static class HttpAwareContext.BatchContext extends Object
| Constructor and Description |
|---|
BatchContext() |
| Modifier and Type | Method and Description |
|---|---|
int |
add(BoundQuery query) |
int |
add(List<BoundQuery> newQueries) |
Optional<DataStore> |
getDataStore() |
CompletableFuture<ResultSet> |
getExecutionFuture() |
List<BoundQuery> |
getQueries() |
boolean |
setDataStore(DataStore dataStore)
Sets the data store and returns whether it was already set
|
void |
setExecutionResult(CompletableFuture<ResultSet> result) |
void |
setExecutionResult(Exception ex) |
public CompletableFuture<ResultSet> 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 setDataStore(DataStore dataStore)
Copyright © 2021. All rights reserved.