public abstract class BulkMutationFetcher extends DmlFetcher<CompletableFuture<List<Map<String,Object>>>>
nameMapping, tableauthorizationService, dataStoreFactory, DEFAULT_CONSISTENCY, DEFAULT_PAGE_SIZE, DEFAULT_PARAMETERS, DEFAULT_SERIAL_CONSISTENCY| Modifier | Constructor and Description |
|---|---|
protected |
BulkMutationFetcher(Table table,
NameMapping nameMapping,
AuthorizationService authorizationService,
DataStoreFactory dataStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract List<BoundQuery> |
buildQueries(graphql.schema.DataFetchingEnvironment environment,
DataStore dataStore,
AuthenticationSubject authenticationSubject) |
static <T> CompletableFuture<List<T>> |
convert(List<CompletableFuture<T>> futures) |
protected CompletableFuture<List<Map<String,Object>>> |
get(graphql.schema.DataFetchingEnvironment environment,
DataStore dataStore,
AuthenticationSubject authenticationSubject) |
buildClause, buildConditions, getColumn, getDatastoreParameters, getDBColumnName, toDBValue, toListOfMutationResults, toMutationResultgetprotected BulkMutationFetcher(Table table, NameMapping nameMapping, AuthorizationService authorizationService, DataStoreFactory dataStoreFactory)
protected CompletableFuture<List<Map<String,Object>>> get(graphql.schema.DataFetchingEnvironment environment, DataStore dataStore, AuthenticationSubject authenticationSubject)
get in class CassandraFetcher<CompletableFuture<List<Map<String,Object>>>>public static <T> CompletableFuture<List<T>> convert(List<CompletableFuture<T>> futures)
protected abstract List<BoundQuery> buildQueries(graphql.schema.DataFetchingEnvironment environment, DataStore dataStore, AuthenticationSubject authenticationSubject) throws Exception
ExceptionCopyright © 2021. All rights reserved.