public abstract class DdlQueryFetcher extends CassandraFetcher<Boolean>
authenticationService, authorizationService, DEFAULT_CONSISTENCY, DEFAULT_PAGE_SIZE, DEFAULT_PARAMETERS, DEFAULT_SERIAL_CONSISTENCY| Modifier | Constructor and Description |
|---|---|
protected |
DdlQueryFetcher(AuthenticationService authenticationService,
AuthorizationService authorizationService,
DataStoreFactory dataStoreFactory) |
| Modifier and Type | Method and Description |
|---|---|
protected abstract Query<?> |
buildQuery(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment,
QueryBuilder builder,
AuthenticationSubject authenticationSubject) |
protected Column |
decodeColumn(Map<String,Object> key,
Column.Kind kind) |
protected List<Column> |
decodeColumns(List<Map<String,Object>> columnList,
Column.Kind kind) |
protected Column.ColumnType |
decodeType(Object typeObject) |
protected Boolean |
get(graphql.schema.DataFetchingEnvironment environment,
DataStore dataStore,
AuthenticationSubject authenticationSubject) |
getprotected DdlQueryFetcher(AuthenticationService authenticationService, AuthorizationService authorizationService, DataStoreFactory dataStoreFactory)
protected Boolean get(graphql.schema.DataFetchingEnvironment environment, DataStore dataStore, AuthenticationSubject authenticationSubject) throws Exception
get in class CassandraFetcher<Boolean>Exceptionprotected abstract Query<?> buildQuery(graphql.schema.DataFetchingEnvironment dataFetchingEnvironment, QueryBuilder builder, AuthenticationSubject authenticationSubject) throws UnauthorizedException
UnauthorizedExceptionprotected Column.ColumnType decodeType(Object typeObject)
protected Column decodeColumn(Map<String,Object> key, Column.Kind kind)
Copyright © 2021. All rights reserved.