Package graphql.schema
Class SchemaTransformer.DummyRoot
java.lang.Object
graphql.schema.SchemaTransformer.DummyRoot
- All Implemented Interfaces:
GraphQLSchemaElement
- Enclosing class:
SchemaTransformer
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) static final String
(package private) Set
<GraphQLType> (package private) Set
<GraphQLDirective> (package private) static final String
(package private) static final String
(package private) GraphQLObjectType
(package private) GraphQLObjectType
(package private) static final String
(package private) GraphQLObjectType
(package private) static final String
(package private) GraphQLSchema
(package private) static final String
(package private) static final String
(package private) static final String
(package private) Set
<GraphQLAppliedDirective> (package private) Set
<GraphQLDirective> (package private) GraphQLSchemaElement
(package private) GraphQLObjectType
(package private) static final String
-
Constructor Summary
ConstructorsConstructorDescriptionDummyRoot
(GraphQLSchema schema) DummyRoot
(GraphQLSchemaElement schemaElement) -
Method Summary
Modifier and TypeMethodDescriptionaccept
(TraverserContext<GraphQLSchemaElement> context, GraphQLTypeVisitor visitor) copy()
Each GraphQLSchemaElement should make a copy of itself when this is called.rebuildSchema
(GraphQLCodeRegistry.Builder codeRegistry) withNewChildren
(SchemaElementChildrenContainer newChildren) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface graphql.schema.GraphQLSchemaElement
equals, hashCode
-
Field Details
-
QUERY
- See Also:
-
MUTATION
- See Also:
-
SUBSCRIPTION
- See Also:
-
ADD_TYPES
- See Also:
-
DIRECTIVES
- See Also:
-
SCHEMA_DIRECTIVES
- See Also:
-
SCHEMA_APPLIED_DIRECTIVES
- See Also:
-
INTROSPECTION
- See Also:
-
SCHEMA_ELEMENT
- See Also:
-
schema
GraphQLSchema schema -
query
GraphQLObjectType query -
mutation
GraphQLObjectType mutation -
subscription
GraphQLObjectType subscription -
introspectionSchemaType
GraphQLObjectType introspectionSchemaType -
additionalTypes
Set<GraphQLType> additionalTypes -
directives
Set<GraphQLDirective> directives -
schemaDirectives
Set<GraphQLDirective> schemaDirectives -
schemaAppliedDirectives
Set<GraphQLAppliedDirective> schemaAppliedDirectives -
schemaElement
GraphQLSchemaElement schemaElement
-
-
Constructor Details
-
DummyRoot
DummyRoot(GraphQLSchema schema) -
DummyRoot
DummyRoot(GraphQLSchemaElement schemaElement)
-
-
Method Details
-
copy
Description copied from interface:GraphQLSchemaElement
Each GraphQLSchemaElement should make a copy of itself when this is called. The copy should be included its current contents as they currently exist into a new object.- Specified by:
copy
in interfaceGraphQLSchemaElement
- Returns:
- a copy of this element
-
getChildren
- Specified by:
getChildren
in interfaceGraphQLSchemaElement
-
getChildrenWithTypeReferences
- Specified by:
getChildrenWithTypeReferences
in interfaceGraphQLSchemaElement
-
withNewChildren
- Specified by:
withNewChildren
in interfaceGraphQLSchemaElement
-
accept
public TraversalControl accept(TraverserContext<GraphQLSchemaElement> context, GraphQLTypeVisitor visitor) - Specified by:
accept
in interfaceGraphQLSchemaElement
-
rebuildSchema
-