Uses of Class
graphql.schema.GraphQLSchema
Packages that use GraphQLSchema
Package
Description
-
Uses of GraphQLSchema in graphql
Fields in graphql declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate GraphQLSchema
GraphQL.Builder.graphQLSchema
private final GraphQLSchema
GraphQL.graphQLSchema
private final GraphQLSchema
TypeResolutionEnvironment.schema
Methods in graphql that return GraphQLSchemaModifier and TypeMethodDescriptionGraphQL.getGraphQLSchema()
TypeResolutionEnvironment.getSchema()
Methods in graphql with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate CompletableFuture
<ExecutionResult> GraphQL.execute
(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) static GraphQL.Builder
GraphQL.newGraphQL
(GraphQLSchema graphQLSchema) Helps you build a GraphQL object ready to execute queriesprivate ParseAndValidateResult
GraphQL.parse
(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) private PreparsedDocumentEntry
GraphQL.parseAndValidate
(AtomicReference<ExecutionInput> executionInputRef, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) static ParseAndValidateResult
ParseAndValidate.parseAndValidate
(@NotNull GraphQLSchema graphQLSchema, @NotNull ExecutionInput executionInput) This can be called to parse and validate a graphql query against a schema, which is useful if you want to know if it would be acceptable for execution.private CompletableFuture
<ExecutionResult> GraphQL.parseValidateAndExecute
(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) GraphQL.Builder.schema
(GraphQLSchema graphQLSchema) private List
<ValidationError> GraphQL.validate
(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) static List
<ValidationError> ParseAndValidate.validate
(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument) This can be called to validate a parsed graphql query, with the JVM default locale.static List
<ValidationError> ParseAndValidate.validate
(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull Locale locale) This can be called to validate a parsed graphql query.static List
<ValidationError> ParseAndValidate.validate
(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull Predicate<Class<?>> rulePredicate) This can be called to validate a parsed graphql query, with the JVM default locale.static List
<ValidationError> ParseAndValidate.validate
(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull Predicate<Class<?>> rulePredicate, @NotNull Locale locale) This can be called to validate a parsed graphql query.Constructors in graphql with parameters of type GraphQLSchema -
Uses of GraphQLSchema in graphql.analysis
Fields in graphql.analysis declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate final GraphQLSchema
NodeVisitorWithTypeTracking.schema
private GraphQLSchema
QueryComplexityCalculator.Builder.schema
private final GraphQLSchema
QueryComplexityCalculator.schema
private GraphQLSchema
QueryTransformer.Builder.schema
private final GraphQLSchema
QueryTransformer.schema
private GraphQLSchema
QueryTraverser.Builder.schema
private final GraphQLSchema
QueryTraverser.schema
private final GraphQLSchema
QueryVisitorFieldArgumentEnvironmentImpl.schema
private final GraphQLSchema
QueryVisitorFieldArgumentValueEnvironmentImpl.schema
private final GraphQLSchema
QueryVisitorFieldEnvironmentImpl.schema
private final GraphQLSchema
QueryVisitorFragmentDefinitionEnvironmentImpl.schema
private final GraphQLSchema
QueryVisitorFragmentSpreadEnvironmentImpl.schema
private final GraphQLSchema
QueryVisitorInlineFragmentEnvironmentImpl.schema
Methods in graphql.analysis that return GraphQLSchemaModifier and TypeMethodDescriptionQueryVisitorFieldArgumentEnvironment.getSchema()
QueryVisitorFieldArgumentEnvironmentImpl.getSchema()
QueryVisitorFieldArgumentValueEnvironment.getSchema()
QueryVisitorFieldArgumentValueEnvironmentImpl.getSchema()
QueryVisitorFieldEnvironment.getSchema()
QueryVisitorFieldEnvironmentImpl.getSchema()
QueryVisitorFragmentDefinitionEnvironment.getSchema()
QueryVisitorFragmentDefinitionEnvironmentImpl.getSchema()
QueryVisitorFragmentSpreadEnvironment.getSchema()
QueryVisitorFragmentSpreadEnvironmentImpl.getSchema()
QueryVisitorInlineFragmentEnvironment.getSchema()
QueryVisitorInlineFragmentEnvironmentImpl.getSchema()
Methods in graphql.analysis with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionQueryComplexityCalculator.Builder.schema
(GraphQLSchema graphQLSchema) QueryTransformer.Builder.schema
(GraphQLSchema schema) The schema used to identify the types of the query.QueryTraverser.Builder.schema
(GraphQLSchema schema) The schema used to identify the types of the query.Constructors in graphql.analysis with parameters of type GraphQLSchemaModifierConstructorDescriptionNodeVisitorWithTypeTracking
(QueryVisitor preOrderCallback, QueryVisitor postOrderCallback, Map<String, Object> variables, GraphQLSchema schema, Map<String, FragmentDefinition> fragmentsByName) private
QueryTransformer
(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, Map<String, FragmentDefinition> fragmentsByName, Map<String, Object> variables) private
QueryTraverser
(GraphQLSchema schema, Document document, String operation, CoercedVariables coercedVariables) private
QueryTraverser
(GraphQLSchema schema, Document document, String operation, RawVariables rawVariables) private
QueryTraverser
(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, Map<String, FragmentDefinition> fragmentsByName, CoercedVariables coercedVariables) QueryVisitorFieldArgumentEnvironmentImpl
(GraphQLFieldDefinition fieldDefinition, Argument argument, GraphQLArgument graphQLArgument, Object argumentValue, Map<String, Object> variables, QueryVisitorFieldEnvironment parentEnvironment, TraverserContext<Node> traverserContext, GraphQLSchema schema) QueryVisitorFieldArgumentValueEnvironmentImpl
(GraphQLSchema schema, GraphQLFieldDefinition fieldDefinition, GraphQLArgument graphQLArgument, QueryVisitorFieldArgumentInputValue argumentInputValue, TraverserContext<Node> traverserContext, Map<String, Object> variables) QueryVisitorFieldEnvironmentImpl
(boolean typeNameIntrospectionField, Field field, GraphQLFieldDefinition fieldDefinition, GraphQLOutputType parentType, GraphQLFieldsContainer unmodifiedParentType, QueryVisitorFieldEnvironment parentEnvironment, Map<String, Object> arguments, SelectionSetContainer selectionSetContainer, TraverserContext<Node> traverserContext, GraphQLSchema schema) QueryVisitorFragmentDefinitionEnvironmentImpl
(FragmentDefinition fragmentDefinition, TraverserContext<Node> traverserContext, GraphQLSchema schema) QueryVisitorFragmentSpreadEnvironmentImpl
(FragmentSpread fragmentSpread, FragmentDefinition fragmentDefinition, TraverserContext<Node> traverserContext, GraphQLSchema schema) QueryVisitorInlineFragmentEnvironmentImpl
(InlineFragment inlineFragment, TraverserContext<Node> traverserContext, GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.execution
Fields in graphql.execution declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate final GraphQLSchema
ExecutionContext.graphQLSchema
(package private) GraphQLSchema
ExecutionContextBuilder.graphQLSchema
private GraphQLSchema
FieldCollectorParameters.Builder.graphQLSchema
private final GraphQLSchema
FieldCollectorParameters.graphQLSchema
private GraphQLSchema
TypeResolutionParameters.Builder.schema
private final GraphQLSchema
TypeResolutionParameters.schema
Methods in graphql.execution that return GraphQLSchemaModifier and TypeMethodDescriptionExecutionContext.getGraphQLSchema()
FieldCollectorParameters.getGraphQLSchema()
TypeResolutionParameters.getSchema()
Methods in graphql.execution with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionstatic CoercedVariables
ValuesResolver.coerceVariableValues
(GraphQLSchema schema, List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, Locale locale) This method coerces the "raw" variables values provided to the engine.Execution.execute
(Document document, GraphQLSchema graphQLSchema, ExecutionId executionId, ExecutionInput executionInput, InstrumentationState instrumentationState) (package private) static CoercedVariables
ValuesResolverConversion.externalValueToInternalValueForVariables
(InputInterceptor inputInterceptor, GraphQLSchema schema, List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, Locale locale) performs validation tooprotected GraphQLFieldDefinition
ExecutionStrategy.getFieldDef
(GraphQLSchema schema, GraphQLObjectType parentType, Field field) Called to discover the field definition give the current parameters and the ASTField
static Map
<String, NormalizedInputValue> ValuesResolver.getNormalizedVariableValues
(GraphQLSchema schema, List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, Locale locale) Normalized variables values are Literals with type information.static GraphQLType
TypeFromAST.getTypeFromAST
(GraphQLSchema schema, Type type) ExecutionContextBuilder.graphQLSchema
(GraphQLSchema graphQLSchema) FieldCollectorParameters.Builder.schema
(GraphQLSchema graphQLSchema) TypeResolutionParameters.Builder.schema
(GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.execution.conditional
Methods in graphql.execution.conditional that return GraphQLSchemaModifier and TypeMethodDescription@Nullable GraphQLSchema
ConditionalNodeDecisionEnvironment.getGraphQlSchema()
Methods in graphql.execution.conditional with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate boolean
ConditionalNodes.customShouldInclude
(Map<String, Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision) boolean
ConditionalNodes.shouldInclude
(DirectivesContainer<?> element, Map<String, Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext) -
Uses of GraphQLSchema in graphql.execution.directives
Fields in graphql.execution.directives declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate GraphQLSchema
QueryDirectivesBuilder.schema
private final GraphQLSchema
QueryDirectivesImpl.schema
Methods in graphql.execution.directives with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionDirectivesResolver.resolveDirectives
(List<Directive> directives, GraphQLSchema schema, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) QueryDirectives.Builder.schema
(GraphQLSchema schema) QueryDirectivesBuilder.schema
(GraphQLSchema schema) Constructors in graphql.execution.directives with parameters of type GraphQLSchemaModifierConstructorDescriptionQueryDirectivesImpl
(MergedField mergedField, GraphQLSchema schema, Map<String, Object> variables, GraphQLContext graphQLContext, Locale locale) -
Uses of GraphQLSchema in graphql.execution.instrumentation
Methods in graphql.execution.instrumentation that return GraphQLSchemaModifier and TypeMethodDescription@NotNull GraphQLSchema
ChainedInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchema
ChainedInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull GraphQLSchema
Instrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters) Deprecated.default @NotNull GraphQLSchema
Instrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aGraphQLSchema
before it is used to parse, validate and execute a query, allowing you to adjust what types are used.@NotNull GraphQLSchema
SimplePerformantInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchema
SimplePerformantInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) Methods in graphql.execution.instrumentation with parameters of type GraphQLSchemaModifier and TypeMethodDescription@NotNull GraphQLSchema
ChainedInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchema
ChainedInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull GraphQLSchema
Instrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters) default @NotNull GraphQLSchema
Instrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aGraphQLSchema
before it is used to parse, validate and execute a query, allowing you to adjust what types are used.@NotNull GraphQLSchema
SimplePerformantInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchema
SimplePerformantInstrumentation.instrumentSchema
(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) -
Uses of GraphQLSchema in graphql.execution.instrumentation.parameters
Fields in graphql.execution.instrumentation.parameters declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate final GraphQLSchema
InstrumentationCreateStateParameters.schema
private final GraphQLSchema
InstrumentationExecutionParameters.schema
Methods in graphql.execution.instrumentation.parameters that return GraphQLSchemaModifier and TypeMethodDescriptionInstrumentationCreateStateParameters.getSchema()
InstrumentationExecutionParameters.getSchema()
Constructors in graphql.execution.instrumentation.parameters with parameters of type GraphQLSchemaModifierConstructorDescriptionInstrumentationCreateStateParameters
(GraphQLSchema schema, ExecutionInput executionInput) InstrumentationExecutionParameters
(ExecutionInput executionInput, GraphQLSchema schema, InstrumentationState instrumentationState) InstrumentationValidationParameters
(ExecutionInput executionInput, Document document, GraphQLSchema schema, InstrumentationState instrumentationState) -
Uses of GraphQLSchema in graphql.introspection
Methods in graphql.introspection that return GraphQLSchemaModifier and TypeMethodDescriptionprivate GraphQLSchema
IntrospectionWithDirectivesSupport.addDirectiveDefinitionFilter
(GraphQLSchema schema) IntrospectionWithDirectivesSupport.apply
(GraphQLSchema schema) This will transform the schema to have the new extension shapesIntrospectionDataFetchingEnvironment.getGraphQLSchema()
IntrospectionWithDirectivesSupport.DirectivePredicateEnvironment.getSchema()
Methods in graphql.introspection with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate GraphQLSchema
IntrospectionWithDirectivesSupport.addDirectiveDefinitionFilter
(GraphQLSchema schema) IntrospectionWithDirectivesSupport.apply
(GraphQLSchema schema) This will transform the schema to have the new extension shapesprivate @NotNull IntrospectionWithDirectivesSupport.DirectivePredicateEnvironment
IntrospectionWithDirectivesSupport.buildDirectivePredicateEnv
(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, String directiveName) private List
<GraphQLAppliedDirective> IntrospectionWithDirectivesSupport.filterAppliedDirectives
(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, List<GraphQLAppliedDirective> directives) private List
<GraphQLDirective> IntrospectionWithDirectivesSupport.filterDirectives
(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, List<GraphQLDirective> directives) static GraphQLFieldDefinition
Introspection.getFieldDef
(GraphQLSchema schema, GraphQLCompositeType parentType, String fieldName) This will look up a field definition by name, and understand that fields like __typename and __schema are special and take precedence in field resolution -
Uses of GraphQLSchema in graphql.normalized
Fields in graphql.normalized declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate GraphQLSchema
FieldCollectorNormalizedQueryParams.Builder.graphQLSchema
private final GraphQLSchema
FieldCollectorNormalizedQueryParams.graphQLSchema
Methods in graphql.normalized that return GraphQLSchemaMethods in graphql.normalized with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionExecutableNormalizedOperationToAstCompiler.compileToDocument
(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable String operationName, @NotNull List<ExecutableNormalizedField> topLevelFields, @Nullable VariablePredicate variablePredicate) This will compile an operation textDocument
with possibly variables from the givenExecutableNormalizedField
s TheVariablePredicate
is used called to decide if the given argument values should be made into a variable OR inlined into the operation text as a graphql literal.ExecutableNormalizedOperationToAstCompiler.compileToDocument
(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable String operationName, @NotNull List<ExecutableNormalizedField> topLevelFields, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, @Nullable VariablePredicate variablePredicate) This will compile an operation textDocument
with possibly variables from the givenExecutableNormalizedField
s TheVariablePredicate
is used called to decide if the given argument values should be made into a variable OR inlined into the operation text as a graphql literal.ExecutableNormalizedOperationFactory.createExecutableNormalizedOperation
(GraphQLSchema graphQLSchema, Document document, String operationName, CoercedVariables coercedVariableValues) This will create a runtime representation of the graphql operation that would be executed in a runtime sense.ExecutableNormalizedOperationFactory.createExecutableNormalizedOperation
(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, Map<String, FragmentDefinition> fragments, CoercedVariables coercedVariableValues) This will create a runtime representation of the graphql operation that would be executed in a runtime sense.private ExecutableNormalizedOperation
ExecutableNormalizedOperationFactory.createExecutableNormalizedOperationImplWithRawVariables
(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, Map<String, FragmentDefinition> fragments, RawVariables rawVariables, ExecutableNormalizedOperationFactory.Options options) ExecutableNormalizedOperationFactory.createExecutableNormalizedOperationWithRawVariables
(GraphQLSchema graphQLSchema, Document document, String operationName, RawVariables rawVariables) This will create a runtime representation of the graphql operation that would be executed in a runtime sense.ExecutableNormalizedOperationFactory.createExecutableNormalizedOperationWithRawVariables
(GraphQLSchema graphQLSchema, Document document, String operationName, RawVariables rawVariables, GraphQLContext graphQLContext, Locale locale) This will create a runtime representation of the graphql operation that would be executed in a runtime sense.ExecutableNormalizedOperationFactory.createExecutableNormalizedOperationWithRawVariables
(GraphQLSchema graphQLSchema, Document document, String operationName, RawVariables rawVariables, ExecutableNormalizedOperationFactory.Options options) This will create a runtime representation of the graphql operation that would be executed in a runtime sense.private ExecutableNormalizedOperation
ExecutableNormalizedOperationFactory.createNormalizedQueryImpl
(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, Map<String, FragmentDefinition> fragments, CoercedVariables coercedVariableValues, @Nullable Map<String, NormalizedInputValue> normalizedVariableValues, ExecutableNormalizedOperationFactory.Options options) Creates a new ExecutableNormalizedOperation for the provided queryvoid
ExecutableNormalizedField.forEachFieldDefinition
(GraphQLSchema schema, Consumer<GraphQLFieldDefinition> consumer) private static @NotNull GraphQLFieldDefinition
ExecutableNormalizedOperationToAstCompiler.getFieldDefinition
(GraphQLSchema schema, String parentType, ExecutableNormalizedField nf) ExecutableNormalizedField.getFieldDefinitions
(GraphQLSchema schema) private Set
<GraphQLInterfaceType> ExecutableNormalizedField.getInterfacesCommonToAllOutputTypes
(GraphQLSchema schema) This tries to find interfaces common to all the field output types.private GraphQLFieldDefinition
ExecutableNormalizedField.getOneFieldDefinition
(GraphQLSchema schema) This is NOT public as it is not recommended usage.private static @Nullable GraphQLObjectType
ExecutableNormalizedOperationToAstCompiler.getOperationType
(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind) ExecutableNormalizedField.getType
(GraphQLSchema schema) ExecutableNormalizedField.getTypes
(GraphQLSchema schema) boolean
ExecutableNormalizedField.isConditional
(@NotNull GraphQLSchema schema) Determines whether thisExecutableNormalizedField
needs a fragment to select the field.private static boolean
ENFMerger.isFieldInSharedInterface
(ExecutableNormalizedField fieldOne, ExecutableNormalizedField fieldTwo, GraphQLSchema schema) static void
ENFMerger.merge
(ExecutableNormalizedField parent, List<ExecutableNormalizedField> childrenWithSameResultKey, GraphQLSchema schema) private Set
<GraphQLObjectType> ExecutableNormalizedOperationFactory.narrowDownPossibleObjects
(Set<GraphQLObjectType> currentOnes, GraphQLCompositeType typeCondition, GraphQLSchema graphQLSchema) private static GraphQLFieldDefinition
ExecutableNormalizedField.resolveIntrospectionField
(GraphQLSchema schema, Set<String> objectTypeNames, String fieldName) private com.google.common.collect.ImmutableSet
<GraphQLObjectType> ExecutableNormalizedOperationFactory.resolvePossibleObjects
(GraphQLCompositeType type, GraphQLSchema graphQLSchema) private com.google.common.collect.ImmutableSet
<GraphQLObjectType> ExecutableNormalizedOperationFactory.resolvePossibleObjects
(List<GraphQLFieldDefinition> defs, GraphQLSchema graphQLSchema) FieldCollectorNormalizedQueryParams.Builder.schema
(GraphQLSchema graphQLSchema) ExecutableNormalizedOperationToAstCompiler.selectionForNormalizedField
(GraphQLSchema schema, ExecutableNormalizedField executableNormalizedField, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) private static Field
ExecutableNormalizedOperationToAstCompiler.selectionForNormalizedField
(GraphQLSchema schema, String objectTypeName, ExecutableNormalizedField executableNormalizedField, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) ExecutableNormalizedOperationToAstCompiler.subselectionsForNormalizedField
(GraphQLSchema schema, @NotNull String parentOutputType, List<ExecutableNormalizedField> executableNormalizedFields, @NotNull Map<ExecutableNormalizedField, QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) -
Uses of GraphQLSchema in graphql.schema
Fields in graphql.schema declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate final GraphQLSchema
GraphQLSchema.BuilderWithoutTypes.existingSchema
private GraphQLSchema
DataFetchingEnvironmentImpl.Builder.graphQLSchema
private final GraphQLSchema
DataFetchingEnvironmentImpl.graphQLSchema
private final GraphQLSchema
DataFetchingFieldSelectionSetImpl.schema
private final GraphQLSchema
DataFetchingFieldSelectionSetImpl.SelectedFieldImpl.schema
(package private) GraphQLSchema
SchemaTransformer.DummyRoot.schema
Methods in graphql.schema that return GraphQLSchemaModifier and TypeMethodDescriptionGraphQLSchema.Builder.build()
Builds the schemaGraphQLSchema.Builder.build
(Set<GraphQLType> additionalTypes) Deprecated.- Use theGraphQLSchema.Builder.additionalType(GraphQLType)
methodsGraphQLSchema.Builder.build
(Set<GraphQLType> additionalTypes, Set<GraphQLDirective> additionalDirectives) Deprecated.GraphQLSchema.BuilderWithoutTypes.build()
private GraphQLSchema
GraphQLSchema.Builder.buildImpl()
DataFetchingEnvironment.getGraphQLSchema()
DataFetchingEnvironmentImpl.getGraphQLSchema()
DelegatingDataFetchingEnvironment.getGraphQLSchema()
SchemaTransformer.DummyRoot.rebuildSchema
(GraphQLCodeRegistry.Builder codeRegistry) GraphQLSchema.transform
(Consumer<GraphQLSchema.Builder> builderConsumer) This helps you transform the current GraphQLSchema object into another one by starting a builder with all the current values and allows you to transform it how you want.SchemaTransformer.transform
(GraphQLSchema schema, GraphQLTypeVisitor visitor) SchemaTransformer.transform
(GraphQLSchema schema, GraphQLTypeVisitor visitor, Consumer<GraphQLSchema.Builder> postTransformation) static GraphQLSchema
SchemaTransformer.transformSchema
(GraphQLSchema schema, GraphQLTypeVisitor visitor) Transforms a GraphQLSchema and returns a new GraphQLSchema object.static GraphQLSchema
SchemaTransformer.transformSchema
(GraphQLSchema schema, GraphQLTypeVisitor visitor, Consumer<GraphQLSchema.Builder> postTransformation) Transforms a GraphQLSchema and returns a new GraphQLSchema object.GraphQLSchema.transformWithoutTypes
(Consumer<GraphQLSchema.BuilderWithoutTypes> builderConsumer) This helps you transform the current GraphQLSchema object into another one by using a builder that only allows you to change simple values and does not involve changing the complex schema type graph.private GraphQLSchema
GraphQLSchema.Builder.validateSchema
(GraphQLSchema graphQLSchema) Methods in graphql.schema with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionSchemaTraverser.depthFirstFullSchema
(GraphQLTypeVisitor typeVisitor, GraphQLSchema schema) This will visit all of the schema elements in the specified schema and invokes the visitor.SchemaTraverser.depthFirstFullSchema
(List<GraphQLTypeVisitor> typeVisitors, GraphQLSchema schema, Map<Class<?>, Object> rootVars) This will visit all of the schema elements in the specified schema, invoking each visitor in turn.DataFetchingEnvironmentImpl.Builder.graphQLSchema
(GraphQLSchema graphQLSchema) DataFetchingFieldSelectionSetImpl.newCollector
(GraphQLSchema schema, GraphQLOutputType fieldType, Supplier<ExecutableNormalizedField> normalizedFieldSupplier) static GraphQLSchema.Builder
GraphQLSchema.newSchema
(GraphQLSchema existingSchema) This allows you to build a schema from an existing schema.private void
SchemaTransformer.replaceTypeReferences
(SchemaTransformer.DummyRoot dummyRoot, GraphQLSchema schema, GraphQLCodeRegistry.Builder codeRegistry, Map<String, GraphQLNamedType> changedTypes) private static GraphQLAppliedDirective[]
GraphQLSchema.schemaAppliedDirectivesArray
(GraphQLSchema existingSchema) private static GraphQLDirective[]
GraphQLSchema.schemaDirectivesArray
(GraphQLSchema existingSchema) SchemaTransformer.transform
(GraphQLSchema schema, GraphQLTypeVisitor visitor) SchemaTransformer.transform
(GraphQLSchema schema, GraphQLTypeVisitor visitor, Consumer<GraphQLSchema.Builder> postTransformation) private Object
SchemaTransformer.transformImpl
(GraphQLSchema schema, GraphQLSchemaElement schemaElement, GraphQLTypeVisitor visitor, Consumer<GraphQLSchema.Builder> postTransformation) static GraphQLSchema
SchemaTransformer.transformSchema
(GraphQLSchema schema, GraphQLTypeVisitor visitor) Transforms a GraphQLSchema and returns a new GraphQLSchema object.static GraphQLSchema
SchemaTransformer.transformSchema
(GraphQLSchema schema, GraphQLTypeVisitor visitor, Consumer<GraphQLSchema.Builder> postTransformation) Transforms a GraphQLSchema and returns a new GraphQLSchema object.private boolean
SchemaTransformer.traverseAndTransform
(SchemaTransformer.DummyRoot dummyRoot, Map<String, GraphQLNamedType> changedTypes, Map<String, GraphQLTypeReference> typeReferences, GraphQLTypeVisitor visitor, GraphQLCodeRegistry.Builder codeRegistry, GraphQLSchema schema) private GraphQLSchema
GraphQLSchema.Builder.validateSchema
(GraphQLSchema graphQLSchema) Constructors in graphql.schema with parameters of type GraphQLSchemaModifierConstructorDescriptionprivate
BuilderWithoutTypes
(GraphQLSchema existingSchema) private
DataFetchingFieldSelectionSetImpl
(Supplier<ExecutableNormalizedField> normalizedFieldSupplier, GraphQLSchema schema) (package private)
DummyRoot
(GraphQLSchema schema) GraphQLSchema
(GraphQLSchema existingSchema, GraphQLCodeRegistry codeRegistry, com.google.common.collect.ImmutableMap<String, GraphQLNamedType> typeMap, com.google.common.collect.ImmutableMap<String, com.google.common.collect.ImmutableList<GraphQLObjectType>> interfaceNameToObjectTypes) private
SelectedFieldImpl
(String simpleQualifiedName, String fullyQualifiedName, ExecutableNormalizedField executableNormalizedField, GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.schema.diff
Methods in graphql.schema.diff with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionstatic DiffSet
DiffSet.diffSet
(GraphQLSchema schemaOld, GraphQLSchema schemaNew) Deprecated.Creates a diff set out of the result of 2 schemas.static SchemaDiffSet
SchemaDiffSet.diffSetFromIntrospection
(GraphQLSchema oldSchema, GraphQLSchema newSchema) Creates an schema diff set out of the result of 2 introspection queries.static SchemaDiffSet
SchemaDiffSet.diffSetFromSdl
(GraphQLSchema oldSchema, GraphQLSchema newSchema) Creates an schema diff set out of the two SDL definition Strings.private static String
SchemaDiffSet.getSchemaSdl
(GraphQLSchema schema) DiffSet.introspect
(GraphQLSchema schema) Deprecated.SchemaDiffSet.introspect
(GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate void
SchemaGraphFactory.addSchemaVertex
(SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) SchemaGraphFactory.createGraph
(GraphQLSchema schema) SchemaDiffing.diffAndAnalyze
(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) SchemaDiffing.diffGraphQLSchema
(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2) SchemaDiffing.diffGraphQLSchemaAllEdits
(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2, AtomicInteger algoIterationCount) private void
SchemaGraphFactory.handleDirective
(Vertex directive, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private void
SchemaGraphFactory.handleField
(Vertex fieldVertex, GraphQLFieldDefinition fieldDefinition, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private void
SchemaGraphFactory.handleInputField
(Vertex inputFieldVertex, GraphQLInputObjectField inputField, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private void
SchemaGraphFactory.handleInputObject
(Vertex inputObject, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private void
SchemaGraphFactory.handleInterfaceVertex
(Vertex interfaceVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private void
SchemaGraphFactory.handleObjectVertex
(Vertex objectVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private void
SchemaGraphFactory.handleUnion
(Vertex unionVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) -
Uses of GraphQLSchema in graphql.schema.diffing.ana
Fields in graphql.schema.diffing.ana declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate final GraphQLSchema
EditOperationAnalyzer.newSchema
private final GraphQLSchema
EditOperationAnalyzer.oldSchema
Constructors in graphql.schema.diffing.ana with parameters of type GraphQLSchemaModifierConstructorDescriptionEditOperationAnalyzer
(GraphQLSchema oldSchema, GraphQLSchema newSchema, SchemaGraph oldSchemaGraph, SchemaGraph newSchemaGraph) -
Uses of GraphQLSchema in graphql.schema.idl
Methods in graphql.schema.idl that return GraphQLSchemaModifier and TypeMethodDescriptionstatic GraphQLSchema
SchemaGenerator.createdMockedSchema
(String sdl) Created a schema from the SDL that is has a mocked runtime.SchemaGenerator.makeExecutableSchema
(SchemaGenerator.Options options, TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) This will take aTypeDefinitionRegistry
and aRuntimeWiring
and put them together to create a executable schema controlled by the provided options.SchemaGenerator.makeExecutableSchema
(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) This will take aTypeDefinitionRegistry
and aRuntimeWiring
and put them together to create a executable schemaprivate GraphQLSchema
SchemaGenerator.makeExecutableSchemaImpl
(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring, Map<String, OperationTypeDefinition> operationTypeDefinitions, SchemaGenerator.Options options) static GraphQLSchema
UnExecutableSchemaGenerator.makeUnExecutableSchema
(TypeDefinitionRegistry registry) SchemaDirectiveWiringSchemaGeneratorPostProcessing.process
(GraphQLSchema originalSchema) SchemaGeneratorPostProcessing.process
(GraphQLSchema originalSchema) Deprecated.Called to transform the schema from its built state into something elseMethods in graphql.schema.idl that return types with arguments of type GraphQLSchemaMethods in graphql.schema.idl with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate List
<GraphQLDirective> SchemaPrinter.getSchemaDirectives
(GraphQLSchema schema) SchemaPrinter.print
(GraphQLSchema schema) This can print an in memory GraphQL schema back to a logical schema definitionSchemaDirectiveWiringSchemaGeneratorPostProcessing.process
(GraphQLSchema originalSchema) SchemaGeneratorPostProcessing.process
(GraphQLSchema originalSchema) Deprecated.Called to transform the schema from its built state into something else -
Uses of GraphQLSchema in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionstatic GraphQLObjectType
SchemaUtil.getOperationRootType
(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition) SchemaUtil.groupImplementationsForInterfacesAndObjects
(GraphQLSchema schema) static void
SchemaUtil.replaceTypeReferences
(GraphQLSchema schema) static void
SchemaUtil.visitPartiallySchema
(GraphQLSchema partiallyBuiltSchema, GraphQLTypeVisitor... visitors) Called to visit a partially built schema (duringGraphQLSchema
build phases) with a set of visitors Each visitor is expected to hold its own side effects that might be last used to construct a full schema -
Uses of GraphQLSchema in graphql.schema.transform
Methods in graphql.schema.transform that return GraphQLSchemaModifier and TypeMethodDescriptionfinal GraphQLSchema
FieldVisibilitySchemaTransformation.apply
(GraphQLSchema schema) private GraphQLSchema
FieldVisibilitySchemaTransformation.removeUnreferencedTypes
(Set<GraphQLType> markedForRemovalTypes, GraphQLSchema connectedSchema) Methods in graphql.schema.transform with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionfinal GraphQLSchema
FieldVisibilitySchemaTransformation.apply
(GraphQLSchema schema) private Function
<GraphQLSchemaElement, List<GraphQLSchemaElement>> FieldVisibilitySchemaTransformation.getChildrenFn
(GraphQLSchema schema) private List
<GraphQLObjectType> FieldVisibilitySchemaTransformation.getOperationTypes
(GraphQLSchema schema) private List
<GraphQLSchemaElement> FieldVisibilitySchemaTransformation.getRootTypes
(GraphQLSchema schema) private GraphQLSchema
FieldVisibilitySchemaTransformation.removeUnreferencedTypes
(Set<GraphQLType> markedForRemovalTypes, GraphQLSchema connectedSchema) -
Uses of GraphQLSchema in graphql.schema.usage
Methods in graphql.schema.usage with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionstatic SchemaUsage
SchemaUsageSupport.getSchemaUsage
(GraphQLSchema schema) This builds outSchemaUsage
statistics about the usage of types and directives within a schemaSchemaUsage.getUnReferencedElements
(GraphQLSchema schema) This returns all the unreferenced named elements in a schema.private boolean
SchemaUsage.isNamedElementReferenced
(GraphQLSchema schema, String elementName, Set<String> pathSoFar) private boolean
SchemaUsage.isReferencedImpl
(GraphQLSchema schema, String elementName, Set<String> pathSoFar) boolean
SchemaUsage.isStronglyReferenced
(GraphQLSchema schema, String elementName) Returns true if the named element is strongly reference somewhere in the schema back to the root types such as the schema query, mutation or subscription types. -
Uses of GraphQLSchema in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate boolean
AppliedDirectiveArgumentsAreValid.isValidExternalValue
(GraphQLSchema schema, Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext, Locale locale) private boolean
DefaultValuesAreValid.isValidExternalValue
(GraphQLSchema schema, Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext) SchemaValidator.validateSchema
(GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.schema.visitor
Methods in graphql.schema.visitor that return GraphQLSchema -
Uses of GraphQLSchema in graphql.util
Fields in graphql.util declared as GraphQLSchemaMethods in graphql.util that return GraphQLSchemaModifier and TypeMethodDescriptionstatic GraphQLSchema
Anonymizer.anonymizeSchema
(GraphQLSchema schema) static GraphQLSchema
Anonymizer.anonymizeSchema
(String sdl) Anonymizer.AnonymizeResult.getSchema()
Methods in graphql.util with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionstatic GraphQLSchema
Anonymizer.anonymizeSchema
(GraphQLSchema schema) static Anonymizer.AnonymizeResult
Anonymizer.anonymizeSchemaAndQueries
(GraphQLSchema schema, List<String> queries) static Anonymizer.AnonymizeResult
Anonymizer.anonymizeSchemaAndQueries
(GraphQLSchema schema, List<String> queries, Map<String, Object> variables) private static GraphQLType
Anonymizer.fromTypeToGraphQLType
(Type type, GraphQLSchema schema) private static Set
<GraphQLFieldDefinition> Anonymizer.getSameFields
(String fieldName, String objectOrInterfaceName, Map<String, List<GraphQLImplementingType>> interfaceToImplementations, GraphQLSchema schema) private static void
Anonymizer.getSameFieldsImpl
(String fieldName, String curObjectOrInterface, Map<String, List<GraphQLImplementingType>> interfaceToImplementations, GraphQLSchema schema, Set<String> alreadyChecked, Set<GraphQLFieldDefinition> result) static Map
<GraphQLNamedSchemaElement, String> Anonymizer.recordNewNamesForSchema
(GraphQLSchema schema) private static String
Anonymizer.rewriteQuery
(String query, GraphQLSchema schema, Map<GraphQLNamedSchemaElement, String> newNames, Map<String, Object> variables) Constructors in graphql.util with parameters of type GraphQLSchema -
Uses of GraphQLSchema in graphql.validation
Fields in graphql.validation declared as GraphQLSchemaModifier and TypeFieldDescriptionprivate final GraphQLSchema
TraversalContext.schema
private final GraphQLSchema
ValidationContext.schema
Methods in graphql.validation that return GraphQLSchemaMethods in graphql.validation with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate GraphQLFieldDefinition
TraversalContext.getFieldDef
(GraphQLSchema schema, GraphQLType parentType, Field field) (package private) boolean
ValidationUtil.isValidLiteralValue
(Value<?> value, GraphQLInputObjectType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) private boolean
ValidationUtil.isValidLiteralValue
(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) boolean
ValidationUtil.isValidLiteralValue
(Value<?> value, GraphQLType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) Validator.validateDocument
(GraphQLSchema schema, Document document, Predicate<Class<?>> applyRule, Locale locale) Validator.validateDocument
(GraphQLSchema schema, Document document, Locale locale) Constructors in graphql.validation with parameters of type GraphQLSchemaModifierConstructorDescriptionTraversalContext
(GraphQLSchema graphQLSchema) ValidationContext
(GraphQLSchema schema, Document document, I18n i18n)
Instrumentation.instrumentSchema(GraphQLSchema, InstrumentationExecutionParameters, InstrumentationState)
instead