Context.VariablesParserOPERATION_NAME, QUERY, VARIABLES| Constructor and Description |
|---|
SmallRyeContext(javax.json.JsonObject jsonObject) |
SmallRyeContext(javax.json.JsonObject jsonObject,
graphql.schema.DataFetchingEnvironment dfe,
graphql.ExecutionInput executionInput,
QueryCache queryCache,
Field field) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetArgumentOrDefault, getOperationName, getQuery, getSelectedFields, getVariables, hasOperationName, hasSource, hasVariablespublic SmallRyeContext(javax.json.JsonObject jsonObject)
public SmallRyeContext(javax.json.JsonObject jsonObject,
graphql.schema.DataFetchingEnvironment dfe,
graphql.ExecutionInput executionInput,
QueryCache queryCache,
Field field)
public static void register(javax.json.JsonObject jsonInput)
public static void setSchema(Schema schema)
public static SmallRyeContext getContext()
public static void setContext(SmallRyeContext context)
public SmallRyeContext withDataFromExecution(graphql.ExecutionInput executionInput)
public SmallRyeContext withDataFromExecution(graphql.ExecutionInput executionInput, QueryCache queryCache)
public SmallRyeContext withDataFromFetcher(graphql.schema.DataFetchingEnvironment dfe, Field field)
public static void remove()
public javax.json.JsonObject getRequest()
getRequest in interface Contextpublic Boolean hasArgument(String name)
hasArgument in interface Contextpublic <T> T getArgument(String name)
getArgument in interface Contextpublic Map<String,Object> getArguments()
getArguments in interface Contextpublic String getExecutionId()
getExecutionId in interface Contextpublic String getFieldName()
getFieldName in interface Contextpublic javax.json.JsonArray getSelectedFields(boolean includeSourceFields)
getSelectedFields in interface Contextpublic String getOperationType()
getOperationType in interface Contextpublic List<String> getRequestedOperationTypes()
getRequestedOperationTypes in interface Contextpublic Optional<String> getParentTypeName()
getParentTypeName in interface ContextCopyright © 2018–2021. All rights reserved.