Uses of Class
graphql.schema.GraphQLSchema
-
-
Uses of GraphQLSchema in graphql
Fields in graphql declared as GraphQLSchema Modifier and Type Field Description private GraphQLSchemaGraphQL.Builder. graphQLSchemaprivate GraphQLSchemaGraphQL. graphQLSchemaprivate GraphQLSchemaTypeResolutionEnvironment. schemaMethods in graphql that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaGraphQL. getGraphQLSchema()GraphQLSchemaTypeResolutionEnvironment. getSchema()Methods in graphql with parameters of type GraphQLSchema Modifier and Type Method Description private java.util.concurrent.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(java.util.concurrent.atomic.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 java.util.concurrent.CompletableFuture<ExecutionResult>GraphQL. parseValidateAndExecute(ExecutionInput executionInput, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)GraphQL.BuilderGraphQL.Builder. schema(GraphQLSchema graphQLSchema)private java.util.List<ValidationError>GraphQL. validate(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState)static java.util.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 java.util.List<ValidationError>ParseAndValidate. validate(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull java.util.function.Predicate<java.lang.Class<?>> rulePredicate)This can be called to validate a parsed graphql query, with the JVM default locale.static java.util.List<ValidationError>ParseAndValidate. validate(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull java.util.function.Predicate<java.lang.Class<?>> rulePredicate, @NotNull java.util.Locale locale)This can be called to validate a parsed graphql query.static java.util.List<ValidationError>ParseAndValidate. validate(@NotNull GraphQLSchema graphQLSchema, @NotNull Document parsedDocument, @NotNull java.util.Locale locale)This can be called to validate a parsed graphql query.Constructors in graphql with parameters of type GraphQLSchema Constructor Description Builder(GraphQLSchema graphQLSchema) -
Uses of GraphQLSchema in graphql.analysis
Fields in graphql.analysis declared as GraphQLSchema Modifier and Type Field Description private GraphQLSchemaNodeVisitorWithTypeTracking. schemaprivate GraphQLSchemaQueryComplexityCalculator.Builder. schemaprivate GraphQLSchemaQueryComplexityCalculator. schemaprivate GraphQLSchemaQueryTransformer.Builder. schemaprivate GraphQLSchemaQueryTransformer. schemaprivate GraphQLSchemaQueryTraverser.Builder. schemaprivate GraphQLSchemaQueryTraverser. schemaprivate GraphQLSchemaQueryVisitorFieldArgumentEnvironmentImpl. schemaprivate GraphQLSchemaQueryVisitorFieldArgumentValueEnvironmentImpl. schemaprivate GraphQLSchemaQueryVisitorFieldEnvironmentImpl. schemaprivate GraphQLSchemaQueryVisitorFragmentDefinitionEnvironmentImpl. schemaprivate GraphQLSchemaQueryVisitorFragmentSpreadEnvironmentImpl. schemaprivate GraphQLSchemaQueryVisitorInlineFragmentEnvironmentImpl. schemaMethods in graphql.analysis that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaQueryVisitorFieldArgumentEnvironment. getSchema()GraphQLSchemaQueryVisitorFieldArgumentEnvironmentImpl. getSchema()GraphQLSchemaQueryVisitorFieldArgumentValueEnvironment. getSchema()GraphQLSchemaQueryVisitorFieldArgumentValueEnvironmentImpl. getSchema()GraphQLSchemaQueryVisitorFieldEnvironment. getSchema()GraphQLSchemaQueryVisitorFieldEnvironmentImpl. getSchema()GraphQLSchemaQueryVisitorFragmentDefinitionEnvironment. getSchema()GraphQLSchemaQueryVisitorFragmentDefinitionEnvironmentImpl. getSchema()GraphQLSchemaQueryVisitorFragmentSpreadEnvironment. getSchema()GraphQLSchemaQueryVisitorFragmentSpreadEnvironmentImpl. getSchema()GraphQLSchemaQueryVisitorInlineFragmentEnvironment. getSchema()GraphQLSchemaQueryVisitorInlineFragmentEnvironmentImpl. getSchema()Methods in graphql.analysis with parameters of type GraphQLSchema Modifier and Type Method Description QueryComplexityCalculator.BuilderQueryComplexityCalculator.Builder. schema(GraphQLSchema graphQLSchema)QueryTransformer.BuilderQueryTransformer.Builder. schema(GraphQLSchema schema)The schema used to identify the types of the query.QueryTraverser.BuilderQueryTraverser.Builder. schema(GraphQLSchema schema)The schema used to identify the types of the query.Constructors in graphql.analysis with parameters of type GraphQLSchema Constructor Description NodeVisitorWithTypeTracking(QueryVisitor preOrderCallback, QueryVisitor postOrderCallback, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLSchema schema, java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName)QueryTransformer(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName, java.util.Map<java.lang.String,java.lang.Object> variables)QueryTraverser(GraphQLSchema schema, Document document, java.lang.String operation, CoercedVariables coercedVariables)QueryTraverser(GraphQLSchema schema, Document document, java.lang.String operation, RawVariables rawVariables)QueryTraverser(GraphQLSchema schema, Node root, GraphQLCompositeType rootParentType, java.util.Map<java.lang.String,FragmentDefinition> fragmentsByName, CoercedVariables coercedVariables)QueryVisitorFieldArgumentEnvironmentImpl(GraphQLFieldDefinition fieldDefinition, Argument argument, GraphQLArgument graphQLArgument, java.lang.Object argumentValue, java.util.Map<java.lang.String,java.lang.Object> variables, QueryVisitorFieldEnvironment parentEnvironment, TraverserContext<Node> traverserContext, GraphQLSchema schema)QueryVisitorFieldArgumentValueEnvironmentImpl(GraphQLSchema schema, GraphQLFieldDefinition fieldDefinition, GraphQLArgument graphQLArgument, QueryVisitorFieldArgumentInputValue argumentInputValue, TraverserContext<Node> traverserContext, java.util.Map<java.lang.String,java.lang.Object> variables)QueryVisitorFieldEnvironmentImpl(boolean typeNameIntrospectionField, Field field, GraphQLFieldDefinition fieldDefinition, GraphQLOutputType parentType, GraphQLFieldsContainer unmodifiedParentType, QueryVisitorFieldEnvironment parentEnvironment, java.util.Map<java.lang.String,java.lang.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 GraphQLSchema Modifier and Type Field Description private GraphQLSchemaExecutionContext. graphQLSchema(package private) GraphQLSchemaExecutionContextBuilder. graphQLSchemaprivate GraphQLSchemaFieldCollectorParameters.Builder. graphQLSchemaprivate GraphQLSchemaFieldCollectorParameters. graphQLSchemaprivate GraphQLSchemaTypeResolutionParameters.Builder. schemaprivate GraphQLSchemaTypeResolutionParameters. schemaMethods in graphql.execution that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaExecutionContext. getGraphQLSchema()GraphQLSchemaFieldCollectorParameters. getGraphQLSchema()GraphQLSchemaTypeResolutionParameters. getSchema()Methods in graphql.execution with parameters of type GraphQLSchema Modifier and Type Method Description static CoercedVariablesValuesResolver. coerceVariableValues(GraphQLSchema schema, java.util.List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, java.util.Locale locale)This method coerces the "raw" variables values provided to the engine.java.util.concurrent.CompletableFuture<ExecutionResult>Execution. execute(Document document, GraphQLSchema graphQLSchema, ExecutionId executionId, ExecutionInput executionInput, InstrumentationState instrumentationState)(package private) static CoercedVariablesValuesResolverConversion. externalValueToInternalValueForVariables(InputInterceptor inputInterceptor, GraphQLSchema schema, java.util.List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, java.util.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 java.util.Map<java.lang.String,NormalizedInputValue>ValuesResolver. getNormalizedVariableValues(GraphQLSchema schema, java.util.List<VariableDefinition> variableDefinitions, RawVariables rawVariables, GraphQLContext graphqlContext, java.util.Locale locale)Normalized variables values are Literals with type information.static GraphQLTypeTypeFromAST. getTypeFromAST(GraphQLSchema schema, Type type)ExecutionContextBuilderExecutionContextBuilder. graphQLSchema(GraphQLSchema graphQLSchema)FieldCollectorParameters.BuilderFieldCollectorParameters.Builder. schema(GraphQLSchema graphQLSchema)TypeResolutionParameters.BuilderTypeResolutionParameters.Builder. schema(GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.execution.conditional
Methods in graphql.execution.conditional that return GraphQLSchema Modifier and Type Method Description @Nullable GraphQLSchemaConditionalNodeDecisionEnvironment. getGraphQlSchema()Methods in graphql.execution.conditional with parameters of type GraphQLSchema Modifier and Type Method Description private booleanConditionalNodes. customShouldInclude(java.util.Map<java.lang.String,java.lang.Object> variables, DirectivesContainer<?> element, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext, ConditionalNodeDecision conditionalDecision)booleanConditionalNodes. shouldInclude(DirectivesContainer<?> element, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLSchema graphQLSchema, GraphQLContext graphQLContext) -
Uses of GraphQLSchema in graphql.execution.directives
Fields in graphql.execution.directives declared as GraphQLSchema Modifier and Type Field Description private GraphQLSchemaQueryDirectivesBuilder. schemaprivate GraphQLSchemaQueryDirectivesImpl. schemaMethods in graphql.execution.directives with parameters of type GraphQLSchema Modifier and Type Method Description java.util.Map<java.lang.String,java.util.List<GraphQLDirective>>DirectivesResolver. resolveDirectives(java.util.List<Directive> directives, GraphQLSchema schema, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLContext graphQLContext, java.util.Locale locale)QueryDirectives.BuilderQueryDirectives.Builder. schema(GraphQLSchema schema)QueryDirectives.BuilderQueryDirectivesBuilder. schema(GraphQLSchema schema)Constructors in graphql.execution.directives with parameters of type GraphQLSchema Constructor Description QueryDirectivesImpl(MergedField mergedField, GraphQLSchema schema, java.util.Map<java.lang.String,java.lang.Object> variables, GraphQLContext graphQLContext, java.util.Locale locale) -
Uses of GraphQLSchema in graphql.execution.instrumentation
Methods in graphql.execution.instrumentation that return GraphQLSchema Modifier and Type Method Description @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)Methods in graphql.execution.instrumentation with parameters of type GraphQLSchema Modifier and Type Method Description @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 GraphQLSchema Modifier and Type Field Description private GraphQLSchemaInstrumentationCreateStateParameters. schemaprivate GraphQLSchemaInstrumentationExecutionParameters. schemaMethods in graphql.execution.instrumentation.parameters that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaInstrumentationCreateStateParameters. getSchema()GraphQLSchemaInstrumentationExecutionParameters. getSchema()Constructors in graphql.execution.instrumentation.parameters with parameters of type GraphQLSchema Constructor Description InstrumentationCreateStateParameters(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 GraphQLSchema Modifier and Type Method Description private GraphQLSchemaIntrospectionWithDirectivesSupport. addDirectiveDefinitionFilter(GraphQLSchema schema)GraphQLSchemaIntrospectionWithDirectivesSupport. apply(GraphQLSchema schema)This will transform the schema to have the new extension shapesGraphQLSchemaIntrospectionDataFetchingEnvironment. getGraphQLSchema()GraphQLSchemaIntrospectionWithDirectivesSupport.DirectivePredicateEnvironment. getSchema()Methods in graphql.introspection with parameters of type GraphQLSchema Modifier and Type Method Description private GraphQLSchemaIntrospectionWithDirectivesSupport. addDirectiveDefinitionFilter(GraphQLSchema schema)GraphQLSchemaIntrospectionWithDirectivesSupport. apply(GraphQLSchema schema)This will transform the schema to have the new extension shapesprivate @NotNull IntrospectionWithDirectivesSupport.DirectivePredicateEnvironmentIntrospectionWithDirectivesSupport. buildDirectivePredicateEnv(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, java.lang.String directiveName)private java.util.List<GraphQLAppliedDirective>IntrospectionWithDirectivesSupport. filterAppliedDirectives(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, java.util.List<GraphQLAppliedDirective> directives)private java.util.List<GraphQLDirective>IntrospectionWithDirectivesSupport. filterDirectives(GraphQLSchema schema, boolean isDefinedDirective, GraphQLDirectiveContainer container, java.util.List<GraphQLDirective> directives)static GraphQLFieldDefinitionIntrospection. getFieldDef(GraphQLSchema schema, GraphQLCompositeType parentType, java.lang.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 GraphQLSchema Modifier and Type Field Description private GraphQLSchemaFieldCollectorNormalizedQueryParams.Builder. graphQLSchemaprivate GraphQLSchemaFieldCollectorNormalizedQueryParams. graphQLSchemaMethods in graphql.normalized that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaFieldCollectorNormalizedQueryParams. getGraphQLSchema()Methods in graphql.normalized with parameters of type GraphQLSchema Modifier and Type Method Description static ExecutableNormalizedOperationToAstCompiler.CompilerResultExecutableNormalizedOperationToAstCompiler. compileToDocument(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable java.lang.String operationName, @NotNull java.util.List<ExecutableNormalizedField> topLevelFields, @NotNull java.util.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.static ExecutableNormalizedOperationToAstCompiler.CompilerResultExecutableNormalizedOperationToAstCompiler. compileToDocument(@NotNull GraphQLSchema schema, OperationDefinition.Operation operationKind, @Nullable java.lang.String operationName, @NotNull java.util.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.static ExecutableNormalizedOperationExecutableNormalizedOperationFactory. createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, CoercedVariables coercedVariableValues)This will create a runtime representation of the graphql operation that would be executed in a runtime sense.static ExecutableNormalizedOperationExecutableNormalizedOperationFactory. createExecutableNormalizedOperation(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition, java.util.Map<java.lang.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, java.util.Map<java.lang.String,FragmentDefinition> fragments, RawVariables rawVariables, ExecutableNormalizedOperationFactory.Options options)static ExecutableNormalizedOperationExecutableNormalizedOperationFactory. createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, RawVariables rawVariables)This will create a runtime representation of the graphql operation that would be executed in a runtime sense.static ExecutableNormalizedOperationExecutableNormalizedOperationFactory. createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, java.lang.String operationName, RawVariables rawVariables, GraphQLContext graphQLContext, java.util.Locale locale)This will create a runtime representation of the graphql operation that would be executed in a runtime sense.static ExecutableNormalizedOperationExecutableNormalizedOperationFactory. createExecutableNormalizedOperationWithRawVariables(GraphQLSchema graphQLSchema, Document document, java.lang.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, java.util.Map<java.lang.String,FragmentDefinition> fragments, CoercedVariables coercedVariableValues, @Nullable java.util.Map<java.lang.String,NormalizedInputValue> normalizedVariableValues, ExecutableNormalizedOperationFactory.Options options)Creates a new ExecutableNormalizedOperation for the provided queryvoidExecutableNormalizedField. forEachFieldDefinition(GraphQLSchema schema, java.util.function.Consumer<GraphQLFieldDefinition> consumer)private static @NotNull GraphQLFieldDefinitionExecutableNormalizedOperationToAstCompiler. getFieldDefinition(GraphQLSchema schema, java.lang.String parentType, ExecutableNormalizedField nf)java.util.List<GraphQLFieldDefinition>ExecutableNormalizedField. getFieldDefinitions(GraphQLSchema schema)private java.util.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)GraphQLOutputTypeExecutableNormalizedField. getType(GraphQLSchema schema)java.util.List<GraphQLOutputType>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, java.util.List<ExecutableNormalizedField> childrenWithSameResultKey, GraphQLSchema schema)private java.util.Set<GraphQLObjectType>ExecutableNormalizedOperationFactory. narrowDownPossibleObjects(java.util.Set<GraphQLObjectType> currentOnes, GraphQLCompositeType typeCondition, GraphQLSchema graphQLSchema)private static GraphQLFieldDefinitionExecutableNormalizedField. resolveIntrospectionField(GraphQLSchema schema, java.util.Set<java.lang.String> objectTypeNames, java.lang.String fieldName)private com.google.common.collect.ImmutableSet<GraphQLObjectType>ExecutableNormalizedOperationFactory. resolvePossibleObjects(GraphQLCompositeType type, GraphQLSchema graphQLSchema)private com.google.common.collect.ImmutableSet<GraphQLObjectType>ExecutableNormalizedOperationFactory. resolvePossibleObjects(java.util.List<GraphQLFieldDefinition> defs, GraphQLSchema graphQLSchema)FieldCollectorNormalizedQueryParams.BuilderFieldCollectorNormalizedQueryParams.Builder. schema(GraphQLSchema graphQLSchema)private static java.util.Map<java.lang.String,Field>ExecutableNormalizedOperationToAstCompiler. selectionForNormalizedField(GraphQLSchema schema, ExecutableNormalizedField executableNormalizedField, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)private static FieldExecutableNormalizedOperationToAstCompiler. selectionForNormalizedField(GraphQLSchema schema, java.lang.String objectTypeName, ExecutableNormalizedField executableNormalizedField, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator)private static java.util.List<Selection<?>>ExecutableNormalizedOperationToAstCompiler. subselectionsForNormalizedField(GraphQLSchema schema, @NotNull java.lang.String parentOutputType, java.util.List<ExecutableNormalizedField> executableNormalizedFields, @NotNull java.util.Map<ExecutableNormalizedField,QueryDirectives> normalizedFieldToQueryDirectives, VariableAccumulator variableAccumulator) -
Uses of GraphQLSchema in graphql.schema
Fields in graphql.schema declared as GraphQLSchema Modifier and Type Field Description private GraphQLSchemaGraphQLSchema.BuilderWithoutTypes. existingSchemaprivate GraphQLSchemaDataFetchingEnvironmentImpl.Builder. graphQLSchemaprivate GraphQLSchemaDataFetchingEnvironmentImpl. graphQLSchemaprivate GraphQLSchemaDataFetchingFieldSelectionSetImpl. schemaprivate GraphQLSchemaDataFetchingFieldSelectionSetImpl.SelectedFieldImpl. schema(package private) GraphQLSchemaSchemaTransformer.DummyRoot. schemaMethods in graphql.schema that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaGraphQLSchema.Builder. build()Builds the schemaGraphQLSchemaGraphQLSchema.Builder. build(java.util.Set<GraphQLType> additionalTypes)Deprecated.- Use theGraphQLSchema.Builder.additionalType(GraphQLType)methodsGraphQLSchemaGraphQLSchema.Builder. build(java.util.Set<GraphQLType> additionalTypes, java.util.Set<GraphQLDirective> additionalDirectives)Deprecated.GraphQLSchemaGraphQLSchema.BuilderWithoutTypes. build()private GraphQLSchemaGraphQLSchema.Builder. buildImpl()GraphQLSchemaDataFetchingEnvironment. getGraphQLSchema()GraphQLSchemaDataFetchingEnvironmentImpl. getGraphQLSchema()GraphQLSchemaDelegatingDataFetchingEnvironment. getGraphQLSchema()GraphQLSchemaSchemaTransformer.DummyRoot. rebuildSchema(GraphQLCodeRegistry.Builder codeRegistry)GraphQLSchemaGraphQLSchema. transform(java.util.function.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.GraphQLSchemaSchemaTransformer. transform(GraphQLSchema schema, GraphQLTypeVisitor visitor)GraphQLSchemaSchemaTransformer. transform(GraphQLSchema schema, GraphQLTypeVisitor visitor, java.util.function.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, java.util.function.Consumer<GraphQLSchema.Builder> postTransformation)Transforms a GraphQLSchema and returns a new GraphQLSchema object.GraphQLSchemaGraphQLSchema. transformWithoutTypes(java.util.function.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 GraphQLSchema Modifier and Type Method Description TraverserResultSchemaTraverser. depthFirstFullSchema(GraphQLTypeVisitor typeVisitor, GraphQLSchema schema)This will visit all of the schema elements in the specified schema and invokes the visitor.TraverserResultSchemaTraverser. depthFirstFullSchema(java.util.List<GraphQLTypeVisitor> typeVisitors, GraphQLSchema schema, java.util.Map<java.lang.Class<?>,java.lang.Object> rootVars)This will visit all of the schema elements in the specified schema, invoking each visitor in turn.DataFetchingEnvironmentImpl.BuilderDataFetchingEnvironmentImpl.Builder. graphQLSchema(GraphQLSchema graphQLSchema)static DataFetchingFieldSelectionSetDataFetchingFieldSelectionSetImpl. newCollector(GraphQLSchema schema, GraphQLOutputType fieldType, java.util.function.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, java.util.Map<java.lang.String,GraphQLNamedType> changedTypes)private static GraphQLAppliedDirective[]GraphQLSchema. schemaAppliedDirectivesArray(GraphQLSchema existingSchema)private static GraphQLDirective[]GraphQLSchema. schemaDirectivesArray(GraphQLSchema existingSchema)GraphQLSchemaSchemaTransformer. transform(GraphQLSchema schema, GraphQLTypeVisitor visitor)GraphQLSchemaSchemaTransformer. transform(GraphQLSchema schema, GraphQLTypeVisitor visitor, java.util.function.Consumer<GraphQLSchema.Builder> postTransformation)private java.lang.ObjectSchemaTransformer. transformImpl(GraphQLSchema schema, GraphQLSchemaElement schemaElement, GraphQLTypeVisitor visitor, java.util.function.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, java.util.function.Consumer<GraphQLSchema.Builder> postTransformation)Transforms a GraphQLSchema and returns a new GraphQLSchema object.private booleanSchemaTransformer. traverseAndTransform(SchemaTransformer.DummyRoot dummyRoot, java.util.Map<java.lang.String,GraphQLNamedType> changedTypes, java.util.Map<java.lang.String,GraphQLTypeReference> typeReferences, GraphQLTypeVisitor visitor, GraphQLCodeRegistry.Builder codeRegistry, GraphQLSchema schema)private GraphQLSchemaGraphQLSchema.Builder. validateSchema(GraphQLSchema graphQLSchema)Constructors in graphql.schema with parameters of type GraphQLSchema Constructor Description BuilderWithoutTypes(GraphQLSchema existingSchema)DataFetchingFieldSelectionSetImpl(java.util.function.Supplier<ExecutableNormalizedField> normalizedFieldSupplier, GraphQLSchema schema)DummyRoot(GraphQLSchema schema)GraphQLSchema(GraphQLSchema existingSchema, GraphQLCodeRegistry codeRegistry, com.google.common.collect.ImmutableMap<java.lang.String,GraphQLNamedType> typeMap, com.google.common.collect.ImmutableMap<java.lang.String,com.google.common.collect.ImmutableList<GraphQLObjectType>> interfaceNameToObjectTypes)SelectedFieldImpl(java.lang.String simpleQualifiedName, java.lang.String fullyQualifiedName, ExecutableNormalizedField executableNormalizedField, GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.schema.diff
Methods in graphql.schema.diff with parameters of type GraphQLSchema Modifier and Type Method Description static 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 java.lang.StringSchemaDiffSet. getSchemaSdl(GraphQLSchema schema)private static java.util.Map<java.lang.String,java.lang.Object>DiffSet. introspect(GraphQLSchema schema)Deprecated.private static java.util.Map<java.lang.String,java.lang.Object>SchemaDiffSet. introspect(GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLSchema Modifier and Type Method Description private voidSchemaGraphFactory. addSchemaVertex(SchemaGraph schemaGraph, GraphQLSchema graphQLSchema)SchemaGraphSchemaGraphFactory. createGraph(GraphQLSchema schema)EditOperationAnalysisResultSchemaDiffing. diffAndAnalyze(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2)java.util.List<EditOperation>SchemaDiffing. diffGraphQLSchema(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2)DiffImpl.OptimalEditSchemaDiffing. diffGraphQLSchemaAllEdits(GraphQLSchema graphQLSchema1, GraphQLSchema graphQLSchema2, java.util.concurrent.atomic.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 GraphQLSchema Modifier and Type Field Description private GraphQLSchemaEditOperationAnalyzer. newSchemaprivate GraphQLSchemaEditOperationAnalyzer. oldSchemaConstructors in graphql.schema.diffing.ana with parameters of type GraphQLSchema Constructor Description EditOperationAnalyzer(GraphQLSchema oldSchema, GraphQLSchema newSchema, SchemaGraph oldSchemaGraph, SchemaGraph newSchemaGraph) -
Uses of GraphQLSchema in graphql.schema.idl
Methods in graphql.schema.idl that return GraphQLSchema Modifier and Type Method Description static GraphQLSchemaSchemaGenerator. createdMockedSchema(java.lang.String sdl)Created a schema from the SDL that is has a mocked runtime.GraphQLSchemaSchemaGenerator. 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.GraphQLSchemaSchemaGenerator. makeExecutableSchema(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring)This will take aTypeDefinitionRegistryand aRuntimeWiringand put them together to create a executable schemaprivate GraphQLSchemaSchemaGenerator. makeExecutableSchemaImpl(TypeDefinitionRegistry typeRegistry, RuntimeWiring wiring, java.util.Map<java.lang.String,OperationTypeDefinition> operationTypeDefinitions, SchemaGenerator.Options options)static GraphQLSchemaUnExecutableSchemaGenerator. makeUnExecutableSchema(TypeDefinitionRegistry registry)GraphQLSchemaSchemaDirectiveWiringSchemaGeneratorPostProcessing. process(GraphQLSchema originalSchema)GraphQLSchemaSchemaGeneratorPostProcessing. 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 GraphQLSchema Modifier and Type Method Description private SchemaPrinter.SchemaElementPrinter<GraphQLSchema>SchemaPrinter. schemaPrinter()Methods in graphql.schema.idl with parameters of type GraphQLSchema Modifier and Type Method Description private java.util.List<GraphQLDirective>SchemaPrinter. getSchemaDirectives(GraphQLSchema schema)java.lang.StringSchemaPrinter. print(GraphQLSchema schema)This can print an in memory GraphQL schema back to a logical schema definitionGraphQLSchemaSchemaDirectiveWiringSchemaGeneratorPostProcessing. process(GraphQLSchema originalSchema)GraphQLSchemaSchemaGeneratorPostProcessing. 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 GraphQLSchema Modifier and Type Method Description static GraphQLObjectTypeSchemaUtil. getOperationRootType(GraphQLSchema graphQLSchema, OperationDefinition operationDefinition)java.util.Map<java.lang.String,java.util.List<GraphQLImplementingType>>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 GraphQLSchema Modifier and Type Method Description GraphQLSchemaFieldVisibilitySchemaTransformation. apply(GraphQLSchema schema)private GraphQLSchemaFieldVisibilitySchemaTransformation. removeUnreferencedTypes(java.util.Set<GraphQLType> markedForRemovalTypes, GraphQLSchema connectedSchema)Methods in graphql.schema.transform with parameters of type GraphQLSchema Modifier and Type Method Description GraphQLSchemaFieldVisibilitySchemaTransformation. apply(GraphQLSchema schema)private java.util.function.Function<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>>FieldVisibilitySchemaTransformation. getChildrenFn(GraphQLSchema schema)private java.util.List<GraphQLObjectType>FieldVisibilitySchemaTransformation. getOperationTypes(GraphQLSchema schema)private java.util.List<GraphQLSchemaElement>FieldVisibilitySchemaTransformation. getRootTypes(GraphQLSchema schema)private GraphQLSchemaFieldVisibilitySchemaTransformation. removeUnreferencedTypes(java.util.Set<GraphQLType> markedForRemovalTypes, GraphQLSchema connectedSchema) -
Uses of GraphQLSchema in graphql.schema.usage
Methods in graphql.schema.usage with parameters of type GraphQLSchema Modifier and Type Method Description static SchemaUsageSchemaUsageSupport. getSchemaUsage(GraphQLSchema schema)This builds outSchemaUsagestatistics about the usage of types and directives within a schemajava.util.Set<GraphQLNamedSchemaElement>SchemaUsage. getUnReferencedElements(GraphQLSchema schema)This returns all the unreferenced named elements in a schema.private booleanSchemaUsage. isNamedElementReferenced(GraphQLSchema schema, java.lang.String elementName, java.util.Set<java.lang.String> pathSoFar)private booleanSchemaUsage. isReferencedImpl(GraphQLSchema schema, java.lang.String elementName, java.util.Set<java.lang.String> pathSoFar)booleanSchemaUsage. isStronglyReferenced(GraphQLSchema schema, java.lang.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 GraphQLSchema Modifier and Type Method Description private booleanAppliedDirectiveArgumentsAreValid. isValidExternalValue(GraphQLSchema schema, java.lang.Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext, java.util.Locale locale)private booleanDefaultValuesAreValid. isValidExternalValue(GraphQLSchema schema, java.lang.Object externalValue, GraphQLInputType type, GraphQLContext graphQLContext)java.util.Set<SchemaValidationError>SchemaValidator. validateSchema(GraphQLSchema schema) -
Uses of GraphQLSchema in graphql.schema.visitor
Methods in graphql.schema.visitor that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaGraphQLSchemaVisitorEnvironment. getSchema()GraphQLSchemaGraphQLSchemaVisitorEnvironmentImpl. getSchema() -
Uses of GraphQLSchema in graphql.util
Fields in graphql.util declared as GraphQLSchema Modifier and Type Field Description private GraphQLSchemaAnonymizer.AnonymizeResult. schemaMethods in graphql.util that return GraphQLSchema Modifier and Type Method Description static GraphQLSchemaAnonymizer. anonymizeSchema(GraphQLSchema schema)static GraphQLSchemaAnonymizer. anonymizeSchema(java.lang.String sdl)GraphQLSchemaAnonymizer.AnonymizeResult. getSchema()Methods in graphql.util with parameters of type GraphQLSchema Modifier and Type Method Description static GraphQLSchemaAnonymizer. anonymizeSchema(GraphQLSchema schema)static Anonymizer.AnonymizeResultAnonymizer. anonymizeSchemaAndQueries(GraphQLSchema schema, java.util.List<java.lang.String> queries)static Anonymizer.AnonymizeResultAnonymizer. anonymizeSchemaAndQueries(GraphQLSchema schema, java.util.List<java.lang.String> queries, java.util.Map<java.lang.String,java.lang.Object> variables)private static GraphQLTypeAnonymizer. fromTypeToGraphQLType(Type type, GraphQLSchema schema)private static java.util.Set<GraphQLFieldDefinition>Anonymizer. getSameFields(java.lang.String fieldName, java.lang.String objectOrInterfaceName, java.util.Map<java.lang.String,java.util.List<GraphQLImplementingType>> interfaceToImplementations, GraphQLSchema schema)private static voidAnonymizer. getSameFieldsImpl(java.lang.String fieldName, java.lang.String curObjectOrInterface, java.util.Map<java.lang.String,java.util.List<GraphQLImplementingType>> interfaceToImplementations, GraphQLSchema schema, java.util.Set<java.lang.String> alreadyChecked, java.util.Set<GraphQLFieldDefinition> result)static java.util.Map<GraphQLNamedSchemaElement,java.lang.String>Anonymizer. recordNewNamesForSchema(GraphQLSchema schema)private static java.lang.StringAnonymizer. rewriteQuery(java.lang.String query, GraphQLSchema schema, java.util.Map<GraphQLNamedSchemaElement,java.lang.String> newNames, java.util.Map<java.lang.String,java.lang.Object> variables)Constructors in graphql.util with parameters of type GraphQLSchema Constructor Description AnonymizeResult(GraphQLSchema schema, java.util.List<java.lang.String> queries) -
Uses of GraphQLSchema in graphql.validation
Fields in graphql.validation declared as GraphQLSchema Modifier and Type Field Description private GraphQLSchemaTraversalContext. schemaprivate GraphQLSchemaValidationContext. schemaMethods in graphql.validation that return GraphQLSchema Modifier and Type Method Description GraphQLSchemaValidationContext. getSchema()Methods in graphql.validation with parameters of type GraphQLSchema Modifier and Type Method Description private GraphQLFieldDefinitionTraversalContext. getFieldDef(GraphQLSchema schema, GraphQLType parentType, Field field)(package private) booleanValidationUtil. isValidLiteralValue(Value<?> value, GraphQLInputObjectType type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)private booleanValidationUtil. isValidLiteralValue(Value<?> value, GraphQLList type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)booleanValidationUtil. isValidLiteralValue(Value<?> value, GraphQLType type, GraphQLSchema schema, GraphQLContext graphQLContext, java.util.Locale locale)java.util.List<ValidationError>Validator. validateDocument(GraphQLSchema schema, Document document, java.util.function.Predicate<java.lang.Class<?>> applyRule, java.util.Locale locale)java.util.List<ValidationError>Validator. validateDocument(GraphQLSchema schema, Document document, java.util.Locale locale)Constructors in graphql.validation with parameters of type GraphQLSchema Constructor Description TraversalContext(GraphQLSchema graphQLSchema)ValidationContext(GraphQLSchema schema, Document document, I18n i18n)
-