Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
QueryVisitorFieldEnvironmentImpl.getFieldDefinition() |
GraphQLFieldDefinition |
QueryVisitorFieldEnvironment.getFieldDefinition() |
GraphQLFieldDefinition |
FieldComplexityEnvironment.getFieldDefinition() |
Constructor and Description |
---|
FieldComplexityEnvironment(Field field,
GraphQLFieldDefinition fieldDefinition,
GraphQLCompositeType parentType,
Map<String,Object> arguments,
FieldComplexityEnvironment parentEnvironment) |
QueryVisitorFieldEnvironmentImpl(boolean typeNameIntrospectionField,
Field field,
GraphQLFieldDefinition fieldDefinition,
GraphQLOutputType parentType,
GraphQLFieldsContainer unmodifiedParentType,
QueryVisitorFieldEnvironment parentEnvironment,
Map<String,Object> arguments,
SelectionSetContainer selectionSetContainer,
TraverserContext<Node> traverserContext) |
Modifier and Type | Method and Description |
---|---|
protected GraphQLFieldDefinition |
ExecutionStrategy.getFieldDef(ExecutionContext executionContext,
ExecutionStrategyParameters parameters,
Field field)
Called to discover the field definition give the current parameters and the AST
Field |
protected GraphQLFieldDefinition |
ExecutionStrategy.getFieldDef(GraphQLSchema schema,
GraphQLObjectType parentType,
Field field)
Called to discover the field definition give the current parameters and the AST
Field |
GraphQLFieldDefinition |
ExecutionStepInfo.getFieldDefinition()
This returns the field definition that is in play when this type info was created or null
if the type is a root query type
|
GraphQLFieldDefinition |
DataFetcherExceptionHandlerParameters.getFieldDefinition() |
Modifier and Type | Method and Description |
---|---|
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.fieldDefinition(GraphQLFieldDefinition fieldDefinition) |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
FieldAndArguments.getFieldDefinition() |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
InstrumentationFieldParameters.getField() |
GraphQLFieldDefinition |
InstrumentationFieldCompleteParameters.getField() |
Constructor and Description |
---|
InstrumentationDeferredFieldParameters(ExecutionContext executionContext,
ExecutionStrategyParameters executionStrategyParameters,
GraphQLFieldDefinition fieldDef,
ExecutionStepInfo executionStepInfo) |
InstrumentationFieldCompleteParameters(ExecutionContext executionContext,
ExecutionStrategyParameters executionStrategyParameters,
GraphQLFieldDefinition fieldDef,
ExecutionStepInfo typeInfo,
Object fetchedValue) |
InstrumentationFieldFetchParameters(ExecutionContext getExecutionContext,
GraphQLFieldDefinition fieldDef,
DataFetchingEnvironment environment,
ExecutionStrategyParameters executionStrategyParameters,
boolean trivialDataFetcher) |
InstrumentationFieldParameters(ExecutionContext executionContext,
GraphQLFieldDefinition fieldDef,
ExecutionStepInfo executionStepInfo) |
Modifier and Type | Field and Description |
---|---|
static GraphQLFieldDefinition |
Introspection.SchemaMetaFieldDef |
static GraphQLFieldDefinition |
Introspection.TypeMetaFieldDef |
static GraphQLFieldDefinition |
Introspection.TypeNameMetaFieldDef |
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 |
---|---|
GraphQLFieldDefinition |
Relay.mutation(String name,
String fieldName,
List<GraphQLInputObjectField> inputFields,
List<GraphQLFieldDefinition> outputFields,
DataFetcher dataFetcher) |
GraphQLFieldDefinition |
Relay.mutationWithClientMutationId(String name,
String fieldName,
List<GraphQLInputObjectField> inputFields,
List<GraphQLFieldDefinition> outputFields,
DataFetcher dataFetcher) |
GraphQLFieldDefinition |
Relay.nodeField(GraphQLInterfaceType nodeInterface,
DataFetcher nodeDataFetcher) |
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) |
GraphQLFieldDefinition |
Relay.mutation(String name,
String fieldName,
List<GraphQLInputObjectField> inputFields,
List<GraphQLFieldDefinition> outputFields,
DataFetcher dataFetcher) |
GraphQLFieldDefinition |
Relay.mutationWithClientMutationId(String name,
String fieldName,
List<GraphQLInputObjectField> inputFields,
List<GraphQLFieldDefinition> outputFields,
DataFetcher dataFetcher) |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
GraphQLFieldDefinition.Builder.build() |
GraphQLFieldDefinition |
SelectedField.getFieldDefinition() |
GraphQLFieldDefinition |
DataFetchingEnvironmentImpl.getFieldDefinition() |
GraphQLFieldDefinition |
DataFetchingEnvironment.getFieldDefinition() |
GraphQLFieldDefinition |
DataFetcherFactoryEnvironment.getFieldDefinition() |
GraphQLFieldDefinition |
GraphQLObjectType.getFieldDefinition(String name) |
GraphQLFieldDefinition |
GraphQLInterfaceType.getFieldDefinition(String name) |
GraphQLFieldDefinition |
GraphQLFieldsContainer.getFieldDefinition(String name) |
GraphQLFieldDefinition |
GraphQLFieldDefinition.transform(Consumer<GraphQLFieldDefinition.Builder> builderConsumer)
This helps you transform the current GraphQLFieldDefinition 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 |
---|---|
Map<String,GraphQLFieldDefinition> |
DataFetchingFieldSelectionSetImpl.getDefinitions() |
Map<String,GraphQLFieldDefinition> |
DataFetchingFieldSelectionSet.getDefinitions() |
List<GraphQLFieldDefinition> |
GraphQLObjectType.getFieldDefinitions() |
List<GraphQLFieldDefinition> |
GraphQLInterfaceType.getFieldDefinitions() |
List<GraphQLFieldDefinition> |
GraphQLFieldsContainer.getFieldDefinitions() |
Modifier and Type | Method and Description |
---|---|
static FieldCoordinates |
FieldCoordinates.coordinates(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition)
Creates new field coordinates
|
GraphQLCodeRegistry.Builder |
GraphQLCodeRegistry.Builder.dataFetcher(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition,
DataFetcher<?> dataFetcher)
Sets the data fetcher for a specific field inside a container type
|
GraphQLObjectType.Builder |
GraphQLObjectType.Builder.field(GraphQLFieldDefinition fieldDefinition) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.field(GraphQLFieldDefinition fieldDefinition) |
DataFetchingEnvironmentImpl.Builder |
DataFetchingEnvironmentImpl.Builder.fieldDefinition(GraphQLFieldDefinition fieldDefinition) |
DataFetcher |
GraphQLCodeRegistry.getDataFetcher(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition)
Returns a data fetcher associated with a field within a container type
|
DataFetcher |
GraphQLCodeRegistry.Builder.getDataFetcher(GraphQLFieldsContainer parentType,
GraphQLFieldDefinition fieldDefinition)
Returns a data fetcher associated with a field within a container type
|
static GraphQLFieldDefinition.Builder |
GraphQLFieldDefinition.newFieldDefinition(GraphQLFieldDefinition existing) |
TraversalControl |
GraphQLTypeVisitorStub.visitGraphQLFieldDefinition(GraphQLFieldDefinition node,
TraverserContext<GraphQLType> context) |
TraversalControl |
GraphQLTypeVisitor.visitGraphQLFieldDefinition(GraphQLFieldDefinition node,
TraverserContext<GraphQLType> context) |
TraversalControl |
GraphQLTypeCollectingVisitor.visitGraphQLFieldDefinition(GraphQLFieldDefinition node,
TraverserContext<GraphQLType> context) |
Modifier and Type | Method and Description |
---|---|
GraphQLObjectType.Builder |
GraphQLObjectType.Builder.fields(List<GraphQLFieldDefinition> fieldDefinitions) |
GraphQLInterfaceType.Builder |
GraphQLInterfaceType.Builder.fields(List<GraphQLFieldDefinition> fieldDefinitions) |
Constructor and Description |
---|
Builder(GraphQLFieldDefinition existing) |
Constructor and Description |
---|
GraphQLInterfaceType(String name,
String description,
List<GraphQLFieldDefinition> fieldDefinitions,
TypeResolver typeResolver)
Deprecated.
use the
GraphQLInterfaceType.newInterface() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLInterfaceType(String name,
String description,
List<GraphQLFieldDefinition> fieldDefinitions,
TypeResolver typeResolver,
List<GraphQLDirective> directives,
InterfaceTypeDefinition definition)
Deprecated.
use the
GraphQLInterfaceType.newInterface() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLObjectType(String name,
String description,
List<GraphQLFieldDefinition> fieldDefinitions,
List<GraphQLOutputType> interfaces)
Deprecated.
use the
GraphQLObjectType.newObject() builder pattern instead, as this constructor will be made private in a future version. |
GraphQLObjectType(String name,
String description,
List<GraphQLFieldDefinition> fieldDefinitions,
List<GraphQLOutputType> interfaces,
List<GraphQLDirective> directives,
ObjectTypeDefinition definition)
Deprecated.
use the
GraphQLObjectType.newObject() builder pattern instead, as this constructor will be made private in a future version. |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
SchemaDirectiveWiringEnvironmentImpl.getFieldDefinition() |
GraphQLFieldDefinition |
SchemaDirectiveWiringEnvironment.getFieldDefinition() |
default GraphQLFieldDefinition |
SchemaDirectiveWiring.onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> environment)
This is called when a field is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
GraphQLFieldDefinition |
FetchSchemaDirectiveWiring.onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> environment) |
Modifier and Type | Method and Description |
---|---|
default GraphQLFieldDefinition |
SchemaDirectiveWiring.onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> environment)
This is called when a field is encountered, which gives the schema directive a chance to modify the shape and behaviour
of that DSL element
|
GraphQLFieldDefinition |
FetchSchemaDirectiveWiring.onField(SchemaDirectiveWiringEnvironment<GraphQLFieldDefinition> environment) |
Modifier and Type | Method and Description |
---|---|
void |
SchemaValidationRule.check(GraphQLFieldDefinition fieldDef,
SchemaValidationErrorCollector validationErrorCollector) |
void |
ObjectsImplementInterfaces.check(GraphQLFieldDefinition fieldDef,
SchemaValidationErrorCollector validationErrorCollector) |
void |
NoUnbrokenInputCycles.check(GraphQLFieldDefinition fieldDef,
SchemaValidationErrorCollector validationErrorCollector) |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
NoIntrospectionGraphqlFieldVisibility.getFieldDefinition(GraphQLFieldsContainer fieldsContainer,
String fieldName) |
GraphQLFieldDefinition |
GraphqlFieldVisibility.getFieldDefinition(GraphQLFieldsContainer fieldsContainer,
String fieldName)
Called to get a named field from an object type or interface
|
GraphQLFieldDefinition |
DefaultGraphqlFieldVisibility.getFieldDefinition(GraphQLFieldsContainer fieldsContainer,
String fieldName) |
GraphQLFieldDefinition |
BlockedFields.getFieldDefinition(GraphQLFieldsContainer fieldsContainer,
String fieldName) |
Modifier and Type | Method and Description |
---|---|
List<GraphQLFieldDefinition> |
NoIntrospectionGraphqlFieldVisibility.getFieldDefinitions(GraphQLFieldsContainer fieldsContainer) |
List<GraphQLFieldDefinition> |
GraphqlFieldVisibility.getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
Called to get the list of fields from an object type or interface
|
List<GraphQLFieldDefinition> |
DefaultGraphqlFieldVisibility.getFieldDefinitions(GraphQLFieldsContainer fieldsContainer) |
List<GraphQLFieldDefinition> |
BlockedFields.getFieldDefinitions(GraphQLFieldsContainer fieldsContainer) |
Modifier and Type | Method and Description |
---|---|
GraphQLFieldDefinition |
ValidationContext.getFieldDef() |
GraphQLFieldDefinition |
TraversalContext.getFieldDef() |
Copyright © 2019. All rights reserved.