public class StargateGraphqlContext extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
StargateGraphqlContext.BatchContext
Encapsulates logic to add multiple queries contained in the same operation that need to be
executed in a batch.
|
| Constructor and Description |
|---|
StargateGraphqlContext(javax.servlet.http.HttpServletRequest httpRequest,
StargateBridgeClient bridge,
GraphqlCache graphqlCache) |
| Modifier and Type | Method and Description |
|---|---|
StargateGraphqlContext.BatchContext |
getBatchContext() |
StargateBridgeClient |
getBridge() |
GraphqlCache |
getGraphqlCache() |
boolean |
isOverloaded() |
void |
setOverloaded()
Records the fact that at least one CQL query in the current execution failed with an OVERLOADED
error.
|
public StargateGraphqlContext(javax.servlet.http.HttpServletRequest httpRequest,
StargateBridgeClient bridge,
GraphqlCache graphqlCache)
public StargateBridgeClient getBridge()
public GraphqlCache getGraphqlCache()
public StargateGraphqlContext.BatchContext getBatchContext()
public void setOverloaded()
public boolean isOverloaded()
Copyright © 2022. All rights reserved.