Package | Description |
---|---|
graphql | |
graphql.analysis | |
graphql.execution | |
graphql.execution.instrumentation | |
graphql.execution.instrumentation.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
graphql.execution.instrumentation.parameters | |
graphql.execution.instrumentation.tracing | |
graphql.execution.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
graphql.execution.preparsed | |
graphql.introspection | |
graphql.language | |
graphql.parser | |
graphql.schema | |
graphql.schema.idl | |
graphql.validation | |
graphql.validation.rules |
Modifier and Type | Method and Description |
---|---|
Document |
ParseResult.getDocument() |
Modifier and Type | Method and Description |
---|---|
QueryTraversal.Builder |
QueryTraversal.Builder.document(Document document)
document to be used to traverse the whole query.
|
Modifier and Type | Method and Description |
---|---|
Document |
ExecutionContext.getDocument() |
Modifier and Type | Method and Description |
---|---|
ExecutionContextBuilder |
ExecutionContextBuilder.document(Document document) |
CompletableFuture<ExecutionResult> |
Execution.execute(Document document,
GraphQLSchema graphQLSchema,
ExecutionId executionId,
ExecutionInput executionInput,
InstrumentationState instrumentationState) |
Modifier and Type | Method and Description |
---|---|
Document |
DocumentAndVariables.getDocument() |
Modifier and Type | Method and Description |
---|---|
InstrumentationContext<Document> |
SimpleInstrumentation.beginParse(InstrumentationExecutionParameters parameters) |
InstrumentationContext<Document> |
Instrumentation.beginParse(InstrumentationExecutionParameters parameters)
This is called just before a query is parsed.
|
InstrumentationContext<Document> |
ChainedInstrumentation.beginParse(InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
DocumentAndVariables.Builder |
DocumentAndVariables.Builder.document(Document document) |
Modifier and Type | Method and Description |
---|---|
Document |
InstrumentationValidationParameters.getDocument() |
Modifier and Type | Method and Description |
---|---|
default InstrumentationContext<Document> |
Instrumentation.beginParse(InstrumentationExecutionParameters parameters) |
Constructor and Description |
---|
InstrumentationValidationParameters(ExecutionInput executionInput,
Document document,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
Modifier and Type | Method and Description |
---|---|
Document |
InstrumentationValidationParameters.getDocument() |
Constructor and Description |
---|
InstrumentationValidationParameters(ExecutionInput executionInput,
Document document,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
Modifier and Type | Method and Description |
---|---|
InstrumentationContext<Document> |
TracingInstrumentation.beginParse(InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
ExecutionHelper.ExecutionData |
ExecutionHelper.createExecutionData(Document document,
GraphQLSchema graphQLSchema,
ExecutionId executionId,
ExecutionInput executionInput,
InstrumentationState instrumentationState) |
CompletableFuture<ExecutionResult> |
Execution.execute(ExecutionStrategy executionStrategy,
Document document,
GraphQLSchema graphQLSchema,
ExecutionId executionId,
ExecutionInput executionInput,
InstrumentationState instrumentationState) |
Modifier and Type | Method and Description |
---|---|
Document |
PreparsedDocumentEntry.getDocument() |
Constructor and Description |
---|
PreparsedDocumentEntry(Document document) |
Modifier and Type | Method and Description |
---|---|
Document |
IntrospectionResultToSchema.createSchemaDefinition(ExecutionResult introspectionResult)
Returns a IDL Document that represents the schema as defined by the introspection execution result
|
Document |
IntrospectionResultToSchema.createSchemaDefinition(Map<String,Object> introspectionResult)
Returns a IDL Document that reprSesents the schema as defined by the introspection result map
|
Modifier and Type | Method and Description |
---|---|
Document |
Document.Builder.build() |
Document |
Document.deepCopy() |
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
|
Document |
Document.transform(Consumer<Document.Builder> builderConsumer) |
Document |
Document.withNewChildren(NodeChildrenContainer newChildren) |
Modifier and Type | Method and Description |
---|---|
static Map<String,FragmentDefinition> |
NodeUtil.getFragmentsByName(Document document) |
static NodeUtil.GetOperationResult |
NodeUtil.getOperation(Document document,
String operationName) |
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
|
TraversalControl |
NodeVisitorStub.visitDocument(Document node,
TraverserContext<Node> context) |
TraversalControl |
NodeVisitor.visitDocument(Document node,
TraverserContext<Node> data) |
Modifier and Type | Method and Description |
---|---|
Document |
GraphqlAntlrToLanguage.createDocument(GraphqlParser.DocumentContext ctx) |
Document |
Parser.parseDocument(Reader reader) |
Document |
Parser.parseDocument(String input) |
Document |
Parser.parseDocument(String input,
String sourceName) |
Modifier and Type | Method and Description |
---|---|
Document |
DataFetchingEnvironmentImpl.getDocument() |
Document |
DataFetchingEnvironment.getDocument() |
Modifier and Type | Method and Description |
---|---|
DataFetchingEnvironmentImpl.Builder |
DataFetchingEnvironmentImpl.Builder.document(Document document) |
Modifier and Type | Method and Description |
---|---|
TypeDefinitionRegistry |
SchemaParser.buildRegistry(Document document)
special method to build directly a TypeDefinitionRegistry from a Document
useful for Introspection => IDL (Document) => TypeDefinitionRegistry
|
String |
SchemaPrinter.print(Document schemaIDL)
This can print an in memory GraphQL IDL document back to a logical schema definition.
|
Modifier and Type | Method and Description |
---|---|
Document |
ValidationContext.getDocument() |
Modifier and Type | Method and Description |
---|---|
void |
AbstractRule.checkDocument(Document document) |
void |
AbstractRule.documentFinished(Document document) |
List<ValidationError> |
Validator.validateDocument(GraphQLSchema schema,
Document document) |
Constructor and Description |
---|
ValidationContext(GraphQLSchema schema,
Document document) |
Modifier and Type | Method and Description |
---|---|
void |
UniqueDirectiveNamesPerLocation.checkDocument(Document document) |
void |
ExecutableDefinitions.checkDocument(Document document)
Executable definitions
A GraphQL document is only valid for execution if all definitions are either
operation or fragment definitions.
|
void |
NoUnusedFragments.documentFinished(Document document) |
void |
LoneAnonymousOperation.documentFinished(Document document) |
Copyright © 2019. All rights reserved.