Package graphql.analysis
package graphql.analysis
-
ClassDescriptionUsed to calculate the complexity of a field.Prevents execution if the query complexity is greater than the specified maxComplexity.Prevents execution if the query depth is greater than the specified maxDepth.Internally used node visitor which delegates to a
QueryVisitor
with type information about the visited field.This can calculate the complexity of an operation using the specifiedFieldComplexityCalculator
you pass into it.The query complexity info.The query depth info.QueryReducer<T>Used byQueryTraverser
to reduce the fields of a Document (or part of it) to a single value.Helps to transform a Document (or parts of it) and tracks at the same time the corresponding Schema types.QueryTraverser helper class that maintains traversal context as the query traversal algorithm traverses down the Selection ASTHelps to traverse (or reduce) a Document (or parts of it) and tracks at the same time the corresponding Schema types.Used byQueryTraverser
to visit the nodes of a Query.This describes the tree structure that forms from a argument input type, especially with `input ComplexType { ....}` types that might in turn contain other complex types and hence form a tree of values.