Uses of Interface
graphql.schema.GraphQLSchemaElement
-
Packages that use GraphQLSchemaElement Package Description graphql.language graphql.schema graphql.schema.idl graphql.schema.impl graphql.schema.transform graphql.schema.validation graphql.schema.visitor -
-
Uses of GraphQLSchemaElement in graphql.language
Methods in graphql.language with parameters of type GraphQLSchemaElement Modifier and Type Method Description static SourceLocation
SourceLocation. getLocation(GraphQLSchemaElement schemaElement)
This method can returnSourceLocation
that help create the given schema element. -
Uses of GraphQLSchemaElement in graphql.schema
Subinterfaces of GraphQLSchemaElement in graphql.schema Modifier and Type Interface Description interface
GraphQLCompositeType
interface
GraphQLDirectiveContainer
Represents a graphql runtime type that can haveGraphQLAppliedDirective
s.interface
GraphQLFieldsContainer
Types that can contain output fields are marked with this interfaceinterface
GraphQLImplementingType
A GraphQLType which can implement interfacesinterface
GraphQLInputFieldsContainer
Types that can contain input fields are marked with this interfaceinterface
GraphQLInputSchemaElement
A schema element that is concerned with input.interface
GraphQLInputType
Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.interface
GraphQLInputValueDefinition
Named schema elements that contain input type information.interface
GraphQLModifiedType
A modified type wraps another graphql type and modifies it behaviorinterface
GraphQLNamedInputType
Input types represent those set of types that are allowed to be accepted as graphql mutation input, as opposed toGraphQLOutputType
s which can only be used as graphql response output.interface
GraphQLNamedOutputType
Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.interface
GraphQLNamedSchemaElement
A Schema element which has a name and also a description and AST Node which it is based on.interface
GraphQLNamedType
A GraphQLType which is also a named element, which means it has a getName() method.interface
GraphQLNullableType
interface
GraphQLOutputType
Output types represent those set of types that are allowed to be sent back as a graphql response, as opposed toGraphQLInputType
s which can only be used as graphql mutation input.interface
GraphQLType
A type inside the GraphQLSchema.interface
GraphQLUnmodifiedType
Classes in graphql.schema that implement GraphQLSchemaElement Modifier and Type Class Description class
GraphQLAppliedDirective
An applied directive represents the instance of a directive that is applied to a schema element, as opposed to it definitionclass
GraphQLAppliedDirectiveArgument
This represents the argument values that can be placed on anGraphQLAppliedDirective
.class
GraphQLArgument
This defines an argument that can be supplied to a graphql field (viaGraphQLFieldDefinition
.class
GraphQLDirective
A directive can be used to modify the behavior of a graphql field or type.class
GraphQLEnumType
A graphql enumeration type has a limited set of values.class
GraphQLEnumValueDefinition
A graphql enumeration type has a limited set of values and this defines one of those unique valuesclass
GraphQLFieldDefinition
Fields are the ways you get data values in graphql and a field definition represents a field, its type, the arguments it takes and theDataFetcher
used to get data values for that field.class
GraphQLInputObjectField
Input objects defined viaGraphQLInputObjectType
contains these input fields.class
GraphQLInputObjectType
graphql clearly delineates between the types of objects that represent the output of a query and input objects that can be fed into a graphql mutation.class
GraphQLInterfaceType
In graphql, an interface is an abstract type that defines the set of fields that a type must include to implement that interface.class
GraphQLList
A modified type that indicates there is a list of the underlying wrapped type, eg a list of strings or a list of booleans.class
GraphQLNonNull
A modified type that indicates there the underlying wrapped type will not be null.class
GraphQLObjectType
This is the work horse type and represents an object with one or more field values that can be retrieved by the graphql system.class
GraphQLScalarType
A scalar type is a leaf node in the graphql tree of types.class
GraphQLTypeReference
A special type to allow a object/interface types to reference itself.class
GraphQLUnionType
A union type is a polymorphic type that dynamically represents one of more concrete object types.private static class
SchemaTransformer.DummyRoot
Fields in graphql.schema declared as GraphQLSchemaElement Modifier and Type Field Description private GraphQLSchemaElement
GraphqlElementParentTree. element
(package private) GraphQLSchemaElement
SchemaTransformer.DummyRoot. schemaElement
Fields in graphql.schema with type parameters of type GraphQLSchemaElement Modifier and Type Field Description (package private) java.util.Map<NodeZipper<GraphQLSchemaElement>,java.util.List<java.util.List<Breadcrumb<GraphQLSchemaElement>>>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. breadcrumbsByZipper
(package private) java.util.Map<NodeZipper<GraphQLSchemaElement>,java.util.List<java.util.List<Breadcrumb<GraphQLSchemaElement>>>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. breadcrumbsByZipper
private java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>>
SchemaElementChildrenContainer.Builder. children
private java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>>
SchemaElementChildrenContainer. children
static java.util.Comparator<GraphQLSchemaElement>
DefaultGraphqlTypeComparatorRegistry. DEFAULT_COMPARATOR
private java.lang.Class<? extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment.Builder. elementType
private java.lang.Class<? extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment. elementType
private java.util.function.Function<? super GraphQLSchemaElement,? extends java.util.List<GraphQLSchemaElement>>
SchemaTraverser. getChildren
private java.util.function.Function<? super GraphQLSchemaElement,? extends java.util.List<GraphQLSchemaElement>>
SchemaTraverser. getChildren
private java.util.Comparator<? super GraphQLSchemaElement>
GraphQLInterfaceType. interfaceComparator
private java.util.Comparator<? super GraphQLSchemaElement>
GraphQLObjectType. interfaceComparator
Breadcrumb<GraphQLSchemaElement>
SchemaTransformer.ZipperWithOneParent. parent
private java.lang.Class<? extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment.Builder. parentType
private java.lang.Class<? extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment. parentType
(package private) java.util.Set<NodeZipper<GraphQLSchemaElement>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. relevantZippers
private static com.google.common.collect.ImmutableMap<java.lang.Class<? extends GraphQLSchemaElement>,java.lang.Integer>
DefaultGraphqlTypeComparatorRegistry. SENSIBLE_ORDER
NodeZipper<GraphQLSchemaElement>
SchemaTransformer.ZipperWithOneParent. zipper
(package private) com.google.common.collect.Multimap<GraphQLSchemaElement,NodeZipper<GraphQLSchemaElement>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. zipperByParent
(package private) com.google.common.collect.Multimap<GraphQLSchemaElement,NodeZipper<GraphQLSchemaElement>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. zipperByParent
Methods in graphql.schema with type parameters of type GraphQLSchemaElement Modifier and Type Method Description <T extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment.BuilderGraphqlTypeComparatorEnvironment.Builder. elementType(java.lang.Class<T> elementType)
<T extends GraphQLSchemaElement>
TSchemaElementChildrenContainer. getChildOrNull(java.lang.String key)
<T extends GraphQLSchemaElement>
java.util.List<T>SchemaElementChildrenContainer. getChildren(java.lang.String key)
<T extends GraphQLSchemaElement>
java.util.Comparator<? super T>DefaultGraphqlTypeComparatorRegistry. getComparator(GraphqlTypeComparatorEnvironment environment)
Search for the most to least specific registeredComparator
otherwise a default is returned.<T extends GraphQLSchemaElement>
java.util.Comparator<? super T>GraphqlTypeComparatorRegistry. getComparator(GraphqlTypeComparatorEnvironment environment)
<T extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment.BuilderGraphqlTypeComparatorEnvironment.Builder. parentType(java.lang.Class<T> parentType)
(package private) <T extends GraphQLSchemaElement>
java.util.List<T>GraphqlTypeBuilder. sort(java.util.List<T> types, java.lang.Class<? extends GraphQLSchemaElement> parentType, java.lang.Class<? extends GraphQLSchemaElement> elementType)
(package private) <T extends GraphQLSchemaElement>
java.util.List<T>GraphqlTypeBuilder. sort(java.util.Map<java.lang.String,T> types, java.lang.Class<? extends GraphQLSchemaElement> parentType, java.lang.Class<? extends GraphQLSchemaElement> elementType)
static <T extends GraphQLSchemaElement>
java.util.List<T>GraphqlTypeComparators. sortTypes(java.util.Comparator<? super GraphQLSchemaElement> comparator, java.util.Collection<T> types)
This sorts the list ofGraphQLType
objects (by name) and allocates a new sorted list back.<T extends GraphQLSchemaElement>
TSchemaTransformer. transform(T schemaElement, GraphQLTypeVisitor visitor)
static <T extends GraphQLSchemaElement>
TSchemaTransformer. transformSchema(T schemaElement, GraphQLTypeVisitor visitor)
Transforms aGraphQLSchemaElement
and returns a new element.Methods in graphql.schema that return GraphQLSchemaElement Modifier and Type Method Description GraphQLSchemaElement
GraphQLAppliedDirective. copy()
GraphQLSchemaElement
GraphQLAppliedDirectiveArgument. copy()
GraphQLSchemaElement
GraphQLArgument. copy()
GraphQLSchemaElement
GraphQLDirective. copy()
GraphQLSchemaElement
GraphQLEnumType. copy()
GraphQLSchemaElement
GraphQLEnumValueDefinition. copy()
GraphQLSchemaElement
GraphQLFieldDefinition. copy()
GraphQLSchemaElement
GraphQLInputObjectField. copy()
GraphQLSchemaElement
GraphQLInputObjectType. copy()
GraphQLSchemaElement
GraphQLInterfaceType. copy()
GraphQLSchemaElement
GraphQLList. copy()
GraphQLSchemaElement
GraphQLNonNull. copy()
GraphQLSchemaElement
GraphQLObjectType. copy()
GraphQLSchemaElement
GraphQLScalarType. copy()
GraphQLSchemaElement
GraphQLSchemaElement. copy()
Each GraphQLSchemaElement should make a copy of itself when this is called.GraphQLSchemaElement
GraphQLTypeReference. copy()
GraphQLSchemaElement
GraphQLUnionType. copy()
GraphQLSchemaElement
SchemaTransformer.DummyRoot. copy()
GraphQLSchemaElement
GraphqlElementParentTree. getElement()
Returns the element represented by this infoGraphQLSchemaElement
GraphQLSchemaElementAdapter. removeChild(GraphQLSchemaElement node, NodeLocation location)
private static GraphQLSchemaElement
DefaultGraphqlTypeComparatorRegistry. unwrapElement(GraphQLSchemaElement element)
GraphQLSchemaElement
GraphQLFieldDefinition. withNewChildren(SchemaElementChildrenContainer newChildren)
GraphQLSchemaElement
GraphQLList. withNewChildren(SchemaElementChildrenContainer newChildren)
GraphQLSchemaElement
GraphQLNonNull. withNewChildren(SchemaElementChildrenContainer newChildren)
GraphQLSchemaElement
GraphQLObjectType. withNewChildren(SchemaElementChildrenContainer newChildren)
default GraphQLSchemaElement
GraphQLSchemaElement. withNewChildren(SchemaElementChildrenContainer newChildren)
GraphQLSchemaElement
GraphQLSchemaElementAdapter. withNewChildren(GraphQLSchemaElement node, java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> newChildren)
GraphQLSchemaElement
SchemaTransformer.DummyRoot. withNewChildren(SchemaElementChildrenContainer newChildren)
Methods in graphql.schema that return types with arguments of type GraphQLSchemaElement Modifier and Type Method Description static java.util.Comparator<? super GraphQLSchemaElement>
GraphqlTypeComparators. asIsOrder()
Returns a comparator that lavesGraphQLType
objects as they arestatic java.util.Comparator<? super GraphQLSchemaElement>
GraphqlTypeComparators. byNameAsc()
Returns a comparator that comparesGraphQLType
objects by ascending namejava.util.List<java.util.List<Breadcrumb<GraphQLSchemaElement>>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. getBreadcrumbs(NodeZipper<GraphQLSchemaElement> zipper)
java.util.List<GraphQLSchemaElement>
GraphQLAppliedDirective. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLAppliedDirectiveArgument. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLArgument. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLDirective. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLEnumType. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLEnumValueDefinition. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLFieldDefinition. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLInputObjectField. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLInputObjectType. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLInterfaceType. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLList. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLNonNull. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLObjectType. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLScalarType. getChildren()
default java.util.List<GraphQLSchemaElement>
GraphQLSchemaElement. getChildren()
java.util.List<GraphQLSchemaElement>
GraphQLUnionType. getChildren()
java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>>
SchemaElementChildrenContainer. getChildren()
java.util.List<GraphQLSchemaElement>
SchemaTransformer.DummyRoot. getChildren()
java.util.List<GraphQLSchemaElement>
SchemaElementChildrenContainer. getChildrenAsList()
(package private) java.util.Comparator<? super GraphQLSchemaElement>
GraphqlTypeBuilder. getComparator(java.lang.Class<? extends GraphQLSchemaElement> parentType, java.lang.Class<? extends GraphQLNamedSchemaElement> elementType)
private static java.util.Comparator<? super GraphQLSchemaElement>
GraphqlTypeBuilder. getComparatorImpl(GraphqlTypeComparatorRegistry comparatorRegistry, java.lang.Class<? extends GraphQLSchemaElement> parentType, java.lang.Class<? extends GraphQLSchemaElement> elementType)
java.lang.Class<? extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment. getElementType()
java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>>
GraphQLSchemaElementAdapter. getNamedChildren(GraphQLSchemaElement node)
java.lang.Class<? extends GraphQLSchemaElement>
GraphqlTypeComparatorEnvironment. getParentType()
private Traverser<GraphQLSchemaElement>
SchemaTraverser. initTraverser()
private NodeZipper<GraphQLSchemaElement>
SchemaTransformer. moveUp(GraphQLSchemaElement parent, java.util.Map<NodeZipper<GraphQLSchemaElement>,Breadcrumb<GraphQLSchemaElement>> sameParentsZipper)
static java.util.Comparator<GraphQLSchemaElement>
DefaultGraphqlTypeComparatorRegistry. sensibleGroupedOrder()
This orders the schema into a sensible grouped orderjava.util.List<GraphQLSchemaElement>
GraphqlElementParentTree. toList()
java.util.Collection<NodeZipper<GraphQLSchemaElement>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. zippersWithParent(GraphQLSchemaElement parent)
private java.util.Map<NodeZipper<GraphQLSchemaElement>,Breadcrumb<GraphQLSchemaElement>>
SchemaTransformer. zipperWithSameParent(GraphQLSchemaElement parent, SchemaTransformer.RelevantZippersAndBreadcrumbs relevantZippers, boolean cleanup)
private java.util.Map<NodeZipper<GraphQLSchemaElement>,Breadcrumb<GraphQLSchemaElement>>
SchemaTransformer. zipperWithSameParent(GraphQLSchemaElement parent, SchemaTransformer.RelevantZippersAndBreadcrumbs relevantZippers, boolean cleanup)
Methods in graphql.schema with parameters of type GraphQLSchemaElement Modifier and Type Method Description default TraversalControl
GraphQLTypeVisitor. changeNode(TraverserContext<GraphQLSchemaElement> context, GraphQLSchemaElement newChangedNode)
This helper method can be used to "change" a node when returning control from this visitorSchemaElementChildrenContainer.Builder
SchemaElementChildrenContainer.Builder. child(java.lang.String key, GraphQLSchemaElement child)
private static int
DefaultGraphqlTypeComparatorRegistry. compareByName(GraphQLSchemaElement o1, GraphQLSchemaElement o2)
TraverserResult
SchemaTraverser. depthFirst(GraphQLTypeVisitor graphQLTypeVisitor, GraphQLSchemaElement root)
java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>>
GraphQLSchemaElementAdapter. getNamedChildren(GraphQLSchemaElement node)
default TraversalControl
GraphQLTypeVisitor. insertAfter(TraverserContext<GraphQLSchemaElement> context, GraphQLSchemaElement toInsertAfter)
This helper method can be used to "insert a new node" AFTER the current node when returning control from this visitordefault TraversalControl
GraphQLTypeVisitor. insertBefore(TraverserContext<GraphQLSchemaElement> context, GraphQLSchemaElement toInsertBefore)
This helper method can be used to "insert a new node" BEFORE the current node when returning control from this visitorprivate NodeZipper<GraphQLSchemaElement>
SchemaTransformer. moveUp(GraphQLSchemaElement parent, java.util.Map<NodeZipper<GraphQLSchemaElement>,Breadcrumb<GraphQLSchemaElement>> sameParentsZipper)
GraphQLSchemaElement
GraphQLSchemaElementAdapter. removeChild(GraphQLSchemaElement node, NodeLocation location)
SchemaElementChildrenContainer.Builder
SchemaElementChildrenContainer.Builder. replaceChild(java.lang.String key, int index, GraphQLSchemaElement newChild)
static java.lang.String
GraphQLTypeUtil. simplePrint(GraphQLSchemaElement schemaElement)
private java.lang.Object
SchemaTransformer. transformImpl(GraphQLSchema schema, GraphQLSchemaElement schemaElement, GraphQLTypeVisitor visitor, java.util.function.Consumer<GraphQLSchema.Builder> postTransformation)
private static GraphQLSchemaElement
DefaultGraphqlTypeComparatorRegistry. unwrapElement(GraphQLSchemaElement element)
protected TraversalControl
GraphQLTypeVisitorStub. visitGraphQLType(GraphQLSchemaElement node, TraverserContext<GraphQLSchemaElement> context)
GraphQLSchemaElement
GraphQLSchemaElementAdapter. withNewChildren(GraphQLSchemaElement node, java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> newChildren)
java.util.Collection<NodeZipper<GraphQLSchemaElement>>
SchemaTransformer.RelevantZippersAndBreadcrumbs. zippersWithParent(GraphQLSchemaElement parent)
private java.util.Map<NodeZipper<GraphQLSchemaElement>,Breadcrumb<GraphQLSchemaElement>>
SchemaTransformer. zipperWithSameParent(GraphQLSchemaElement parent, SchemaTransformer.RelevantZippersAndBreadcrumbs relevantZippers, boolean cleanup)
Constructors in graphql.schema with parameters of type GraphQLSchemaElement Constructor Description DummyRoot(GraphQLSchemaElement schemaElement)
Constructor parameters in graphql.schema with type arguments of type GraphQLSchemaElement Constructor Description GraphqlElementParentTree(java.util.Deque<GraphQLSchemaElement> nodeStack)
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)
GraphqlTypeComparatorEnvironment(java.lang.Class<? extends GraphQLSchemaElement> parentType, java.lang.Class<? extends GraphQLSchemaElement> elementType)
RelevantZippersAndBreadcrumbs(java.util.List<NodeZipper<GraphQLSchemaElement>> relevantZippers, java.util.Map<NodeZipper<GraphQLSchemaElement>,java.util.List<java.util.List<Breadcrumb<GraphQLSchemaElement>>>> breadcrumbsByZipper)
RelevantZippersAndBreadcrumbs(java.util.List<NodeZipper<GraphQLSchemaElement>> relevantZippers, java.util.Map<NodeZipper<GraphQLSchemaElement>,java.util.List<java.util.List<Breadcrumb<GraphQLSchemaElement>>>> breadcrumbsByZipper)
RelevantZippersAndBreadcrumbs(java.util.List<NodeZipper<GraphQLSchemaElement>> relevantZippers, java.util.Map<NodeZipper<GraphQLSchemaElement>,java.util.List<java.util.List<Breadcrumb<GraphQLSchemaElement>>>> breadcrumbsByZipper)
SchemaElementChildrenContainer(java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> children)
SchemaTraverser(java.util.function.Function<? super GraphQLSchemaElement,? extends java.util.List<GraphQLSchemaElement>> getChildren)
SchemaTraverser(java.util.function.Function<? super GraphQLSchemaElement,? extends java.util.List<GraphQLSchemaElement>> getChildren)
ZipperWithOneParent(NodeZipper<GraphQLSchemaElement> zipper, Breadcrumb<GraphQLSchemaElement> parent)
ZipperWithOneParent(NodeZipper<GraphQLSchemaElement> zipper, Breadcrumb<GraphQLSchemaElement> parent)
-
Uses of GraphQLSchemaElement in graphql.schema.idl
Fields in graphql.schema.idl with type parameters of type GraphQLSchemaElement Modifier and Type Field Description private java.util.function.Predicate<GraphQLSchemaElement>
SchemaPrinter.Options. includeSchemaElement
Methods in graphql.schema.idl with type parameters of type GraphQLSchemaElement Modifier and Type Method Description <T extends GraphQLSchemaElement>
java.util.Comparator<? super T>SchemaParseOrder. getElementComparator()
This comparator will sort according to the original parsed orderprivate <T extends GraphQLSchemaElement>
booleanSchemaParseOrder. isAssignable(T e1, java.lang.Class<?>... classes)
Methods in graphql.schema.idl that return types with arguments of type GraphQLSchemaElement Modifier and Type Method Description private java.util.Comparator<? super GraphQLSchemaElement>
SchemaPrinter. getComparator(java.lang.Class<? extends GraphQLSchemaElement> parentType, java.lang.Class<? extends GraphQLSchemaElement> elementType)
java.util.function.Predicate<GraphQLSchemaElement>
SchemaPrinter.Options. getIncludeSchemaElement()
Methods in graphql.schema.idl with parameters of type GraphQLSchemaElement Modifier and Type Method Description private GraphqlElementParentTree
SchemaGeneratorDirectiveHelper. buildRuntimeTree(GraphQLSchemaElement... elements)
private TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. changOrContinue(GraphQLSchemaElement node, GraphQLSchemaElement newNode, TraverserContext<GraphQLSchemaElement> context)
private void
SchemaPrinter. printSchemaElement(java.io.PrintWriter out, GraphQLSchemaElement schemaElement, GraphqlFieldVisibility visibility)
Method parameters in graphql.schema.idl with type arguments of type GraphQLSchemaElement Modifier and Type Method Description (package private) java.lang.String
SchemaPrinter. argsString(java.lang.Class<? extends GraphQLSchemaElement> parent, java.util.List<GraphQLArgument> arguments)
private TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. changOrContinue(GraphQLSchemaElement node, GraphQLSchemaElement newNode, TraverserContext<GraphQLSchemaElement> context)
(package private) java.lang.String
SchemaPrinter. directivesString(java.lang.Class<? extends GraphQLSchemaElement> parentType, boolean isDeprecated, GraphQLDirectiveContainer directiveContainer)
java.lang.String
SchemaPrinter. directivesString(java.lang.Class<? extends GraphQLSchemaElement> parentType, GraphQLDirectiveContainer directiveContainer)
private java.lang.String
SchemaPrinter. directivesString(java.lang.Class<? extends GraphQLSchemaElement> parentType, java.util.List<GraphQLAppliedDirective> directives)
private java.util.Comparator<? super GraphQLSchemaElement>
SchemaPrinter. getComparator(java.lang.Class<? extends GraphQLSchemaElement> parentType, java.lang.Class<? extends GraphQLSchemaElement> elementType)
SchemaPrinter.Options
SchemaPrinter.Options. includeSchemaElement(java.util.function.Predicate<GraphQLSchemaElement> includeSchemaElement)
This is a general purpose Predicate that decides whether a schema element is printed ever.java.lang.String
SchemaPrinter. print(java.util.List<GraphQLSchemaElement> elements)
private void
SchemaPrinter. printFieldDefinitions(java.io.PrintWriter out, java.util.Comparator<? super GraphQLSchemaElement> comparator, java.util.List<GraphQLFieldDefinition> fieldDefinitions)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLEnumType(GraphQLEnumType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLInputObjectType(GraphQLInputObjectType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLInterfaceType(GraphQLInterfaceType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLObjectType(GraphQLObjectType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLScalarType(GraphQLScalarType node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
SchemaDirectiveWiringSchemaGeneratorPostProcessing.Visitor. visitGraphQLUnionType(GraphQLUnionType node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLSchemaElement in graphql.schema.impl
Fields in graphql.schema.impl with type parameters of type GraphQLSchemaElement Modifier and Type Field Description private java.util.Map<GraphQLSchemaElement,java.lang.Integer>
StronglyConnectedComponentsTopologicallySorted. nodeToIndex
private java.util.Map<GraphQLSchemaElement,java.lang.Integer>
StronglyConnectedComponentsTopologicallySorted. nodeToLowLink
private java.util.Map<GraphQLSchemaElement,java.lang.Boolean>
StronglyConnectedComponentsTopologicallySorted. nodeToOnStack
private java.util.List<java.util.List<GraphQLSchemaElement>>
StronglyConnectedComponentsTopologicallySorted. result
private java.util.Map<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>>
StronglyConnectedComponentsTopologicallySorted. reverseDependencies
private java.util.Map<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>>
StronglyConnectedComponentsTopologicallySorted. reverseDependencies
private java.util.Deque<GraphQLSchemaElement>
StronglyConnectedComponentsTopologicallySorted. stack
private java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>>
StronglyConnectedComponentsTopologicallySorted. typeRefReverseDependencies
Methods in graphql.schema.impl that return types with arguments of type GraphQLSchemaElement Modifier and Type Method Description static java.util.List<java.util.List<GraphQLSchemaElement>>
StronglyConnectedComponentsTopologicallySorted. getStronglyConnectedComponentsTopologicallySorted(java.util.Map<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>> reverseDependencies, java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> typeRefReverseDependencies)
private java.util.List<GraphQLSchemaElement>
StronglyConnectedComponentsTopologicallySorted. topologicallySort(java.util.Set<GraphQLSchemaElement> allNodes)
Methods in graphql.schema.impl with parameters of type GraphQLSchemaElement Modifier and Type Method Description TraversalControl
MultiReadOnlyGraphQLTypeVisitor. changeNode(TraverserContext<GraphQLSchemaElement> context, GraphQLSchemaElement newChangedNode)
TraversalControl
MultiReadOnlyGraphQLTypeVisitor. insertAfter(TraverserContext<GraphQLSchemaElement> context, GraphQLSchemaElement toInsertAfter)
TraversalControl
MultiReadOnlyGraphQLTypeVisitor. insertBefore(TraverserContext<GraphQLSchemaElement> context, GraphQLSchemaElement toInsertBefore)
private void
StronglyConnectedComponentsTopologicallySorted. stronglyConnect(GraphQLSchemaElement v)
private void
StronglyConnectedComponentsTopologicallySorted. visit(GraphQLSchemaElement n, java.util.Set<GraphQLSchemaElement> tempMarked, java.util.Set<GraphQLSchemaElement> permMarked, java.util.Set<GraphQLSchemaElement> notPermMarked, java.util.List<GraphQLSchemaElement> result, java.util.Set<GraphQLSchemaElement> allNodes)
Constructor parameters in graphql.schema.impl with type arguments of type GraphQLSchemaElement Constructor Description StronglyConnectedComponentsTopologicallySorted(java.util.Map<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>> reverseDependencies, java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> typeRefReverseDependencies)
StronglyConnectedComponentsTopologicallySorted(java.util.Map<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>> reverseDependencies, java.util.Map<java.lang.String,java.util.List<GraphQLSchemaElement>> typeRefReverseDependencies)
-
Uses of GraphQLSchemaElement in graphql.schema.transform
Fields in graphql.schema.transform declared as GraphQLSchemaElement Modifier and Type Field Description private GraphQLSchemaElement
VisibleFieldPredicateEnvironment.VisibleFieldPredicateEnvironmentImpl. parentElement
Methods in graphql.schema.transform that return GraphQLSchemaElement Modifier and Type Method Description GraphQLSchemaElement
VisibleFieldPredicateEnvironment. getParentElement()
Get the element's immediate parent node.GraphQLSchemaElement
VisibleFieldPredicateEnvironment.VisibleFieldPredicateEnvironmentImpl. getParentElement()
Methods in graphql.schema.transform that return types with arguments of type GraphQLSchemaElement Modifier and Type Method Description private java.util.function.Function<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>>
FieldVisibilitySchemaTransformation. getChildrenFn(GraphQLSchema schema)
private java.util.function.Function<GraphQLSchemaElement,java.util.List<GraphQLSchemaElement>>
FieldVisibilitySchemaTransformation. getChildrenFn(GraphQLSchema schema)
private java.util.List<GraphQLSchemaElement>
FieldVisibilitySchemaTransformation. getRootTypes(GraphQLSchema schema)
Methods in graphql.schema.transform with parameters of type GraphQLSchemaElement Modifier and Type Method Description TraversalControl
FieldVisibilitySchemaTransformation.AdditionalTypeVisibilityVisitor. visitGraphQLType(GraphQLSchemaElement node, TraverserContext<GraphQLSchemaElement> context)
protected TraversalControl
FieldVisibilitySchemaTransformation.TypeObservingVisitor. visitGraphQLType(GraphQLSchemaElement node, TraverserContext<GraphQLSchemaElement> context)
TraversalControl
FieldVisibilitySchemaTransformation.TypeVisibilityVisitor. visitGraphQLType(GraphQLSchemaElement node, TraverserContext<GraphQLSchemaElement> context)
Constructors in graphql.schema.transform with parameters of type GraphQLSchemaElement Constructor Description VisibleFieldPredicateEnvironmentImpl(GraphQLNamedSchemaElement schemaElement, GraphQLSchemaElement parentElement)
-
Uses of GraphQLSchemaElement in graphql.schema.validation
Methods in graphql.schema.validation with parameters of type GraphQLSchemaElement Modifier and Type Method Description protected TraversalControl
AppliedDirectivesAreValid. visitGraphQLType(GraphQLSchemaElement node, TraverserContext<GraphQLSchemaElement> context)
-
Uses of GraphQLSchemaElement in graphql.schema.visitor
Classes in graphql.schema.visitor with type parameters of type GraphQLSchemaElement Modifier and Type Interface Description interface
GraphQLSchemaVisitorEnvironment<T extends GraphQLSchemaElement>
(package private) class
GraphQLSchemaVisitorEnvironmentImpl<T extends GraphQLSchemaElement>
Fields in graphql.schema.visitor declared as GraphQLSchemaElement Modifier and Type Field Description private GraphQLSchemaElement
GraphQLSchemaTraversalControl. element
Fields in graphql.schema.visitor with type parameters of type GraphQLSchemaElement Modifier and Type Field Description protected TraverserContext<GraphQLSchemaElement>
GraphQLSchemaVisitorEnvironmentImpl. context
Methods in graphql.schema.visitor that return GraphQLSchemaElement Modifier and Type Method Description (package private) GraphQLSchemaElement
GraphQLSchemaTraversalControl. getElement()
Methods in graphql.schema.visitor that return types with arguments of type GraphQLSchemaElement Modifier and Type Method Description private @NotNull java.util.List<GraphQLSchemaElement>
GraphQLSchemaVisitorEnvironmentImpl. buildParentsImpl(java.util.function.Predicate<GraphQLSchemaElement> predicate)
java.util.List<GraphQLSchemaElement>
GraphQLSchemaVisitorEnvironment. getLeadingElements()
This returns the schema element that led to this element, eg a field is contained in a type which is pointed to be another field say.java.util.List<GraphQLSchemaElement>
GraphQLSchemaVisitorEnvironmentImpl. getLeadingElements()
java.util.List<GraphQLSchemaElement>
GraphQLSchemaVisitorEnvironment. getUnwrappedLeadingElements()
This returns the schema element that led to this element but withGraphQLModifiedType
wrappers removed.java.util.List<GraphQLSchemaElement>
GraphQLSchemaVisitorEnvironmentImpl. getUnwrappedLeadingElements()
Methods in graphql.schema.visitor with parameters of type GraphQLSchemaElement Modifier and Type Method Description default GraphQLSchemaTraversalControl
GraphQLSchemaVisitor. visitSchemaElement(GraphQLSchemaElement schemaElement, GraphQLSchemaVisitor.SchemaElementVisitorEnvironment environment)
Called when visiting anyGraphQLSchemaElement
in the schema.Constructors in graphql.schema.visitor with parameters of type GraphQLSchemaElement Constructor Description GraphQLSchemaTraversalControl(GraphQLSchemaTraversalControl.Control control, GraphQLSchemaElement element)
-