Package graphql.analysis
Class QueryTraversalContext
java.lang.Object
graphql.analysis.QueryTraversalContext
QueryTraverser helper class that maintains traversal context as
the query traversal algorithm traverses down the Selection AST
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final QueryVisitorFieldEnvironment
private final GraphQLContext
private final GraphQLOutputType
private final SelectionSetContainer
<?> -
Constructor Summary
ConstructorsConstructorDescriptionQueryTraversalContext
(GraphQLOutputType outputType, QueryVisitorFieldEnvironment environment, SelectionSetContainer<?> selectionSetContainer, GraphQLContext graphQLContext) -
Method Summary
Modifier and TypeMethodDescription
-
Field Details
-
outputType
-
environment
-
selectionSetContainer
-
graphQLContext
-
-
Constructor Details
-
QueryTraversalContext
QueryTraversalContext(GraphQLOutputType outputType, QueryVisitorFieldEnvironment environment, SelectionSetContainer<?> selectionSetContainer, GraphQLContext graphQLContext)
-
-
Method Details
-
getOutputType
-
getUnwrappedOutputType
-
getEnvironment
-
getSelectionSetContainer
-
getGraphQLContext
-