Uses of Class
graphql.language.Document
Packages that use Document
Package
Description
-
Uses of Document in graphql
Modifier and TypeFieldDescriptionprivate Document
ParseAndValidateResult.Builder.document
private final Document
ParseAndValidateResult.document
Modifier and TypeMethodDescriptionprivate CompletableFuture
<ExecutionResult> GraphQL.execute
(ExecutionInput executionInput, Document document, GraphQLSchema graphQLSchema, InstrumentationState instrumentationState) 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. -
Uses of Document in graphql.analysis
Fields in graphql.analysis declared as DocumentModifier and TypeFieldDescriptionprivate Document
QueryComplexityCalculator.Builder.document
private final Document
QueryComplexityCalculator.document
private Document
QueryTraverser.Builder.document
Methods in graphql.analysis with parameters of type DocumentModifier and TypeMethodDescriptiondocument to be used to traverse the whole query.Constructors in graphql.analysis with parameters of type DocumentModifierConstructorDescriptionprivate
QueryTraverser
(GraphQLSchema schema, Document document, String operation, CoercedVariables coercedVariables) private
QueryTraverser
(GraphQLSchema schema, Document document, String operation, RawVariables rawVariables) -
Uses of Document in graphql.execution
Fields in graphql.execution declared as DocumentModifier and TypeFieldDescriptionprivate final Document
ExecutionContext.document
(package private) Document
ExecutionContextBuilder.document
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
Fields in graphql.execution.instrumentation declared as DocumentModifier and TypeFieldDescriptionprivate Document
DocumentAndVariables.Builder.document
private final Document
DocumentAndVariables.document
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 TypeMethodDescriptionConstructors in graphql.execution.instrumentation with parameters of type DocumentModifierConstructorDescriptionprivate
DocumentAndVariables
(Document document, Map<String, Object> variables) -
Uses of Document in graphql.execution.instrumentation.parameters
Fields in graphql.execution.instrumentation.parameters declared as DocumentModifier and TypeFieldDescriptionprivate final Document
InstrumentationValidationParameters.document
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
Fields in graphql.execution.preparsed declared as DocumentMethods 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 Document
IntrospectionQueryBuilder.buildDocument
(IntrospectionQueryBuilder.Options options) This will build an introspection query inDocument
formIntrospectionResultToSchema.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
Methods in graphql.language that return DocumentModifier and TypeMethodDescriptionDocument.Builder.build()
Document.deepCopy()
private Document
AstSignature.dropUnusedQueryDefinitions
(Document document, String operationName) private Document
AstSignature.hideLiterals
(boolean signatureMode, Document document) 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.private Document
AstSignature.removeAliases
(Document document) 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.private Document
Document.transform
(Consumer<Document.Builder> builderConsumer) private Document
AstSignature.transformDoc
(Document document, NodeVisitorStub visitor) Document.withNewChildren
(NodeChildrenContainer newChildren) Methods in graphql.language that return types with arguments of type DocumentModifier and TypeMethodDescriptionprivate AstPrinter.NodePrinter
<Document> AstPrinter.document()
private AstPrinter.NodePrinter
<Document> PrettyAstPrinter.document()
Methods in graphql.language with parameters of type DocumentModifier and TypeMethodDescriptionprivate Document
AstSignature.dropUnusedQueryDefinitions
(Document document, String operationName) static Map
<String, FragmentDefinition> NodeUtil.getFragmentsByName
(Document document) static NodeUtil.GetOperationResult
NodeUtil.getOperation
(Document document, String operationName) private Document
AstSignature.hideLiterals
(boolean signatureMode, Document document) 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.private Document
AstSignature.removeAliases
(Document document) 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.private Document
private Document
AstSignature.transformDoc
(Document document, NodeVisitorStub visitor) NodeVisitor.visitDocument
(Document node, TraverserContext<Node> data) NodeVisitorStub.visitDocument
(Document node, TraverserContext<Node> context) Constructors in graphql.language with parameters of type Document -
Uses of Document in graphql.normalized
Fields in graphql.normalized declared as DocumentModifier and TypeFieldDescriptionprivate final Document
ExecutableNormalizedOperationToAstCompiler.CompilerResult.document
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 Document
Parser.parse
(ParserEnvironment environment) Parses a string input into a graphql ASTDocument
static Document
Parses a string input into a graphql ASTDocument
Parser.parseDocument
(ParserEnvironment environment) Parses document text into a graphql ASTDocument
Parser.parseDocument
(Reader reader) Parses reader input into a graphql ASTDocument
Parser.parseDocument
(Reader reader, ParserOptions parserOptions) Deprecated.use {#Parser.parse(ParserEnvironment)
} insteadParser.parseDocument
(String input) Parses a string input into a graphql ASTDocument
Parser.parseDocument
(String input, ParserOptions parserOptions) Deprecated.use {#Parser.parse(ParserEnvironment)
} insteadParser.parseDocument
(String input, String sourceName) Deprecated.use {#Parser.parse(ParserEnvironment)
} insteadprivate Document
Parser.parseDocumentImpl
(ParserEnvironment environment) Methods in graphql.parser with parameters of type DocumentModifier and TypeMethodDescriptionCommentParser.getCommentOnFirstLineOfDocument
(Document node) CommentParser.getCommentsAfterAllDefinitions
(Document node) -
Uses of Document in graphql.schema
Fields in graphql.schema declared as DocumentModifier and TypeFieldDescriptionprivate Document
DataFetchingEnvironmentImpl.Builder.document
private final Document
DataFetchingEnvironmentImpl.document
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
Fields in graphql.schema.diff declared as DocumentModifier and TypeFieldDescription(package private) final Document
DiffCtx.newDoc
private final Document
SchemaDiffSet.newSchemaDoc
(package private) final Document
DiffCtx.oldDoc
private final Document
SchemaDiffSet.oldSchemaDoc
Methods in graphql.schema.diff that return DocumentModifier and TypeMethodDescriptionprivate static Document
SchemaDiffSet.getDocumentFromIntrospection
(Map<String, Object> introspectionResult) private static Document
SchemaDiffSet.getDocumentFromSDLString
(String sdlString) SchemaDiffSet.getNewSchemaDefinitionDoc()
SchemaDiffSet.getOldSchemaDefinitionDoc()
Methods in graphql.schema.diff with parameters of type DocumentModifier and TypeMethodDescriptionprivate void
SchemaDiff.diffSchemaImpl
(Document oldDoc, Document newDoc, DifferenceReporter reporter) private Optional
<SchemaDefinition> SchemaDiff.getSchemaDef
(Document document) private <T extends TypeDefinition>
Optional<T> Constructors in graphql.schema.diff with parameters of type DocumentModifierConstructorDescription(package private)
DiffCtx
(DifferenceReporter reporter, Document oldDoc, Document newDoc) private
SchemaDiffSet
(Document oldSchemaDoc, Document newSchemaDoc, boolean supportsEnforcingDirectives) -
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.util
Methods in graphql.util with parameters of type DocumentModifier and TypeMethodDescriptionprivate static void
Anonymizer.assertUniqueOperation
(Document document) -
Uses of Document in graphql.validation
Fields in graphql.validation declared as DocumentMethods in graphql.validation that return DocumentMethods in graphql.validation with parameters of type DocumentModifier and TypeMethodDescriptionvoid
AbstractRule.checkDocument
(Document document) private void
RulesVisitor.checkDocument
(Document node) void
AbstractRule.documentFinished
(Document document) private void
RulesVisitor.documentFinished
(Document node) 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 TypeMethodDescriptionvoid
ExecutableDefinitions.checkDocument
(Document document) Executable definitions A GraphQL document is only valid for execution if all definitions are either operation or fragment definitions.void
UniqueDirectiveNamesPerLocation.checkDocument
(Document document) void
LoneAnonymousOperation.documentFinished
(Document document) void
NoUnusedFragments.documentFinished
(Document document)
Instrumentation.beginParse(InstrumentationExecutionParameters, InstrumentationState)
instead