GraphSchema

io.shiftleft.codepropertygraph.generated.GraphSchema
object GraphSchema extends Schema

Attributes

Graph
Supertypes
class Schema
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

override def allocateEdgeProperty(nodeKind: Int, direction: Direction, edgeKind: Int, size: Int): Array[_]

Attributes

Definition Classes
Schema
override def getEdgeKindByLabel(label: String): Int

Attributes

Definition Classes
Schema
override def getEdgeLabel(nodeKind: Int, edgeKind: Int): String

Attributes

Definition Classes
Schema
override def getEdgePropertyName(label: String): Option[String]

Attributes

Definition Classes
Schema
override def getNewNodePropertyInserter(nodeKind: Int, propertyKind: Int): NewNodePropertyInsertionHelper

Attributes

Definition Classes
Schema
override def getNodeKindByLabel(label: String): Int

Attributes

Definition Classes
Schema
override def getNodeLabel(nodeKind: Int): String

Attributes

Definition Classes
Schema
override def getNodePropertyFormalQuantity(nodeKind: Int, propertyKind: Int): FormalQuantity

Attributes

Definition Classes
Schema
override def getNodePropertyFormalType(nodeKind: Int, propertyKind: Int): FormalType

Attributes

Definition Classes
Schema
override def getNodePropertyNames(nodeLabel: String): Set[String]

Attributes

Definition Classes
Schema
override def getNumberOfEdgeKinds: Int

Attributes

Definition Classes
Schema
override def getNumberOfNodeKinds: Int

Attributes

Definition Classes
Schema
override def getNumberOfPropertyKinds: Int

Attributes

Definition Classes
Schema
override def getPropertyKindByName(label: String): Int

Attributes

Definition Classes
Schema
override def getPropertyLabel(nodeKind: Int, propertyKind: Int): String

Attributes

Definition Classes
Schema
override def makeEdge(src: GNode, dst: GNode, edgeKind: Short, subSeq: Int, property: Any): Edge

Attributes

Definition Classes
Schema
override def makeNode(graph: Graph, nodeKind: Short, seq: Int): StoredNode

Attributes

Definition Classes
Schema

Inherited methods

def edgeKinds: Range

Attributes

Inherited from:
Schema
def getNodeKindByLabelMaybe(label: String): Option[Int]

Attributes

Inherited from:
Schema
def getNodeLabelMaybe(nodeKind: Int): Option[String]

Attributes

Inherited from:
Schema
def getPropertyLabelMaybe(nodeKind: Int, propertyKind: Int): Option[String]

Attributes

Inherited from:
Schema
final def neighborOffsetArrayIndex(nodeKind: Int, direction: Direction, edgeKind: Int): Int

Attributes

Inherited from:
Schema
def nodeKinds: Range

Attributes

Inherited from:
Schema
def propertyKinds: Range

Attributes

Inherited from:
Schema
final def propertyOffsetArrayIndex(nodeKind: Int, propertyKind: Int): Int

Attributes

Inherited from:
Schema
def verifyNodeKindIsValid(kind: Int): Unit

Attributes

Inherited from:
Schema

Concrete fields

val edgeFactories: Array[(GNode, GNode, Int, Any) => Edge]
val edgeKindByLabel: Map[String, Int]
val edgeLabels: Array[String]
val edgePropertyAllocators: Array[Int => Array[_]]
val nodeFactories: Array[(Graph, Int) => StoredNode]
val nodeKindByLabel: Map[String, Int]
val nodePropertyAllocators: Array[Int => Array[_]]
val nodePropertyByLabel: Map[String, Int]
val nodePropertyDescriptors: Array[FormalQuantity | FormalType]
val normalNodePropertyNames: Array[String]