Uses of Class
graphql.schema.GraphQLFieldDefinition
-
-
Uses of GraphQLFieldDefinition in graphql.analysis
Fields in graphql.analysis declared as GraphQLFieldDefinition Modifier and Type Field Description private GraphQLFieldDefinition
FieldComplexityEnvironment. fieldDefinition
private GraphQLFieldDefinition
QueryVisitorFieldArgumentEnvironmentImpl. fieldDefinition
private GraphQLFieldDefinition
QueryVisitorFieldArgumentValueEnvironmentImpl. fieldDefinition
private GraphQLFieldDefinition
QueryVisitorFieldEnvironmentImpl. fieldDefinition
Methods in graphql.analysis that return GraphQLFieldDefinition Modifier and Type Method Description GraphQLFieldDefinition
FieldComplexityEnvironment. getFieldDefinition()
GraphQLFieldDefinition
QueryVisitorFieldArgumentEnvironment. getFieldDefinition()
GraphQLFieldDefinition
QueryVisitorFieldArgumentEnvironmentImpl. getFieldDefinition()
GraphQLFieldDefinition
QueryVisitorFieldArgumentValueEnvironment. getFieldDefinition()
GraphQLFieldDefinition
QueryVisitorFieldArgumentValueEnvironmentImpl. getFieldDefinition()
GraphQLFieldDefinition
QueryVisitorFieldEnvironment. getFieldDefinition()
GraphQLFieldDefinition
QueryVisitorFieldEnvironmentImpl. getFieldDefinition()
Constructors in graphql.analysis with parameters of type GraphQLFieldDefinition Constructor Description FieldComplexityEnvironment(Field field, GraphQLFieldDefinition fieldDefinition, GraphQLCompositeType parentType, java.util.Map<java.lang.String,java.lang.Object> arguments, FieldComplexityEnvironment parentEnvironment)
QueryVisitorFieldArgumentEnvironmentImpl(GraphQLFieldDefinition fieldDefinition, Argument argument, GraphQLArgument graphQLArgument, java.lang.Object argumentValue, java.util.Map<java.lang.String,java.lang.Object> variables, QueryVisitorFieldEnvironment parentEnvironment, TraverserContext<Node> traverserContext, GraphQLSchema schema)
QueryVisitorFieldArgumentValueEnvironmentImpl(GraphQLSchema schema, GraphQLFieldDefinition fieldDefinition, GraphQLArgument graphQLArgument, QueryVisitorFieldArgumentInputValue argumentInputValue, TraverserContext<Node> traverserContext, java.util.Map<java.lang.String,java.lang.Object> variables)
QueryVisitorFieldEnvironmentImpl(boolean typeNameIntrospectionField, Field field, GraphQLFieldDefinition fieldDefinition, GraphQLOutputType parentType, GraphQLFieldsContainer unmodifiedParentType, QueryVisitorFieldEnvironment parentEnvironment, java.util.Map<java.lang.String,java.lang.Object> arguments, SelectionSetContainer selectionSetContainer, TraverserContext<Node> traverserContext, GraphQLSchema schema)
-
Uses of GraphQLFieldDefinition in graphql.analysis.values
Methods in graphql.analysis.values with parameters of type GraphQLFieldDefinition Modifier and Type Method Description static java.util.Map<java.lang.String,java.lang.Object>
ValueTraverser. visitPreOrder(java.util.Map<java.lang.String,java.lang.Object> coercedArgumentValues, GraphQLFieldDefinition fieldDefinition, ValueVisitor visitor)
This will visit the arguments of aGraphQLFieldDefinition
and if the visitor changes the values, it will return a new set of arguments -
Uses of GraphQLFieldDefinition in graphql.execution
Fields in graphql.execution declared as GraphQLFieldDefinition Modifier and Type Field Description (package private) GraphQLFieldDefinition
ExecutionStepInfo.Builder. fieldDefinition
private GraphQLFieldDefinition
ExecutionStepInfo. fieldDefinition
Methods in graphql.execution that return GraphQLFieldDefinition Modifier and Type Method Description protected GraphQLFieldDefinition
ExecutionStrategy. getFieldDef(ExecutionContext executionContext, ExecutionStrategyParameters parameters, Field field)
Called to discover the field definition give the current parameters and the ASTField
protected GraphQLFieldDefinition
ExecutionStrategy. getFieldDef(GraphQLSchema schema, GraphQLObjectType parentType, Field field)
Called to discover the field definition give the current parameters and the ASTField
GraphQLFieldDefinition
DataFetcherExceptionHandlerParameters. getFieldDefinition()
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 typeMethods in graphql.execution with parameters of type GraphQLFieldDefinition Modifier and Type Method Description protected ExecutionStepInfo
ExecutionStrategy. createExecutionStepInfo(ExecutionContext executionContext, ExecutionStrategyParameters parameters, GraphQLFieldDefinition fieldDefinition, GraphQLObjectType fieldContainer)
Builds the type info hierarchy for the current fieldprivate java.util.concurrent.CompletableFuture<FetchedValue>
ExecutionStrategy. fetchField(GraphQLFieldDefinition fieldDef, ExecutionContext executionContext, ExecutionStrategyParameters parameters)
ExecutionStepInfo.Builder
ExecutionStepInfo.Builder. fieldDefinition(GraphQLFieldDefinition fieldDefinition)
private java.util.concurrent.CompletableFuture<java.lang.Object>
ExecutionStrategy. invokeDataFetcher(ExecutionContext executionContext, ExecutionStrategyParameters parameters, GraphQLFieldDefinition fieldDef, java.util.function.Supplier<DataFetchingEnvironment> dataFetchingEnvironment, DataFetcher<?> dataFetcher)
-
Uses of GraphQLFieldDefinition in graphql.execution.instrumentation.fieldvalidation
Methods in graphql.execution.instrumentation.fieldvalidation that return GraphQLFieldDefinition Modifier and Type Method Description GraphQLFieldDefinition
FieldAndArguments. getFieldDefinition()
GraphQLFieldDefinition
FieldValidationSupport.FieldAndArgumentsImpl. getFieldDefinition()
-
Uses of GraphQLFieldDefinition in graphql.execution.instrumentation.parameters
Methods in graphql.execution.instrumentation.parameters that return GraphQLFieldDefinition Modifier and Type Method Description GraphQLFieldDefinition
InstrumentationFieldCompleteParameters. getField()
GraphQLFieldDefinition
InstrumentationFieldParameters. getField()
-
Uses of GraphQLFieldDefinition in graphql.introspection
Fields in graphql.introspection declared as GraphQLFieldDefinition Modifier and Type Field Description static GraphQLFieldDefinition
Introspection. SchemaMetaFieldDef
static GraphQLFieldDefinition
Introspection. TypeMetaFieldDef
static GraphQLFieldDefinition
Introspection. TypeNameMetaFieldDef
Methods in graphql.introspection that return GraphQLFieldDefinition Modifier and Type Method Description static GraphQLFieldDefinition
Introspection. buildSchemaField(GraphQLObjectType introspectionSchemaType)
static GraphQLFieldDefinition
Introspection. buildTypeField(GraphQLObjectType introspectionSchemaType)
static GraphQLFieldDefinition
Introspection. getFieldDef(GraphQLSchema schema, GraphQLCompositeType parentType, java.lang.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 -
Uses of GraphQLFieldDefinition in graphql.normalized
Methods in graphql.normalized that return GraphQLFieldDefinition Modifier and Type Method Description private static @NotNull GraphQLFieldDefinition
ExecutableNormalizedOperationToAstCompiler. getFieldDefinition(GraphQLSchema schema, java.lang.String parentType, ExecutableNormalizedField nf)
private GraphQLFieldDefinition
ExecutableNormalizedField. getOneFieldDefinition(GraphQLSchema schema)
This is NOT public as it is not recommended usage.private static GraphQLFieldDefinition
ExecutableNormalizedField. resolveIntrospectionField(GraphQLSchema schema, java.util.Set<java.lang.String> objectTypeNames, java.lang.String fieldName)
Methods in graphql.normalized that return types with arguments of type GraphQLFieldDefinition Modifier and Type Method Description java.util.List<GraphQLFieldDefinition>
ExecutableNormalizedField. getFieldDefinitions(GraphQLSchema schema)
Method parameters in graphql.normalized with type arguments of type GraphQLFieldDefinition Modifier and Type Method Description void
ExecutableNormalizedField. forEachFieldDefinition(GraphQLSchema schema, java.util.function.Consumer<GraphQLFieldDefinition> consumer)
private com.google.common.collect.ImmutableSet<GraphQLObjectType>
ExecutableNormalizedOperationFactory. resolvePossibleObjects(java.util.List<GraphQLFieldDefinition> defs, GraphQLSchema graphQLSchema)
-
Uses of GraphQLFieldDefinition in graphql.relay
Methods in graphql.relay that return GraphQLFieldDefinition Modifier and Type Method Description GraphQLFieldDefinition
Relay. mutation(java.lang.String name, java.lang.String fieldName, java.util.List<GraphQLInputObjectField> inputFields, java.util.List<GraphQLFieldDefinition> outputFields, DataFetcher dataFetcher)
GraphQLFieldDefinition
Relay. mutationWithClientMutationId(java.lang.String name, java.lang.String fieldName, java.util.List<GraphQLInputObjectField> inputFields, java.util.List<GraphQLFieldDefinition> outputFields, DataFetcher dataFetcher)
GraphQLFieldDefinition
Relay. nodeField(GraphQLInterfaceType nodeInterface, DataFetcher nodeDataFetcher)
Method parameters in graphql.relay with type arguments of type GraphQLFieldDefinition Modifier and Type Method Description GraphQLObjectType
Relay. connectionType(java.lang.String name, GraphQLObjectType edgeType, java.util.List<GraphQLFieldDefinition> connectionFields)
GraphQLObjectType
Relay. edgeType(java.lang.String name, GraphQLOutputType nodeType, GraphQLInterfaceType nodeInterface, java.util.List<GraphQLFieldDefinition> edgeFields)
-
Uses of GraphQLFieldDefinition in graphql.schema
Fields in graphql.schema declared as GraphQLFieldDefinition Modifier and Type Field Description private GraphQLFieldDefinition
GraphQLSchema. __typename
(package private) GraphQLFieldDefinition
DataFetcherFactoryEnvironment.Builder. fieldDefinition
private GraphQLFieldDefinition
DataFetcherFactoryEnvironment. fieldDefinition
private GraphQLFieldDefinition
DataFetchingEnvironmentImpl.Builder. fieldDefinition
private GraphQLFieldDefinition
DataFetchingEnvironmentImpl. fieldDefinition
private GraphQLFieldDefinition
GraphQLSchema. introspectionSchemaField
private GraphQLFieldDefinition
GraphQLSchema. introspectionTypeField
Fields in graphql.schema with type parameters of type GraphQLFieldDefinition Modifier and Type Field Description private java.util.Map<java.lang.String,GraphQLFieldDefinition>
GraphQLInterfaceType. fieldDefinitionsByName
private com.google.common.collect.ImmutableMap<java.lang.String,GraphQLFieldDefinition>
GraphQLObjectType. fieldDefinitionsByName
private java.util.Map<java.lang.String,GraphQLFieldDefinition>
GraphQLInterfaceType.Builder. fields
private java.util.Map<java.lang.String,GraphQLFieldDefinition>
GraphQLObjectType.Builder. fields
Methods in graphql.schema that return GraphQLFieldDefinition Modifier and Type Method Description GraphQLFieldDefinition
GraphQLFieldDefinition.Builder. build()
default GraphQLFieldDefinition
GraphQLFieldsContainer. getField(java.lang.String name)
GraphQLFieldDefinition
DataFetcherFactoryEnvironment. getFieldDefinition()
GraphQLFieldDefinition
DataFetchingEnvironment. getFieldDefinition()
GraphQLFieldDefinition
DataFetchingEnvironmentImpl. getFieldDefinition()
GraphQLFieldDefinition
DelegatingDataFetchingEnvironment. getFieldDefinition()
GraphQLFieldDefinition
GraphQLFieldsContainer. getFieldDefinition(java.lang.String name)
GraphQLFieldDefinition
GraphQLInterfaceType. getFieldDefinition(java.lang.String name)
GraphQLFieldDefinition
GraphQLObjectType. getFieldDefinition(java.lang.String name)
GraphQLFieldDefinition
GraphQLSchema. getFieldDefinition(FieldCoordinates fieldCoordinates)
Returns aGraphQLFieldDefinition
as the specified co-ordinates or null if it does not existGraphQLFieldDefinition
GraphQLSchema. getIntrospectionSchemaFieldDefinition()
GraphQLFieldDefinition
GraphQLSchema. getIntrospectionTypeFieldDefinition()
GraphQLFieldDefinition
GraphQLSchema. getIntrospectionTypenameFieldDefinition()
GraphQLFieldDefinition
GraphQLFieldDefinition. transform(java.util.function.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.Methods in graphql.schema that return types with arguments of type GraphQLFieldDefinition Modifier and Type Method Description private com.google.common.collect.ImmutableMap<java.lang.String,GraphQLFieldDefinition>
GraphQLObjectType. buildDefinitionMap(java.util.List<GraphQLFieldDefinition> fieldDefinitions)
java.util.List<GraphQLFieldDefinition>
DataFetchingFieldSelectionSetImpl.SelectedFieldImpl. getFieldDefinitions()
java.util.List<GraphQLFieldDefinition>
GraphQLFieldsContainer. getFieldDefinitions()
java.util.List<GraphQLFieldDefinition>
GraphQLInterfaceType. getFieldDefinitions()
java.util.List<GraphQLFieldDefinition>
GraphQLObjectType. getFieldDefinitions()
java.util.List<GraphQLFieldDefinition>
SelectedField. getFieldDefinitions()
default java.util.List<GraphQLFieldDefinition>
GraphQLFieldsContainer. getFields()
Methods in graphql.schema with parameters of type GraphQLFieldDefinition Modifier and Type Method Description static FieldCoordinates
FieldCoordinates. coordinates(GraphQLFieldsContainer parentType, GraphQLFieldDefinition fieldDefinition)
Creates new field coordinatesGraphQLCodeRegistry.Builder
GraphQLCodeRegistry.Builder. dataFetcher(GraphQLFieldsContainer parentType, GraphQLFieldDefinition fieldDefinition, DataFetcher<?> dataFetcher)
Deprecated.This is confusing becauseGraphQLInterfaceType
s cant have data fetchers.GraphQLCodeRegistry.Builder
GraphQLCodeRegistry.Builder. dataFetcher(GraphQLObjectType parentType, GraphQLFieldDefinition fieldDefinition, DataFetcher<?> dataFetcher)
Sets the data fetcher for a specific field inside an object typeGraphQLInterfaceType.Builder
GraphQLInterfaceType.Builder. field(GraphQLFieldDefinition fieldDefinition)
GraphQLObjectType.Builder
GraphQLObjectType.Builder. field(GraphQLFieldDefinition fieldDefinition)
DataFetcherFactoryEnvironment.Builder
DataFetcherFactoryEnvironment.Builder. fieldDefinition(GraphQLFieldDefinition fieldDefinition)
DataFetchingEnvironmentImpl.Builder
DataFetchingEnvironmentImpl.Builder. fieldDefinition(GraphQLFieldDefinition fieldDefinition)
T
LightDataFetcher. get(GraphQLFieldDefinition fieldDefinition, java.lang.Object sourceObject, java.util.function.Supplier<DataFetchingEnvironment> environmentSupplier)
This is called to by the engine to get a value from the source object in a lightweight fashion.T
PropertyDataFetcher. get(GraphQLFieldDefinition fieldDefinition, java.lang.Object source, java.util.function.Supplier<DataFetchingEnvironment> environmentSupplier)
DataFetcher<?>
GraphQLCodeRegistry.Builder. getDataFetcher(FieldCoordinates coordinates, GraphQLFieldDefinition fieldDefinition)
Returns a data fetcher associated with a field located at specified coordinates.DataFetcher<?>
GraphQLCodeRegistry.Builder. getDataFetcher(GraphQLFieldsContainer parentType, GraphQLFieldDefinition fieldDefinition)
Deprecated.This is confusing becauseGraphQLInterfaceType
s cant have data fetchers.DataFetcher<?>
GraphQLCodeRegistry.Builder. getDataFetcher(GraphQLObjectType parentType, GraphQLFieldDefinition fieldDefinition)
Returns a data fetcher associated with a field within an object typeDataFetcher<?>
GraphQLCodeRegistry. getDataFetcher(FieldCoordinates coordinates, GraphQLFieldDefinition fieldDefinition)
Returns a data fetcher associated with a field located at specified coordinates.DataFetcher<?>
GraphQLCodeRegistry. getDataFetcher(GraphQLFieldsContainer parentType, GraphQLFieldDefinition fieldDefinition)
Deprecated.This is confusing becauseGraphQLInterfaceType
s cant have data fetchers.DataFetcher<?>
GraphQLCodeRegistry. getDataFetcher(GraphQLObjectType parentType, GraphQLFieldDefinition fieldDefinition)
Returns a data fetcher associated with a field within an object typeprivate static DataFetcher<?>
GraphQLCodeRegistry. getDataFetcherImpl(FieldCoordinates coordinates, GraphQLFieldDefinition fieldDefinition, java.util.Map<FieldCoordinates,DataFetcherFactory<?>> dataFetcherMap, java.util.Map<java.lang.String,DataFetcherFactory<?>> systemDataFetcherMap, DataFetcherFactory<?> defaultDataFetcherFactory)
static GraphQLFieldDefinition.Builder
GraphQLFieldDefinition. newFieldDefinition(GraphQLFieldDefinition existing)
TraversalControl
CodeRegistryVisitor. visitGraphQLFieldDefinition(GraphQLFieldDefinition node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
GraphQLTypeResolvingVisitor.TypeRefResolvingVisitor. visitGraphQLFieldDefinition(GraphQLFieldDefinition node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
GraphQLTypeVisitor. visitGraphQLFieldDefinition(GraphQLFieldDefinition node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
GraphQLTypeVisitorStub. visitGraphQLFieldDefinition(GraphQLFieldDefinition node, TraverserContext<GraphQLSchemaElement> context)
Method parameters in graphql.schema with type arguments of type GraphQLFieldDefinition Modifier and Type Method Description private void
GraphQLInterfaceType. buildDefinitionMap(java.util.List<GraphQLFieldDefinition> fieldDefinitions)
private com.google.common.collect.ImmutableMap<java.lang.String,GraphQLFieldDefinition>
GraphQLObjectType. buildDefinitionMap(java.util.List<GraphQLFieldDefinition> fieldDefinitions)
GraphQLInterfaceType.Builder
GraphQLInterfaceType.Builder. fields(java.util.List<GraphQLFieldDefinition> fieldDefinitions)
GraphQLObjectType.Builder
GraphQLObjectType.Builder. fields(java.util.List<GraphQLFieldDefinition> fieldDefinitions)
GraphQLInterfaceType.Builder
GraphQLInterfaceType.Builder. replaceFields(java.util.List<GraphQLFieldDefinition> fieldDefinitions)
GraphQLObjectType.Builder
GraphQLObjectType.Builder. replaceFields(java.util.List<GraphQLFieldDefinition> fieldDefinitions)
Constructors in graphql.schema with parameters of type GraphQLFieldDefinition Constructor Description Builder(GraphQLFieldDefinition existing)
DataFetcherFactoryEnvironment(GraphQLFieldDefinition fieldDefinition)
Constructor parameters in graphql.schema with type arguments of type GraphQLFieldDefinition Constructor Description GraphQLInterfaceType(java.lang.String name, java.lang.String description, java.util.List<GraphQLFieldDefinition> fieldDefinitions, TypeResolver typeResolver, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, InterfaceTypeDefinition definition, java.util.List<InterfaceTypeExtensionDefinition> extensionDefinitions, java.util.List<GraphQLNamedOutputType> interfaces, java.util.Comparator<? super GraphQLSchemaElement> interfaceComparator)
GraphQLObjectType(java.lang.String name, java.lang.String description, java.util.List<GraphQLFieldDefinition> fieldDefinitions, java.util.List<GraphQLNamedOutputType> interfaces, java.util.List<GraphQLDirective> directives, java.util.List<GraphQLAppliedDirective> appliedDirectives, ObjectTypeDefinition definition, java.util.List<ObjectTypeExtensionDefinition> extensionDefinitions, java.util.Comparator<? super GraphQLSchemaElement> interfaceComparator)
-
Uses of GraphQLFieldDefinition in graphql.schema.diffing
Methods in graphql.schema.diffing with parameters of type GraphQLFieldDefinition Modifier and Type Method Description private void
SchemaGraphFactory. handleField(Vertex fieldVertex, GraphQLFieldDefinition fieldDefinition, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema)
private Vertex
SchemaGraphFactory. newField(GraphQLFieldDefinition graphQLFieldDefinition, SchemaGraph schemaGraph, boolean isIntrospectionNode)
-
Uses of GraphQLFieldDefinition in graphql.schema.idl
Fields in graphql.schema.idl declared as GraphQLFieldDefinition Modifier and Type Field Description private GraphQLFieldDefinition
SchemaDirectiveWiringEnvironmentImpl. fieldDefinition
private GraphQLFieldDefinition
SchemaGeneratorDirectiveHelper.Parameters. fieldDefinition
Methods in graphql.schema.idl that return GraphQLFieldDefinition Modifier and Type Method Description (package private) GraphQLFieldDefinition
SchemaGeneratorHelper. buildField(SchemaGeneratorHelper.BuildContext buildCtx, TypeDefinition<?> parentType, FieldDefinition fieldDef)
GraphQLFieldDefinition
SchemaDirectiveWiringEnvironment. getFieldDefinition()
GraphQLFieldDefinition
SchemaDirectiveWiringEnvironmentImpl. getFieldDefinition()
GraphQLFieldDefinition
SchemaGeneratorDirectiveHelper.Parameters. getFieldsDefinition()
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 elementprivate GraphQLFieldDefinition
SchemaGeneratorDirectiveHelper. onField(GraphQLFieldDefinition fieldDefinition, SchemaGeneratorDirectiveHelper.Parameters params)
GraphQLFieldDefinition
SchemaDirectiveWiringEnvironment. setFieldDataFetcher(DataFetcher<?> newDataFetcher)
This is a shortcut method to set a new data fetcher in the underlyingGraphQLCodeRegistry
against the current field.GraphQLFieldDefinition
SchemaDirectiveWiringEnvironmentImpl. setFieldDataFetcher(DataFetcher<?> newDataFetcher)
Methods in graphql.schema.idl that return types with arguments of type GraphQLFieldDefinition Modifier and Type Method Description private java.util.List<GraphQLFieldDefinition>
SchemaGeneratorDirectiveHelper. wireFields(GraphQLFieldsContainer fieldsContainer, NamedNode<?> fieldsContainerNode, SchemaGeneratorDirectiveHelper.Parameters params)
Methods in graphql.schema.idl with parameters of type GraphQLFieldDefinition Modifier and Type Method Description SchemaGeneratorDirectiveHelper.Parameters
SchemaGeneratorDirectiveHelper.Parameters. newParams(GraphQLFieldDefinition fieldDefinition, GraphQLFieldsContainer fieldsContainer, NodeParentTree<NamedNode<?>> nodeParentTree, GraphqlElementParentTree elementParentTree)
private GraphQLFieldDefinition
SchemaGeneratorDirectiveHelper. onField(GraphQLFieldDefinition fieldDefinition, SchemaGeneratorDirectiveHelper.Parameters params)
private java.util.List<GraphQLArgument>
SchemaGeneratorDirectiveHelper. wireArguments(GraphQLFieldDefinition fieldDefinition, GraphQLFieldsContainer fieldsContainer, NamedNode<?> fieldsContainerNode, SchemaGeneratorDirectiveHelper.Parameters params, GraphQLFieldDefinition field)
Method parameters in graphql.schema.idl with type arguments of type GraphQLFieldDefinition Modifier and Type Method 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 elementprivate void
SchemaPrinter. printFieldDefinitions(java.io.PrintWriter out, java.util.Comparator<? super GraphQLSchemaElement> comparator, java.util.List<GraphQLFieldDefinition> fieldDefinitions)
Constructors in graphql.schema.idl with parameters of type GraphQLFieldDefinition Constructor Description Parameters(TypeDefinitionRegistry typeRegistry, RuntimeWiring runtimeWiring, java.util.Map<java.lang.String,java.lang.Object> context, GraphQLCodeRegistry.Builder codeRegistry, NodeParentTree<NamedNode<?>> nodeParentTree, GraphqlElementParentTree elementParentTree, GraphQLFieldsContainer fieldsContainer, GraphQLFieldDefinition fieldDefinition)
-
Uses of GraphQLFieldDefinition in graphql.schema.impl
Methods in graphql.schema.impl with parameters of type GraphQLFieldDefinition Modifier and Type Method Description TraversalControl
GraphQLTypeCollectingVisitor. visitGraphQLFieldDefinition(GraphQLFieldDefinition node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
MultiReadOnlyGraphQLTypeVisitor. visitGraphQLFieldDefinition(GraphQLFieldDefinition node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLFieldDefinition in graphql.schema.transform
Methods in graphql.schema.transform with parameters of type GraphQLFieldDefinition Modifier and Type Method Description TraversalControl
FieldVisibilitySchemaTransformation.FieldRemovalVisitor. visitGraphQLFieldDefinition(GraphQLFieldDefinition definition, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLFieldDefinition in graphql.schema.validation
-
Uses of GraphQLFieldDefinition in graphql.schema.visibility
Methods in graphql.schema.visibility that return GraphQLFieldDefinition Modifier and Type Method Description GraphQLFieldDefinition
BlockedFields. getFieldDefinition(GraphQLFieldsContainer fieldsContainer, java.lang.String fieldName)
GraphQLFieldDefinition
DefaultGraphqlFieldVisibility. getFieldDefinition(GraphQLFieldsContainer fieldsContainer, java.lang.String fieldName)
GraphQLFieldDefinition
GraphqlFieldVisibility. getFieldDefinition(GraphQLFieldsContainer fieldsContainer, java.lang.String fieldName)
Called to get a named field from an object type or interfaceGraphQLFieldDefinition
NoIntrospectionGraphqlFieldVisibility. getFieldDefinition(GraphQLFieldsContainer fieldsContainer, java.lang.String fieldName)
Deprecated.Methods in graphql.schema.visibility that return types with arguments of type GraphQLFieldDefinition Modifier and Type Method Description java.util.List<GraphQLFieldDefinition>
BlockedFields. getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
java.util.List<GraphQLFieldDefinition>
DefaultGraphqlFieldVisibility. getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
java.util.List<GraphQLFieldDefinition>
GraphqlFieldVisibility. getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
Called to get the list of fields from an object type or interfacejava.util.List<GraphQLFieldDefinition>
NoIntrospectionGraphqlFieldVisibility. getFieldDefinitions(GraphQLFieldsContainer fieldsContainer)
Deprecated. -
Uses of GraphQLFieldDefinition in graphql.schema.visitor
Methods in graphql.schema.visitor with parameters of type GraphQLFieldDefinition Modifier and Type Method Description default GraphQLSchemaTraversalControl
GraphQLSchemaVisitor. visitFieldDefinition(GraphQLFieldDefinition fieldDefinition, GraphQLSchemaVisitor.FieldDefinitionVisitorEnvironment environment)
Called when visiting aGraphQLFieldDefinition
in the schemaTraversalControl
GraphQLSchemaVisitorAdapter. visitGraphQLFieldDefinition(GraphQLFieldDefinition node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLFieldDefinition in graphql.util
Methods in graphql.util that return types with arguments of type GraphQLFieldDefinition Modifier and Type Method Description private static java.util.Set<GraphQLFieldDefinition>
Anonymizer. getSameFields(java.lang.String fieldName, java.lang.String objectOrInterfaceName, java.util.Map<java.lang.String,java.util.List<GraphQLImplementingType>> interfaceToImplementations, GraphQLSchema schema)
Method parameters in graphql.util with type arguments of type GraphQLFieldDefinition Modifier and Type Method Description private static java.util.List<GraphQLArgument>
Anonymizer. getMatchingArgumentDefinitions(java.lang.String name, java.util.Set<GraphQLFieldDefinition> fieldDefinitions)
private static void
Anonymizer. getMatchingFieldDefinitions(java.lang.String fieldName, java.util.List<? extends GraphQLType> interfaces, java.util.Set<GraphQLFieldDefinition> result)
-
Uses of GraphQLFieldDefinition in graphql.validation
Fields in graphql.validation with type parameters of type GraphQLFieldDefinition Modifier and Type Field Description private java.util.List<GraphQLFieldDefinition>
TraversalContext. fieldDefStack
Methods in graphql.validation that return GraphQLFieldDefinition Modifier and Type Method Description GraphQLFieldDefinition
TraversalContext. getFieldDef()
private GraphQLFieldDefinition
TraversalContext. getFieldDef(GraphQLSchema schema, GraphQLType parentType, Field field)
GraphQLFieldDefinition
ValidationContext. getFieldDef()
Methods in graphql.validation with parameters of type GraphQLFieldDefinition Modifier and Type Method Description private void
TraversalContext. addFieldDef(GraphQLFieldDefinition fieldDefinition)
-
Uses of GraphQLFieldDefinition in graphql.validation.rules
Methods in graphql.validation.rules that return GraphQLFieldDefinition Modifier and Type Method Description private GraphQLFieldDefinition
OverlappingFieldsCanBeMerged. getVisibleFieldDefinition(GraphQLFieldsContainer fieldsContainer, Field field)
-