Class SchemaGraphFactory
java.lang.Object
graphql.schema.diffing.SchemaGraphFactory
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprivate voidaddSchemaVertex(SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidcreateAppliedDirectives(Vertex from, List<GraphQLDirective> appliedDirectives, SchemaGraph schemaGraph) createGraph(GraphQLSchema schema) private Stringprivate voidhandleArgument(Vertex argumentVertex, GraphQLArgument graphQLArgument, SchemaGraph schemaGraph) private voidhandleDirective(Vertex directive, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidhandleField(Vertex fieldVertex, GraphQLFieldDefinition fieldDefinition, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidhandleInputField(Vertex inputFieldVertex, GraphQLInputObjectField inputField, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidhandleInputObject(Vertex inputObject, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidhandleInterfaceVertex(Vertex interfaceVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidhandleObjectVertex(Vertex objectVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private voidhandleUnion(Vertex unionVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) private VertexnewArgument(GraphQLArgument graphQLArgument, SchemaGraph schemaGraph, boolean isIntrospectionNode) private voidnewDirective(GraphQLDirective directive, SchemaGraph schemaGraph) private voidnewEnum(GraphQLEnumType enumType, SchemaGraph schemaGraph, boolean isIntrospectionNode) private VertexnewField(GraphQLFieldDefinition graphQLFieldDefinition, SchemaGraph schemaGraph, boolean isIntrospectionNode) private VertexnewInputField(GraphQLInputObjectField inputField, SchemaGraph schemaGraph, boolean isIntrospectionNode) private voidnewInputObject(GraphQLInputObjectType inputObject, SchemaGraph schemaGraph, boolean isIntrospectionNode) private voidnewInterface(GraphQLInterfaceType interfaceType, SchemaGraph schemaGraph, boolean isIntrospectionNode) private voidnewObject(GraphQLObjectType graphQLObjectType, SchemaGraph schemaGraph, boolean isIntrospectionNode) private voidnewScalar(GraphQLScalarType scalarType, SchemaGraph schemaGraph, boolean isIntrospectionNode) private voidnewUnion(GraphQLUnionType unionType, SchemaGraph schemaGraph, boolean isIntrospectionNode)
-
Field Details
-
counter
private int counter -
debugPrefix
-
-
Constructor Details
-
SchemaGraphFactory
-
SchemaGraphFactory
public SchemaGraphFactory()
-
-
Method Details
-
createGraph
-
addSchemaVertex
-
handleInputObject
private void handleInputObject(Vertex inputObject, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) -
handleInputField
private void handleInputField(Vertex inputFieldVertex, GraphQLInputObjectField inputField, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) -
handleUnion
-
handleInterfaceVertex
private void handleInterfaceVertex(Vertex interfaceVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) -
handleObjectVertex
private void handleObjectVertex(Vertex objectVertex, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) -
handleField
private void handleField(Vertex fieldVertex, GraphQLFieldDefinition fieldDefinition, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) -
handleDirective
private void handleDirective(Vertex directive, SchemaGraph schemaGraph, GraphQLSchema graphQLSchema) -
handleArgument
private void handleArgument(Vertex argumentVertex, GraphQLArgument graphQLArgument, SchemaGraph schemaGraph) -
newObject
private void newObject(GraphQLObjectType graphQLObjectType, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
newField
private Vertex newField(GraphQLFieldDefinition graphQLFieldDefinition, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
newArgument
private Vertex newArgument(GraphQLArgument graphQLArgument, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
newScalar
private void newScalar(GraphQLScalarType scalarType, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
newInterface
private void newInterface(GraphQLInterfaceType interfaceType, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
newEnum
private void newEnum(GraphQLEnumType enumType, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
newUnion
private void newUnion(GraphQLUnionType unionType, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
newInputObject
private void newInputObject(GraphQLInputObjectType inputObject, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
createAppliedDirectives
private void createAppliedDirectives(Vertex from, List<GraphQLDirective> appliedDirectives, SchemaGraph schemaGraph) -
newDirective
-
newInputField
private Vertex newInputField(GraphQLInputObjectField inputField, SchemaGraph schemaGraph, boolean isIntrospectionNode) -
desc
-