public abstract class ExecutionStrategy
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected FieldCollector |
fieldCollector |
protected ValuesResolver |
valuesResolver |
Constructor and Description |
---|
ExecutionStrategy() |
Modifier and Type | Method and Description |
---|---|
protected ExecutionResult |
completeValue(ExecutionContext executionContext,
GraphQLType fieldType,
java.util.List<Field> fields,
java.lang.Object result) |
protected ExecutionResult |
completeValueForEnum(GraphQLEnumType enumType,
java.lang.Object result) |
protected ExecutionResult |
completeValueForList(ExecutionContext executionContext,
GraphQLList fieldType,
java.util.List<Field> fields,
java.lang.Iterable<java.lang.Object> result) |
protected ExecutionResult |
completeValueForScalar(GraphQLScalarType scalarType,
java.lang.Object result) |
abstract ExecutionResult |
execute(ExecutionContext executionContext,
GraphQLObjectType parentType,
java.lang.Object source,
java.util.Map<java.lang.String,java.util.List<Field>> fields) |
protected GraphQLFieldDefinition |
getFieldDef(GraphQLSchema schema,
GraphQLObjectType parentType,
Field field) |
protected ExecutionResult |
resolveField(ExecutionContext executionContext,
GraphQLObjectType parentType,
java.lang.Object source,
java.util.List<Field> fields) |
protected GraphQLObjectType |
resolveType(GraphQLInterfaceType graphQLInterfaceType,
java.lang.Object value) |
protected GraphQLObjectType |
resolveType(GraphQLUnionType graphQLUnionType,
java.lang.Object value) |
protected ValuesResolver valuesResolver
protected FieldCollector fieldCollector
public abstract ExecutionResult execute(ExecutionContext executionContext, GraphQLObjectType parentType, java.lang.Object source, java.util.Map<java.lang.String,java.util.List<Field>> fields)
protected ExecutionResult resolveField(ExecutionContext executionContext, GraphQLObjectType parentType, java.lang.Object source, java.util.List<Field> fields)
protected ExecutionResult completeValue(ExecutionContext executionContext, GraphQLType fieldType, java.util.List<Field> fields, java.lang.Object result)
protected GraphQLObjectType resolveType(GraphQLInterfaceType graphQLInterfaceType, java.lang.Object value)
protected GraphQLObjectType resolveType(GraphQLUnionType graphQLUnionType, java.lang.Object value)
protected ExecutionResult completeValueForEnum(GraphQLEnumType enumType, java.lang.Object result)
protected ExecutionResult completeValueForScalar(GraphQLScalarType scalarType, java.lang.Object result)
protected ExecutionResult completeValueForList(ExecutionContext executionContext, GraphQLList fieldType, java.util.List<Field> fields, java.lang.Iterable<java.lang.Object> result)
protected GraphQLFieldDefinition getFieldDef(GraphQLSchema schema, GraphQLObjectType parentType, Field field)