Vertex

scalation.database.table.Vertex
case class Vertex(tuple: Tuple)

The Vertex class extends the notion of Tuple into values stored in the tuple part, along with foreign keys links captured as outgoing edges.

Value parameters

tuple

the tuple part of the vertex

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def neighbors: ArrayBuffer[Vertex]

Return the neighboring vertices reachable in one-hop by taking edges emanating from this vertex.

Return the neighboring vertices reachable in one-hop by taking edges emanating from this vertex.

Attributes

def neighbors(elab: String): ArrayBuffer[Vertex]

Return the neighboring vertices reachable in one-hop by taking edge with edge-label elab emanating from this vertex.

Return the neighboring vertices reachable in one-hop by taking edge with edge-label elab emanating from this vertex.

Value parameters

elab

the edge-label (wild-card "*" means take all edges)

Attributes

def neighbors(ref: (String, GTable)): ArrayBuffer[Vertex]

Return the neighboring vertices reachable in one-hop by taking edge with edge-label elab emanating from this vertex that are in the reference table.

Return the neighboring vertices reachable in one-hop by taking edge with edge-label elab emanating from this vertex that are in the reference table.

Value parameters

ref

the edge-label and reference table

Attributes

override def toString: String

Convert the tuple within this vertex to a string.

Convert the tuple within this vertex to a string.

Attributes

Definition Classes
Any

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Concrete fields

val edge: Map[String, ArrayBuffer[Edge]]