public abstract class CassandraFetcher<ResultT> extends Object implements graphql.schema.DataFetcher<ResultT>
| Modifier and Type | Field and Description |
|---|---|
protected AuthenticationService |
authenticationService |
static ConsistencyLevel |
DEFAULT_CONSISTENCY |
static int |
DEFAULT_PAGE_SIZE |
static Parameters |
DEFAULT_PARAMETERS |
static ConsistencyLevel |
DEFAULT_SERIAL_CONSISTENCY |
protected Persistence |
persistence |
| Constructor and Description |
|---|
CassandraFetcher(Persistence persistence,
AuthenticationService authenticationService) |
| Modifier and Type | Method and Description |
|---|---|
ResultT |
get(graphql.schema.DataFetchingEnvironment environment) |
protected abstract ResultT |
get(graphql.schema.DataFetchingEnvironment environment,
DataStore dataStore) |
protected final Persistence persistence
protected final AuthenticationService authenticationService
public static final ConsistencyLevel DEFAULT_CONSISTENCY
public static final ConsistencyLevel DEFAULT_SERIAL_CONSISTENCY
public static final int DEFAULT_PAGE_SIZE
public static final Parameters DEFAULT_PARAMETERS
public CassandraFetcher(Persistence persistence, AuthenticationService authenticationService)
Copyright © 2020. All rights reserved.