scalation.database.graph_relation

Members list

Type members

Classlikes

case class Vertex(prop: Property, edge: Reference) extends Serializable

The Vertex class maintains properties for a vertex, e.g., a person. A vertex is analogous to a tuple in a traditional relational database, except that foreign keys are replaced with edges connecting to other vertices.

The Vertex class maintains properties for a vertex, e.g., a person. A vertex is analogous to a tuple in a traditional relational database, except that foreign keys are replaced with edges connecting to other vertices.

Value parameters

edge

maps vertex's edge names to other vertices

prop

maps vertex's property names to property values

Attributes

Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
case class VertexType(name: String, schema: ArrayBuffer[String], eschema: ArrayBuffer[String], verts: ArrayBuffer[Vertex]) extends Serializable

The VertexType class collects vertices of the same type, e.g., a person vertex type. A vertex type is analogous to a relation with no foreign keys in an RDBMS.

The VertexType class collects vertices of the same type, e.g., a person vertex type. A vertex type is analogous to a relation with no foreign keys in an RDBMS.

Value parameters

eschema

the edge names for this vertex type

name

the name of this vertex type

schema

the property names for this vertex type

verts

the set of vertices having this vertex type (extension)

Attributes

Supertypes
trait Product
trait Equals
trait Serializable
class Object
trait Matchable
class Any
Show all
final class vertexTypeTest

Attributes

Supertypes
class Object
trait Matchable
class Any

Types

type Reference = Map[String, Vertex]

The Reference type is a map from reference names to vertices.

The Reference type is a map from reference names to vertices.

Attributes

Value members

Concrete methods

def vertexTypeTest(): Unit

The VertexTypeTest function is used to test the VertexType class.

The VertexTypeTest function is used to test the VertexType class.

runMain scalation.database.graph_relation.vertexTypeTest

Attributes

Concrete fields

val emptyRef: Map[String, Vertex]