DiffGraphBuilder

io.shiftleft.codepropertygraph.generated.DiffGraphBuilder
class DiffGraphBuilder extends DiffGraphBuilder

Domain-specific version of diffgraph builder. This is to allow schema checking before diffgraph application in the future, as well as a schema-aware point for providing backwards compatibility in odbv2.

Attributes

Graph
Supertypes
class DiffGraphBuilder
trait DiffOrBuilder
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

override def absorb(other: DiffGraphBuilder): this.type

Attributes

Definition Classes
DiffGraphBuilder
override def addEdge(src: NodeOrDetachedNode, dst: NodeOrDetachedNode, label: String): this.type

Attributes

Definition Classes
DiffGraphBuilder
override def addEdge(src: NodeOrDetachedNode, dst: NodeOrDetachedNode, label: String, properties: Any*): this.type

Attributes

Definition Classes
override def addNode(node: DetachedNodeData): this.type

Attributes

Definition Classes
DiffGraphBuilder
override def addNode(label: String, keyvalues: Any*): this.type

Attributes

Definition Classes
override def removeEdge(edge: Edge): this.type

Attributes

Definition Classes
DiffGraphBuilder
override def removeNode(node: Node): this.type

Attributes

Definition Classes
DiffGraphBuilder
override def setNodeProperty(node: Node, label: String, property: Any): this.type

Attributes

Definition Classes
DiffGraphBuilder

Inherited methods

def build(): DiffGraph

Attributes

Inherited from:
DiffGraphBuilder
def iterator(): Iterator[Change]

Attributes

Inherited from:
DiffGraphBuilder
def size(): Int

Attributes

Inherited from:
DiffGraphBuilder