Uses of Class
graphql.language.Document
Packages that use Document
Package
Description
-
Uses of Document in graphql
Modifier and TypeMethodDescriptionstatic 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. -
Uses of Document in graphql.analysis
Methods in graphql.analysis with parameters of type DocumentModifier and TypeMethodDescriptiondocument to be used to traverse the whole query. -
Uses of Document in graphql.execution
Methods in graphql.execution that return DocumentMethods in graphql.execution with parameters of type DocumentModifier and TypeMethodDescriptionExecution.execute(Document document, GraphQLSchema graphQLSchema, ExecutionId executionId, ExecutionInput executionInput, InstrumentationState instrumentationState) -
Uses of Document in graphql.execution.instrumentation
Methods in graphql.execution.instrumentation that return DocumentMethods in graphql.execution.instrumentation that return types with arguments of type DocumentModifier and TypeMethodDescription@NotNull InstrumentationContext<Document> ChainedInstrumentation.beginParse(InstrumentationExecutionParameters parameters) ChainedInstrumentation.beginParse(InstrumentationExecutionParameters parameters, InstrumentationState state) default @NotNull InstrumentationContext<Document> Instrumentation.beginParse(InstrumentationExecutionParameters parameters) Deprecated.default @Nullable InstrumentationContext<Document> Instrumentation.beginParse(InstrumentationExecutionParameters parameters, InstrumentationState state) This is called just before a query is parsed.NoContextChainedInstrumentation.beginParse(InstrumentationExecutionParameters parameters, InstrumentationState state) @NotNull InstrumentationContext<Document> SimplePerformantInstrumentation.beginParse(InstrumentationExecutionParameters parameters) @Nullable InstrumentationContext<Document> SimplePerformantInstrumentation.beginParse(InstrumentationExecutionParameters parameters, InstrumentationState state) Methods in graphql.execution.instrumentation with parameters of type DocumentModifier and TypeMethodDescription -
Uses of Document in graphql.execution.instrumentation.parameters
Methods in graphql.execution.instrumentation.parameters that return DocumentConstructors in graphql.execution.instrumentation.parameters with parameters of type DocumentModifierConstructorDescriptionInstrumentationValidationParameters(ExecutionInput executionInput, Document document, GraphQLSchema schema, InstrumentationState instrumentationState) -
Uses of Document in graphql.execution.instrumentation.tracing
Methods in graphql.execution.instrumentation.tracing that return types with arguments of type DocumentModifier and TypeMethodDescriptionTracingInstrumentation.beginParse(InstrumentationExecutionParameters parameters, InstrumentationState rawState) -
Uses of Document in graphql.execution.preparsed
Methods in graphql.execution.preparsed that return DocumentConstructors in graphql.execution.preparsed with parameters of type DocumentModifierConstructorDescriptionPreparsedDocumentEntry(Document document) PreparsedDocumentEntry(Document document, List<? extends GraphQLError> errors) -
Uses of Document in graphql.introspection
Methods in graphql.introspection that return DocumentModifier and TypeMethodDescriptionstatic DocumentIntrospectionQueryBuilder.buildDocument(IntrospectionQueryBuilder.Options options) This will build an introspection query inDocumentformIntrospectionResultToSchema.createSchemaDefinition(ExecutionResult introspectionResult) Returns a IDL Document that represents the schema as defined by the introspection execution resultIntrospectionResultToSchema.createSchemaDefinition(Map<String, Object> introspectionResult) Returns a IDL Document that represents the schema as defined by the introspection result map -
Uses of Document in graphql.language
Subclasses with type arguments of type Document in graphql.languageMethods in graphql.language that return DocumentModifier and TypeMethodDescriptionDocument.Builder.build()Document.deepCopy()AstSignature.privacySafeQuery(Document document, String operationName) This can produce a "privacy safe" AST that some what conforms to the algorithm as outlined here which removes excess operations, removes any field aliases, hides some literal values and sorts the result.AstSignature.signatureQuery(Document document, String operationName) This can produce a "signature" canonical AST that conforms to the algorithm as outlined here which removes excess operations, removes any field aliases, hides literal values and sorts the result into a canonical query.Document.transform(Consumer<Document.Builder> builderConsumer) Document.withNewChildren(NodeChildrenContainer newChildren) Methods in graphql.language with parameters of type DocumentModifier and TypeMethodDescriptionstatic Map<String, FragmentDefinition> NodeUtil.getFragmentsByName(Document document) static NodeUtil.GetOperationResultNodeUtil.getOperation(Document document, String operationName) AstSignature.privacySafeQuery(Document document, String operationName) This can produce a "privacy safe" AST that some what conforms to the algorithm as outlined here which removes excess operations, removes any field aliases, hides some literal values and sorts the result.AstSignature.signatureQuery(Document document, String operationName) This can produce a "signature" canonical AST that conforms to the algorithm as outlined here which removes excess operations, removes any field aliases, hides literal values and sorts the result into a canonical query.NodeVisitor.visitDocument(Document node, TraverserContext<Node> data) NodeVisitorStub.visitDocument(Document node, TraverserContext<Node> context) -
Uses of Document in graphql.normalized
Methods in graphql.normalized that return DocumentModifier and TypeMethodDescriptionExecutableNormalizedOperationToAstCompiler.CompilerResult.getDocument()Methods in graphql.normalized with parameters of type DocumentModifier and TypeMethodDescriptionExecutableNormalizedOperationFactory.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.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.Constructors in graphql.normalized with parameters of type Document -
Uses of Document in graphql.parser
Methods in graphql.parser that return DocumentModifier and TypeMethodDescriptionGraphqlAntlrToLanguage.createDocument(GraphqlParser.DocumentContext ctx) static DocumentParser.parse(ParserEnvironment environment) Parses a string input into a graphql ASTDocumentstatic DocumentParses a string input into a graphql ASTDocumentParser.parseDocument(ParserEnvironment environment) Parses document text into a graphql ASTDocumentParser.parseDocument(Reader reader) Parses reader input into a graphql ASTDocumentParser.parseDocument(Reader reader, ParserOptions parserOptions) Deprecated.use {#Parser.parse(ParserEnvironment)} insteadParser.parseDocument(String input) Parses a string input into a graphql ASTDocumentParser.parseDocument(String input, ParserOptions parserOptions) Deprecated.use {#Parser.parse(ParserEnvironment)} insteadParser.parseDocument(String input, String sourceName) Deprecated.use {#Parser.parse(ParserEnvironment)} insteadMethods in graphql.parser with parameters of type DocumentModifier and TypeMethodDescriptionCommentParser.getCommentOnFirstLineOfDocument(Document node) CommentParser.getCommentsAfterAllDefinitions(Document node) -
Uses of Document in graphql.schema
Methods in graphql.schema that return DocumentModifier and TypeMethodDescriptionDataFetchingEnvironment.getDocument()DataFetchingEnvironmentImpl.getDocument()DelegatingDataFetchingEnvironment.getDocument()Methods in graphql.schema with parameters of type DocumentModifier and TypeMethodDescription -
Uses of Document in graphql.schema.diff
Methods in graphql.schema.diff that return DocumentModifier and TypeMethodDescriptionSchemaDiffSet.getNewSchemaDefinitionDoc()SchemaDiffSet.getOldSchemaDefinitionDoc() -
Uses of Document in graphql.schema.idl
Methods in graphql.schema.idl with parameters of type DocumentModifier and TypeMethodDescriptionSchemaParser.buildRegistry(Document document) special method to build directly a TypeDefinitionRegistry from a Document useful for Introspection => IDL (Document) => TypeDefinitionRegistryThis can print an in memory GraphQL IDL document back to a logical schema definition. -
Uses of Document in graphql.validation
Methods in graphql.validation that return DocumentMethods in graphql.validation with parameters of type DocumentModifier and TypeMethodDescriptionvoidAbstractRule.checkDocument(Document document) voidAbstractRule.documentFinished(Document document) 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 DocumentModifierConstructorDescriptionValidationContext(GraphQLSchema schema, Document document, I18n i18n) -
Uses of Document in graphql.validation.rules
Methods in graphql.validation.rules with parameters of type DocumentModifier and TypeMethodDescriptionvoidExecutableDefinitions.checkDocument(Document document) Executable definitions A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions.voidUniqueDirectiveNamesPerLocation.checkDocument(Document document) voidLoneAnonymousOperation.documentFinished(Document document) voidNoUnusedFragments.documentFinished(Document document)
Instrumentation.beginParse(InstrumentationExecutionParameters, InstrumentationState)instead