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.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
graphql.introspection | |
graphql.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
graphql.schema | |
graphql.schema.diff | |
graphql.schema.idl | |
graphql.schema.validation | |
graphql.validation |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
TypeResolutionEnvironment.getSchema() |
Modifier and Type | Method and Description |
---|---|
static GraphQL.Builder |
GraphQL.newGraphQL(GraphQLSchema graphQLSchema)
Helps you build a GraphQL object ready to execute queries
|
GraphQL.Builder |
GraphQL.Builder.schema(GraphQLSchema graphQLSchema) |
Constructor and Description |
---|
Builder(GraphQLSchema graphQLSchema) |
GraphQL(GraphQLSchema graphQLSchema)
Deprecated.
use the
GraphQL.newGraphQL(GraphQLSchema) builder instead. This will be removed in a future version. |
GraphQL(GraphQLSchema graphQLSchema,
ExecutionStrategy queryStrategy)
Deprecated.
use the
GraphQL.newGraphQL(GraphQLSchema) builder instead. This will be removed in a future version. |
GraphQL(GraphQLSchema graphQLSchema,
ExecutionStrategy queryStrategy,
ExecutionStrategy mutationStrategy)
Deprecated.
use the
GraphQL.newGraphQL(GraphQLSchema) builder instead. This will be removed in a future version. |
GraphQL(GraphQLSchema graphQLSchema,
ExecutionStrategy queryStrategy,
ExecutionStrategy mutationStrategy,
ExecutionStrategy subscriptionStrategy)
Deprecated.
use the
GraphQL.newGraphQL(GraphQLSchema) builder instead. This will be removed in a future version. |
TypeResolutionEnvironment(Object object,
Map<String,Object> arguments,
MergedField field,
GraphQLType fieldType,
GraphQLSchema schema,
Object context) |
Modifier and Type | Method and Description |
---|---|
QueryTraversal.Builder |
QueryTraversal.Builder.schema(GraphQLSchema schema)
The schema used to identify the types of the query.
|
QueryTransformer.Builder |
QueryTransformer.Builder.schema(GraphQLSchema schema)
The schema used to identify the types of the query.
|
Constructor and Description |
---|
NodeVisitorWithTypeTracking(QueryVisitor preOrderCallback,
QueryVisitor postOrderCallback,
Map<String,Object> variables,
GraphQLSchema schema,
Map<String,FragmentDefinition> fragmentsByName) |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
FieldCollectorParameters.getGraphQLSchema() |
GraphQLSchema |
ExecutionContext.getGraphQLSchema() |
GraphQLSchema |
TypeResolutionParameters.getSchema() |
Modifier and Type | Method and Description |
---|---|
Map<String,Object> |
ValuesResolver.coerceArgumentValues(GraphQLSchema schema,
List<VariableDefinition> variableDefinitions,
Map<String,Object> variableValues)
The http://facebook.github.io/graphql/#sec-Coercing-Variable-Values says :
|
CompletableFuture<ExecutionResult> |
Execution.execute(Document document,
GraphQLSchema graphQLSchema,
ExecutionId executionId,
ExecutionInput executionInput,
InstrumentationState instrumentationState) |
protected GraphQLFieldDefinition |
ExecutionStrategy.getFieldDef(GraphQLSchema schema,
GraphQLObjectType parentType,
Field field)
Called to discover the field definition give the current parameters and the AST
Field |
static GraphQLType |
TypeFromAST.getTypeFromAST(GraphQLSchema schema,
Type type) |
ExecutionContextBuilder |
ExecutionContextBuilder.graphQLSchema(GraphQLSchema graphQLSchema) |
TypeResolutionParameters.Builder |
TypeResolutionParameters.Builder.schema(GraphQLSchema schema) |
FieldCollectorParameters.Builder |
FieldCollectorParameters.Builder.schema(GraphQLSchema graphQLSchema) |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
SimpleInstrumentation.instrumentSchema(GraphQLSchema schema,
InstrumentationExecutionParameters parameters) |
default GraphQLSchema |
Instrumentation.instrumentSchema(GraphQLSchema schema,
InstrumentationExecutionParameters parameters)
This is called to instrument a
GraphQLSchema before it is used to parse, validate
and execute a query, allowing you to adjust what types are used. |
GraphQLSchema |
ChainedInstrumentation.instrumentSchema(GraphQLSchema schema,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
SimpleInstrumentation.instrumentSchema(GraphQLSchema schema,
InstrumentationExecutionParameters parameters) |
default GraphQLSchema |
Instrumentation.instrumentSchema(GraphQLSchema schema,
InstrumentationExecutionParameters parameters)
This is called to instrument a
GraphQLSchema before it is used to parse, validate
and execute a query, allowing you to adjust what types are used. |
GraphQLSchema |
ChainedInstrumentation.instrumentSchema(GraphQLSchema schema,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
InstrumentationExecutionParameters.getSchema() |
GraphQLSchema |
InstrumentationCreateStateParameters.getSchema() |
default GraphQLSchema |
Instrumentation.instrumentSchema(GraphQLSchema graphQLSchema,
InstrumentationExecutionParameters parameters) |
Modifier and Type | Method and Description |
---|---|
default GraphQLSchema |
Instrumentation.instrumentSchema(GraphQLSchema graphQLSchema,
InstrumentationExecutionParameters parameters) |
Constructor and Description |
---|
InstrumentationCreateStateParameters(GraphQLSchema schema,
ExecutionInput executionInput) |
InstrumentationExecutionParameters(ExecutionInput executionInput,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
InstrumentationValidationParameters(ExecutionInput executionInput,
Document document,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
InstrumentationExecutionParameters.getSchema() |
GraphQLSchema |
InstrumentationCreateStateParameters.getSchema() |
Constructor and Description |
---|
InstrumentationCreateStateParameters(GraphQLSchema schema,
ExecutionInput executionInput) |
InstrumentationExecutionParameters(ExecutionInput executionInput,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
InstrumentationValidationParameters(ExecutionInput executionInput,
Document document,
GraphQLSchema schema,
InstrumentationState instrumentationState) |
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) |
static GraphQLObjectType |
Common.getOperationRootType(GraphQLSchema graphQLSchema,
OperationDefinition operationDefinition) |
Modifier and Type | Method and Description |
---|---|
static GraphQLFieldDefinition |
Introspection.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
|
Modifier and Type | Method and Description |
---|---|
static GraphQL.Builder |
GraphQL.newGraphQL(GraphQLSchema graphQLSchema)
Helps you build a GraphQL object ready to execute queries
|
GraphQL.Builder |
GraphQL.Builder.schema(GraphQLSchema graphQLSchema) |
Constructor and Description |
---|
Builder(GraphQLSchema graphQLSchema) |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
GraphQLSchema.Builder.build()
Builds the schema
|
GraphQLSchema |
GraphQLSchema.Builder.build(Set<GraphQLType> additionalTypes)
Deprecated.
- Use the
GraphQLSchema.Builder.additionalType(GraphQLType) methods |
GraphQLSchema |
GraphQLSchema.Builder.build(Set<GraphQLType> additionalTypes,
Set<GraphQLDirective> additionalDirectives)
Deprecated.
|
GraphQLSchema |
DataFetchingEnvironmentImpl.getGraphQLSchema() |
GraphQLSchema |
DataFetchingEnvironment.getGraphQLSchema() |
GraphQLSchema |
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.
|
GraphQLSchema |
SchemaTransformer.transform(GraphQLSchema originalSchema)
Called to transform the schema from its built state into something else
|
Modifier and Type | Method and Description |
---|---|
List<GraphQLObjectType> |
SchemaUtil.findImplementations(GraphQLSchema schema,
GraphQLInterfaceType interfaceType)
Deprecated.
use
getImplementations(GraphQLInterfaceType) instead |
DataFetchingEnvironmentImpl.Builder |
DataFetchingEnvironmentImpl.Builder.graphQLSchema(GraphQLSchema graphQLSchema) |
static GraphQLSchema.Builder |
GraphQLSchema.newSchema(GraphQLSchema existingSchema)
This allows you to build a schema from an existing schema.
|
GraphQLSchema |
SchemaTransformer.transform(GraphQLSchema originalSchema)
Called to transform the schema from its built state into something else
|
Constructor and Description |
---|
DataFetchingFieldSelectionSetImpl(MergedField parentFields,
GraphQLFieldsContainer parentFieldType,
GraphQLSchema graphQLSchema,
Map<String,Object> variables,
Map<String,FragmentDefinition> fragmentsByName) |
Modifier and Type | Method and Description |
---|---|
static DiffSet |
DiffSet.diffSet(GraphQLSchema schemaOld,
GraphQLSchema schemaNew)
Creates a diff set out of the result of 2 schemas.
|
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
SchemaGenerator.makeExecutableSchema(SchemaGenerator.Options options,
TypeDefinitionRegistry typeRegistry,
RuntimeWiring wiring)
This will take a
TypeDefinitionRegistry and a RuntimeWiring and put them together to create a executable schema
controlled by the provided options. |
GraphQLSchema |
SchemaGenerator.makeExecutableSchema(TypeDefinitionRegistry typeRegistry,
RuntimeWiring wiring)
This will take a
TypeDefinitionRegistry and a RuntimeWiring and put them together to create a executable schema |
static GraphQLSchema |
UnExecutableSchemaGenerator.makeUnExecutableSchema(TypeDefinitionRegistry registry) |
Modifier and Type | Method and Description |
---|---|
String |
SchemaPrinter.print(GraphQLSchema schema)
This can print an in memory GraphQL schema back to a logical schema definition
|
Modifier and Type | Method and Description |
---|---|
Set<SchemaValidationError> |
SchemaValidator.validateSchema(GraphQLSchema schema) |
Modifier and Type | Method and Description |
---|---|
GraphQLSchema |
ValidationContext.getSchema() |
Modifier and Type | Method and Description |
---|---|
boolean |
ValidationUtil.isValidLiteralValue(Value value,
GraphQLType type,
GraphQLSchema schema) |
List<ValidationError> |
Validator.validateDocument(GraphQLSchema schema,
Document document) |
Constructor and Description |
---|
TraversalContext(GraphQLSchema graphQLSchema) |
ValidationContext(GraphQLSchema schema,
Document document) |
Copyright © 2019. All rights reserved.