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 GraphQLSchemaGraphQL.Builder.graphQLSchemaprivate final GraphQLSchemaGraphQL.graphQLSchemaprivate final GraphQLSchemaTypeResolutionEnvironment.schemaMethods 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.BuilderGraphQL.newGraphQL(GraphQLSchema graphQLSchema) Helps you build a GraphQL object ready to execute queriesprivate ParseAndValidateResultGraphQL.parse(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) private PreparsedDocumentEntryGraphQL.parseAndValidate(AtomicReference<ExecutionInput> executionInputRef, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) static ParseAndValidateResultParseAndValidate.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 GraphQLSchemaNodeVisitorWithTypeTracking.schemaprivate GraphQLSchemaQueryComplexityCalculator.Builder.schemaprivate final GraphQLSchemaQueryComplexityCalculator.schemaprivate GraphQLSchemaQueryTransformer.Builder.schemaprivate final GraphQLSchemaQueryTransformer.schemaprivate GraphQLSchemaQueryTraverser.Builder.schemaprivate final GraphQLSchemaQueryTraverser.schemaprivate final GraphQLSchemaQueryVisitorFieldArgumentEnvironmentImpl.schemaprivate final GraphQLSchemaQueryVisitorFieldArgumentValueEnvironmentImpl.schemaprivate final GraphQLSchemaQueryVisitorFieldEnvironmentImpl.schemaprivate final GraphQLSchemaQueryVisitorFragmentDefinitionEnvironmentImpl.schemaprivate final GraphQLSchemaQueryVisitorFragmentSpreadEnvironmentImpl.schemaprivate final GraphQLSchemaQueryVisitorInlineFragmentEnvironmentImpl.schemaMethods 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) privateQueryTransformer(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, Map<String, FragmentDefinition> fragmentsByName, Map<String, Object> variables) privateQueryTraverser(GraphQLSchema schema, Document document, String operation, CoercedVariables coercedVariables) privateQueryTraverser(GraphQLSchema schema, Document document, String operation, RawVariables rawVariables) privateQueryTraverser(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 GraphQLSchemaExecutionContext.graphQLSchema(package private) GraphQLSchemaExecutionContextBuilder.graphQLSchemaprivate GraphQLSchemaFieldCollectorParameters.Builder.graphQLSchemaprivate final GraphQLSchemaFieldCollectorParameters.graphQLSchemaprivate GraphQLSchemaTypeResolutionParameters.Builder.schemaprivate final GraphQLSchemaTypeResolutionParameters.schemaMethods in graphql.execution that return GraphQLSchemaModifier and TypeMethodDescriptionExecutionContext.getGraphQLSchema()FieldCollectorParameters.getGraphQLSchema()TypeResolutionParameters.getSchema()Methods in graphql.execution with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionstatic CoercedVariablesValuesResolver.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 CoercedVariablesValuesResolverConversion.externalValueToInternalValueForVariables(InputInterceptor inputInterceptor, GraphQLSchema schema, List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, Locale locale) performs validation tooprotected GraphQLFieldDefinitionExecutionStrategy.getFieldDef(GraphQLSchema schema, GraphQLObjectType parentType, Field field) Called to discover the field definition give the current parameters and the ASTFieldstatic 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 GraphQLTypeTypeFromAST.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 GraphQLSchemaConditionalNodeDecisionEnvironment.getGraphQlSchema()Methods in graphql.execution.conditional with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate booleanConditionalNodes.customShouldInclude(Map<String, Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision) booleanConditionalNodes.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 GraphQLSchemaQueryDirectivesBuilder.schemaprivate final GraphQLSchemaQueryDirectivesImpl.schemaMethods 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 GraphQLSchemaChainedInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchemaChainedInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull GraphQLSchemaInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters) Deprecated.default @NotNull GraphQLSchemaInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aGraphQLSchemabefore it is used to parse, validate and execute a query, allowing you to adjust what types are used.@NotNull GraphQLSchemaSimplePerformantInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchemaSimplePerformantInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) Methods in graphql.execution.instrumentation with parameters of type GraphQLSchemaModifier and TypeMethodDescription@NotNull GraphQLSchemaChainedInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchemaChainedInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull GraphQLSchemaInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters) default @NotNull GraphQLSchemaInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters, InstrumentationState state) This is called to instrument aGraphQLSchemabefore it is used to parse, validate and execute a query, allowing you to adjust what types are used.@NotNull GraphQLSchemaSimplePerformantInstrumentation.instrumentSchema(GraphQLSchema schema, InstrumentationExecutionParameters parameters) @NotNull GraphQLSchemaSimplePerformantInstrumentation.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 GraphQLSchemaInstrumentationCreateStateParameters.schemaprivate final GraphQLSchemaInstrumentationExecutionParameters.schemaMethods 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 GraphQLSchemaIntrospectionWithDirectivesSupport.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 GraphQLSchemaIntrospectionWithDirectivesSupport.addDirectiveDefinitionFilter(GraphQLSchema schema) IntrospectionWithDirectivesSupport.apply(GraphQLSchema schema) This will transform the schema to have the new extension shapesprivate @NotNull IntrospectionWithDirectivesSupport.DirectivePredicateEnvironmentIntrospectionWithDirectivesSupport.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 GraphQLFieldDefinitionIntrospection.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 GraphQLSchemaFieldCollectorNormalizedQueryParams.Builder.graphQLSchemaprivate final GraphQLSchemaFieldCollectorNormalizedQueryParams.graphQLSchemaMethods 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 textDocumentwith possibly variables from the givenExecutableNormalizedFields TheVariablePredicateis 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 textDocumentwith possibly variables from the givenExecutableNormalizedFields TheVariablePredicateis 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 ExecutableNormalizedOperationExecutableNormalizedOperationFactory.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 ExecutableNormalizedOperationExecutableNormalizedOperationFactory.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 queryvoidExecutableNormalizedField.forEachFieldDefinition(GraphQLSchema schema, Consumer<GraphQLFieldDefinition> consumer) private static @NotNull GraphQLFieldDefinitionExecutableNormalizedOperationToAstCompiler.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 GraphQLFieldDefinitionExecutableNormalizedField.getOneFieldDefinition(GraphQLSchema schema) This is NOT public as it is not recommended usage.private static @Nullable GraphQLObjectTypeExecutableNormalizedOperationToAstCompiler.getOperationType(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind) ExecutableNormalizedField.getType(GraphQLSchema schema) ExecutableNormalizedField.getTypes(GraphQLSchema schema) booleanExecutableNormalizedField.isConditional(@NotNull GraphQLSchema schema) Determines whether thisExecutableNormalizedFieldneeds a fragment to select the field.private static booleanENFMerger.isFieldInSharedInterface(ExecutableNormalizedField fieldOne, ExecutableNormalizedField fieldTwo, GraphQLSchema schema) static voidENFMerger.merge(ExecutableNormalizedField parent, List<ExecutableNormalizedField> childrenWithSameResultKey, GraphQLSchema schema) private Set<GraphQLObjectType> ExecutableNormalizedOperationFactory.narrowDownPossibleObjects(Set<GraphQLObjectType> currentOnes, GraphQLCompositeType typeCondition, GraphQLSchema graphQLSchema) private static GraphQLFieldDefinitionExecutableNormalizedField.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 FieldExecutableNormalizedOperationToAstCompiler.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 GraphQLSchemaGraphQLSchema.BuilderWithoutTypes.existingSchemaprivate GraphQLSchemaDataFetchingEnvironmentImpl.Builder.graphQLSchemaprivate final GraphQLSchemaDataFetchingEnvironmentImpl.graphQLSchemaprivate final GraphQLSchemaDataFetchingFieldSelectionSetImpl.schemaprivate final GraphQLSchemaDataFetchingFieldSelectionSetImpl.SelectedFieldImpl.schema(package private) GraphQLSchemaSchemaTransformer.DummyRoot.schemaMethods 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 GraphQLSchemaGraphQLSchema.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 GraphQLSchemaSchemaTransformer.transformSchema(GraphQLSchema schema, GraphQLTypeVisitor visitor) Transforms a GraphQLSchema and returns a new GraphQLSchema object.static GraphQLSchemaSchemaTransformer.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 GraphQLSchemaGraphQLSchema.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.BuilderGraphQLSchema.newSchema(GraphQLSchema existingSchema) This allows you to build a schema from an existing schema.private voidSchemaTransformer.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 ObjectSchemaTransformer.transformImpl(GraphQLSchema schema, GraphQLSchemaElement schemaElement, GraphQLTypeVisitor visitor, Consumer<GraphQLSchema.Builder> postTransformation) static GraphQLSchemaSchemaTransformer.transformSchema(GraphQLSchema schema, GraphQLTypeVisitor visitor) Transforms a GraphQLSchema and returns a new GraphQLSchema object.static GraphQLSchemaSchemaTransformer.transformSchema(GraphQLSchema schema, GraphQLTypeVisitor visitor, Consumer<GraphQLSchema.Builder> postTransformation) Transforms a GraphQLSchema and returns a new GraphQLSchema object.private booleanSchemaTransformer.traverseAndTransform(SchemaTransformer.DummyRoot dummyRoot, Map<String, GraphQLNamedType> changedTypes, Map<String, GraphQLTypeReference> typeReferences, GraphQLTypeVisitor visitor, GraphQLCodeRegistry.Builder codeRegistry, GraphQLSchema schema) private GraphQLSchemaGraphQLSchema.Builder.validateSchema(GraphQLSchema graphQLSchema) Constructors in graphql.schema with parameters of type GraphQLSchemaModifierConstructorDescriptionprivateBuilderWithoutTypes(GraphQLSchema existingSchema) privateDataFetchingFieldSelectionSetImpl(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) privateSelectedFieldImpl(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 DiffSetDiffSet.diffSet(GraphQLSchema schemaOld, GraphQLSchema schemaNew) Deprecated.Creates a diff set out of the result of 2 schemas.static SchemaDiffSetSchemaDiffSet.diffSetFromIntrospection(GraphQLSchema oldSchema, GraphQLSchema newSchema) Creates an schema diff set out of the result of 2 introspection queries.static SchemaDiffSetSchemaDiffSet.diffSetFromSdl(GraphQLSchema oldSchema, GraphQLSchema newSchema) Creates an schema diff set out of the two SDL definition Strings.private static StringSchemaDiffSet.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 voidSchemaGraphFactory.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 voidSchemaGraphFactory.handleDirective(Vertex directive, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidSchemaGraphFactory.handleField(Vertex fieldVertex, GraphQLFieldDefinition fieldDefinition, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidSchemaGraphFactory.handleInputField(Vertex inputFieldVertex, GraphQLInputObjectField inputField, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidSchemaGraphFactory.handleInputObject(Vertex inputObject, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidSchemaGraphFactory.handleInterfaceVertex(Vertex interfaceVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidSchemaGraphFactory.handleObjectVertex(Vertex objectVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidSchemaGraphFactory.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 GraphQLSchemaEditOperationAnalyzer.newSchemaprivate final GraphQLSchemaEditOperationAnalyzer.oldSchemaConstructors 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 GraphQLSchemaSchemaGenerator.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 aTypeDefinitionRegistryand aRuntimeWiringand put them together to create a executable schema controlled by the provided options.SchemaGenerator.makeExecutableSchema(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring) This will take aTypeDefinitionRegistryand aRuntimeWiringand put them together to create a executable schemaprivate GraphQLSchemaSchemaGenerator.makeExecutableSchemaImpl(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring, Map<String, OperationTypeDefinition> operationTypeDefinitions, SchemaGenerator.Options options) static GraphQLSchemaUnExecutableSchemaGenerator.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 GraphQLObjectTypeSchemaUtil.getOperationRootType(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition) SchemaUtil.groupImplementationsForInterfacesAndObjects(GraphQLSchema schema) static voidSchemaUtil.replaceTypeReferences(GraphQLSchema schema) static voidSchemaUtil.visitPartiallySchema(GraphQLSchema partiallyBuiltSchema, GraphQLTypeVisitor... visitors) Called to visit a partially built schema (duringGraphQLSchemabuild 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 GraphQLSchemaFieldVisibilitySchemaTransformation.apply(GraphQLSchema schema) private GraphQLSchemaFieldVisibilitySchemaTransformation.removeUnreferencedTypes(Set<GraphQLType> markedForRemovalTypes, GraphQLSchema connectedSchema) Methods in graphql.schema.transform with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionfinal GraphQLSchemaFieldVisibilitySchemaTransformation.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 GraphQLSchemaFieldVisibilitySchemaTransformation.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 SchemaUsageSchemaUsageSupport.getSchemaUsage(GraphQLSchema schema) This builds outSchemaUsagestatistics about the usage of types and directives within a schemaSchemaUsage.getUnReferencedElements(GraphQLSchema schema) This returns all the unreferenced named elements in a schema.private booleanSchemaUsage.isNamedElementReferenced(GraphQLSchema schema, String elementName, Set<String> pathSoFar) private booleanSchemaUsage.isReferencedImpl(GraphQLSchema schema, String elementName, Set<String> pathSoFar) booleanSchemaUsage.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 booleanAppliedDirectiveArgumentsAreValid.isValidExternalValue(GraphQLSchema schema, Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext, Locale locale) private booleanDefaultValuesAreValid.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 GraphQLSchemaAnonymizer.anonymizeSchema(GraphQLSchema schema) static GraphQLSchemaAnonymizer.anonymizeSchema(String sdl) Anonymizer.AnonymizeResult.getSchema()Methods in graphql.util with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionstatic GraphQLSchemaAnonymizer.anonymizeSchema(GraphQLSchema schema) static Anonymizer.AnonymizeResultAnonymizer.anonymizeSchemaAndQueries(GraphQLSchema schema, List<String> queries) static Anonymizer.AnonymizeResultAnonymizer.anonymizeSchemaAndQueries(GraphQLSchema schema, List<String> queries, Map<String, Object> variables) private static GraphQLTypeAnonymizer.fromTypeToGraphQLType(Type type, GraphQLSchema schema) private static Set<GraphQLFieldDefinition> Anonymizer.getSameFields(String fieldName, String objectOrInterfaceName, Map<String, List<GraphQLImplementingType>> interfaceToImplementations, GraphQLSchema schema) private static voidAnonymizer.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 StringAnonymizer.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 GraphQLSchemaTraversalContext.schemaprivate final GraphQLSchemaValidationContext.schemaMethods in graphql.validation that return GraphQLSchemaMethods in graphql.validation with parameters of type GraphQLSchemaModifier and TypeMethodDescriptionprivate GraphQLFieldDefinitionTraversalContext.getFieldDef(GraphQLSchema schema, GraphQLType parentType, Field field) (package private) booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLInputObjectType type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) private booleanValidationUtil.isValidLiteralValue(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, Locale locale) booleanValidationUtil.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