Package graphql.analysis
Class QueryComplexityCalculator.Builder
- java.lang.Object
-
- graphql.analysis.QueryComplexityCalculator.Builder
-
- Enclosing class:
- QueryComplexityCalculator
public static class QueryComplexityCalculator.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QueryComplexityCalculator
build()
QueryComplexityCalculator.Builder
document(Document document)
QueryComplexityCalculator.Builder
fieldComplexityCalculator(FieldComplexityCalculator complexityCalculator)
QueryComplexityCalculator.Builder
operationName(java.lang.String operationName)
QueryComplexityCalculator.Builder
schema(GraphQLSchema graphQLSchema)
QueryComplexityCalculator.Builder
variables(CoercedVariables variables)
-
-
-
Method Detail
-
schema
public QueryComplexityCalculator.Builder schema(GraphQLSchema graphQLSchema)
-
fieldComplexityCalculator
public QueryComplexityCalculator.Builder fieldComplexityCalculator(FieldComplexityCalculator complexityCalculator)
-
document
public QueryComplexityCalculator.Builder document(Document document)
-
operationName
public QueryComplexityCalculator.Builder operationName(java.lang.String operationName)
-
variables
public QueryComplexityCalculator.Builder variables(CoercedVariables variables)
-
build
public QueryComplexityCalculator build()
-
-