Package graphql.schema.diffing
Class EditOperation
java.lang.Object
graphql.schema.diffing.EditOperation
An edit operation between two graphs can be one of six types:
insert vertex,
delete vertex,
change vertex,
insert edge,
delete edge,
change edge
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic EditOperationchangeEdge(String description, Edge sourceEdge, Edge targetEdge) static EditOperationchangeVertex(String description, Vertex sourceVertex, Vertex targetVertex) static EditOperationdeleteEdge(String description, Edge sourceEdge) static EditOperationdeleteVertex(String description, Vertex sourceVertex, Vertex targetVertex) booleaninthashCode()static EditOperationinsertEdge(String description, Edge targetEdge) static EditOperationinsertVertex(String description, Vertex sourceVertex, Vertex targetVertex) toString()
-
Method Details
-
deleteVertex
public static EditOperation deleteVertex(String description, Vertex sourceVertex, Vertex targetVertex) -
insertVertex
public static EditOperation insertVertex(String description, Vertex sourceVertex, Vertex targetVertex) -
changeVertex
public static EditOperation changeVertex(String description, Vertex sourceVertex, Vertex targetVertex) -
deleteEdge
-
insertEdge
-
changeEdge
-
getOperation
-
getSourceVertex
-
getTargetVertex
-
getSourceEdge
-
getTargetEdge
-
toString
-
equals
-
hashCode
public int hashCode()
-