telepath / com.github.giedomak.telepath.datamodels.stores / EdgeIdentifierStore

EdgeIdentifierStore

object EdgeIdentifierStore (source)

This class maps edge labels to ids and stores them in a hashmap.

Functions

getEdge

fun getEdge(edgeId: Long): Edge

Return the Edge when given an edgeId

getEdgeIdentifier

fun getEdgeIdentifier(edge: Edge): Long

Get or create an Edge ID for a given Edge.