public abstract class DmlFetcher<ResultT> extends CassandraFetcher<ResultT>
| Modifier and Type | Field and Description |
|---|---|
protected NameMapping |
nameMapping |
protected Table |
table |
authorizationService, dataStoreFactory, DEFAULT_CONSISTENCY, DEFAULT_PAGE_SIZE, DEFAULT_PARAMETERS, DEFAULT_SERIAL_CONSISTENCY| Modifier | Constructor and Description |
|---|---|
protected |
DmlFetcher(Table table,
NameMapping nameMapping,
AuthorizationService authorizationService,
DataStoreFactory dataStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected List<BuiltCondition> |
buildClause(Table table,
graphql.schema.DataFetchingEnvironment environment) |
protected List<BuiltCondition> |
buildConditions(Table table,
Map<String,Map<String,Object>> columnList) |
protected Column |
getColumn(Table table,
String fieldName) |
protected Parameters |
getDatastoreParameters(graphql.schema.DataFetchingEnvironment environment) |
protected String |
getDBColumnName(Table table,
String fieldName) |
protected Object |
toDBValue(Column column,
Object value) |
protected List<Map<String,Object>> |
toListOfMutationResults(ResultSet resultSet,
List<Map<String,Object>> originalValues) |
protected Map<String,Object> |
toMutationResult(ResultSet resultSet,
Object originalValue) |
get, getprotected final Table table
protected final NameMapping nameMapping
protected DmlFetcher(Table table, NameMapping nameMapping, AuthorizationService authorizationService, DataStoreFactory dataStoreFactory)
protected Parameters getDatastoreParameters(graphql.schema.DataFetchingEnvironment environment)
getDatastoreParameters in class CassandraFetcher<ResultT>protected List<BuiltCondition> buildConditions(Table table, Map<String,Map<String,Object>> columnList)
protected List<BuiltCondition> buildClause(Table table, graphql.schema.DataFetchingEnvironment environment)
protected List<Map<String,Object>> toListOfMutationResults(ResultSet resultSet, List<Map<String,Object>> originalValues)
protected Map<String,Object> toMutationResult(ResultSet resultSet, Object originalValue)
Copyright © 2021. All rights reserved.