Package | Description |
---|---|
graphql.analysis | |
graphql.execution | |
graphql.execution.nextgen |
WARNING: All code in this package is a work in progress for a new execution engine.
|
graphql.introspection | |
graphql.relay | |
graphql.schema | |
graphql.schema.idl |
Modifier and Type | Method and Description |
---|---|
QueryTraversal.Builder |
QueryTraversal.Builder.rootParentType(GraphQLObjectType rootParentType)
The type of the parent of the root node.
|
QueryTransformer.Builder |
QueryTransformer.Builder.rootParentType(GraphQLObjectType rootParentType)
The type of the parent of the root node.
|
Modifier and Type | Method and Description |
---|---|
GraphQLObjectType |
ExecutionStepInfo.getFieldContainer()
The GraphQLObjectType where fieldDefinition is defined.
|
GraphQLObjectType |
FieldCollectorParameters.getObjectType() |
protected GraphQLObjectType |
ExecutionStrategy.resolveType(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
GraphQLType fieldType) |
GraphQLObjectType |
ResolveType.resolveType(ExecutionContext executionContext,
MergedField field,
Object source,
Map<String,Object> arguments,
GraphQLType fieldType) |
GraphQLObjectType |
ResolveType.resolveTypeForInterface(TypeResolutionParameters params) |
GraphQLObjectType |
ResolveType.resolveTypeForUnion(TypeResolutionParameters params) |
Modifier and Type | Method and Description |
---|---|
protected CompletableFuture<ExecutionResult> |
ExecutionStrategy.completeValueForObject(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
GraphQLObjectType resolvedObjectType,
Object result)
Called to turn an java object value into an graphql object value
|
protected ExecutionStepInfo |
ExecutionStrategy.createExecutionStepInfo(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
GraphQLFieldDefinition fieldDefinition,
GraphQLObjectType fieldContainer)
Builds the type info hierarchy for the current field
|
ExecutionStepInfo.Builder |
ExecutionStepInfo.Builder.fieldContainer(GraphQLObjectType fieldContainer) |
protected GraphQLFieldDefinition |
ExecutionStrategy.getFieldDef(GraphQLSchema schema,
GraphQLObjectType parentType,
Field field)
Called to discover the field definition give the current parameters and the AST
Field |
FieldCollectorParameters.Builder |
FieldCollectorParameters.Builder.objectType(GraphQLObjectType objectType) |
Modifier and Type | Method and Description |
---|---|
static GraphQLObjectType |
Common.getOperationRootType(GraphQLSchema graphQLSchema,
OperationDefinition operationDefinition) |
GraphQLObjectType |
FetchedValueAnalysis.getResolvedType() |
Modifier and Type | Method and Description |
---|---|
FetchedValueAnalysis.Builder |
FetchedValueAnalysis.Builder.resolvedType(GraphQLObjectType resolvedType) |
Modifier and Type | Field and Description |
---|---|
static GraphQLObjectType |
Introspection.__Directive |
static GraphQLObjectType |
Introspection.__EnumValue |
static GraphQLObjectType |
Introspection.__Field |
static GraphQLObjectType |
Introspection.__InputValue |
static GraphQLObjectType |
Introspection.__Schema |
static GraphQLObjectType |
Introspection.__Type |
Modifier and Type | Field and Description |
---|---|
static GraphQLObjectType |
Relay.pageInfoType |
Modifier and Type | Method and Description |
---|---|
GraphQLObjectType |
Relay.connectionType(String name,
GraphQLObjectType edgeType,
List<GraphQLFieldDefinition> connectionFields) |
GraphQLObjectType |
Relay.edgeType(String name,
GraphQLOutputType nodeType,
GraphQLInterfaceType nodeInterface,
List<GraphQLFieldDefinition> edgeFields) |
Modifier and Type | Method and Description |
---|---|
GraphQLObjectType |
Relay.connectionType(String name,
GraphQLObjectType edgeType,
List<GraphQLFieldDefinition> connectionFields) |
Modifier and Type | Method and Description |
---|---|
GraphQLObjectType |
GraphQLObjectType.Builder.build() |
GraphQLObjectType |
GraphQLSchema.getMutationType() |
GraphQLObjectType |
GraphQLSchema.getObjectType(String typeName)
Called to return a named
GraphQLObjectType from the schema |
GraphQLObjectType |
GraphQLSchema.getQueryType() |
GraphQLObjectType |
GraphQLSchema.getSubscriptionType() |
GraphQLObjectType |
TypeResolverProxy.getType(TypeResolutionEnvironment env) |
GraphQLObjectType |
TypeResolver.getType(TypeResolutionEnvironment env)
This call back is invoked passing in a context object to allow you to know what type to use
dynamically during runtime for
GraphQLInterfaceType s and GraphQLUnionType s |
GraphQLObjectType |
GraphQLObjectType.transform(Consumer<GraphQLObjectType.Builder> builderConsumer)
This helps you transform the current GraphQLObjectType into another one by starting a builder with all
the current values and allows you to transform it how you want.
|
Modifier and Type | Method and Description |
---|---|
List<GraphQLObjectType> |
SchemaUtil.findImplementations(GraphQLSchema schema,
GraphQLInterfaceType interfaceType)
Deprecated.
|
List<GraphQLObjectType> |
GraphQLSchema.getImplementations(GraphQLInterfaceType type)
This will return the list of
GraphQLObjectType types that implement the given
interface type. |
Constructor and Description |
---|
Builder(GraphQLObjectType existing) |
GraphQLSchema(GraphQLObjectType queryType)
Deprecated.
use the
GraphQLSchema.newSchema() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLSchema(GraphQLObjectType queryType,
GraphQLObjectType mutationType,
GraphQLObjectType subscriptionType,
Set<GraphQLType> additionalTypes)
Deprecated.
use the
GraphQLSchema.newSchema() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLSchema(GraphQLObjectType queryType,
GraphQLObjectType mutationType,
Set<GraphQLType> additionalTypes)
Deprecated.
use the
GraphQLSchema.newSchema() builder pattern instead, as this constructor will be made private in a future version. |
Modifier and Type | Method and Description |
---|---|
default GraphQLObjectType |
SchemaDirectiveWiring.onObject(SchemaDirectiveWiringEnvironment<GraphQLObjectType> environment)
This is called when an object is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
Modifier and Type | Method and Description |
---|---|
default GraphQLObjectType |
SchemaDirectiveWiring.onObject(SchemaDirectiveWiringEnvironment<GraphQLObjectType> environment)
This is called when an object is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
Copyright © 2019. All rights reserved.