Class/Object

lspace.librarian.provider.transaction

Transaction

Related Docs: object Transaction | package transaction

Permalink

abstract class Transaction extends MemDataGraph

A transaction is build using an in-memory graph

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Transaction
  2. MemDataGraph
  3. DataGraph
  4. MemGraph
  5. Graph
  6. IriResource
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Transaction(parent: Graph)

    Permalink

Type Members

  1. trait Edges extends Transaction.Edges

    Permalink
  2. type GEdge[S, E] = _Edge[S, E] with MemEdge[S, E]

    Permalink
    Definition Classes
    MemGraphGraph
  3. type GNode = _Node with MemNode

    Permalink
    Definition Classes
    MemGraphGraph
  4. type GResource[T] = _Resource[T] with MemResource[T]

    Permalink
    Definition Classes
    MemGraphGraph
  5. type GValue[T] = _Value[T] with MemValue[T]

    Permalink
    Definition Classes
    MemGraphGraph
  6. trait Nodes extends Transaction.Nodes

    Permalink
  7. sealed trait RApi[T <: Resource[_]] extends AnyRef

    Permalink
    Definition Classes
    Graph
  8. trait Resources extends Transaction.Resources

    Permalink
  9. trait Values extends Transaction.Values

    Permalink
  10. abstract class _Edge[S, E] extends _Resource[Edge[S, E]] with Edge[S, E]

    Permalink
    Definition Classes
    Graph
  11. abstract class _Node extends _Resource[Node] with Node

    Permalink
    Definition Classes
    Graph
  12. trait _Resource[+T] extends Resource[T]

    Permalink
    Definition Classes
    Graph
  13. case class _TEdge[S, E](self: _Edge[S, E]) extends _Edge[S, E] with TEdge[S, E] with Product with Serializable

    Permalink
  14. case class _TNode(self: _Node) extends _Node with TNode with Product with Serializable

    Permalink
  15. trait _TResource[T] extends _Resource[T] with TResource[T]

    Permalink
  16. case class _TValue[T](self: _Value[T]) extends _Value[T] with TValue[T] with Product with Serializable

    Permalink
  17. abstract class _Value[T] extends _Resource[T] with Value[T]

    Permalink
    Definition Classes
    Graph

Abstract Value Members

  1. abstract def index: IndexGraph

    Permalink
    Definition Classes
    DataGraph
  2. abstract def iri: String

    Permalink

    An empty uri means that there is no URI assigned.

    An empty uri means that there is no URI assigned.

    Definition Classes
    IriResource
  3. abstract def rollback(): Unit

    Permalink

    clears the transaction's MemGraph

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def +(label: Ontology): Node

    Permalink
    Definition Classes
    Graph
  4. def ++(graph: Graph): Unit

    Permalink
    Definition Classes
    Graph
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. lazy val @idIndex: Index

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemDataGraphDataGraph
  7. val @idStore: ValueStore[Transaction.this.type]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraph
  8. lazy val @typeIndex: Index

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemDataGraphDataGraph
  9. def _indexEdge[S, E](edge: GEdge[S, E]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DataGraph
  10. def _indexNode(node: GNode): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DataGraph
  11. def _indexValue(value: GValue[_]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    DataGraph
  12. def add(graph: Graph): Unit

    Permalink
    Definition Classes
    Graph
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def buildAsyncTraversersStream[Start <: ClassType[_], End <: ClassType[_], Steps <: HList, Out](traversal: Traversal[Start, End, Steps])(ct: ClassType[_]): Task[Stream[Out]]

    Permalink
    Definition Classes
    MemGraphGraph
  15. def buildTraversersStream[Start <: ClassType[_], End <: ClassType[_], Steps <: HList, Out](traversal: Traversal[Start, End, Steps])(ct: ClassType[_]): Stream[Out]

    Permalink
    Definition Classes
    MemGraphGraph
  16. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  17. def close(): Unit

    Permalink
    Definition Classes
    Graph
  18. def commit(): Unit

    Permalink
  19. val computer: TransactionStreamComputer

    Permalink
    Definition Classes
    TransactionMemGraph
  20. def createEdge[S, E](id: Long, from: GResource[S], key: Property, to: GResource[E]): GEdge[S, E]

    Permalink

    creates, stores and indexes an edge

    creates, stores and indexes an edge

    Attributes
    protected
    Definition Classes
    TransactionDataGraphGraph
  21. def createEdge(id: Long, from: Long, key: Property, to: Long): GEdge[Any, Any]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  22. def createValue[T](_id: Long, _value: T, dt: DataType[T]): GValue[T]

    Permalink
    Attributes
    protected
    Definition Classes
    TransactionDataGraphGraph
  23. def deleteEdge(edge: GEdge[_, _]): Unit

    Permalink

    deletes the Edge from the graph

    deletes the Edge from the graph

    Attributes
    protected
    Definition Classes
    TransactionDataGraphGraph
  24. def deleteNode(node: GNode): Unit

    Permalink

    deletes the Node from the graph

    deletes the Node from the graph

    Attributes
    protected
    Definition Classes
    TransactionDataGraphGraph
  25. def deleteResource[T <: _Resource[_]](resource: T): Unit

    Permalink

    delete in-/out-going edges from the resource

    delete in-/out-going edges from the resource

    Attributes
    protected
    Definition Classes
    MemGraphGraph
  26. def deleteValue(value: GValue[_]): Unit

    Permalink

    deletes the Value from the transaction and marks the id as deleted

    deletes the Value from the transaction and marks the id as deleted

    Attributes
    protected
    Definition Classes
    TransactionDataGraphGraph
  27. val edgeStore: MemEdgeStore[Transaction.this.type]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  28. val edges: Edges

    Permalink

    Edges A.K.A.

    Edges A.K.A. Links A.K.A. Properties

    Definition Classes
    TransactionGraph
  29. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  30. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    IriResource → AnyRef → Any
  31. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  32. def g(graph: Graph*): Traversal[DataType[Graph], DataType[Graph], HNil]

    Permalink
    Definition Classes
    Graph
  33. def g: Traversal[DataType[Graph], DataType[Graph], HNil]

    Permalink
    Definition Classes
    Graph
  34. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  35. def getOrCreateNode(id: Long): GNode

    Permalink
    Attributes
    protected
    Definition Classes
    TransactionDataGraphGraph
  36. lazy val hashCode: Int

    Permalink
    Definition Classes
    Graph → AnyRef → Any
  37. lazy val idProvider: IdProvider

    Permalink
    Definition Classes
    TransactionGraph
  38. def init(): Unit

    Permalink
    Definition Classes
    DataGraphGraph
  39. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  40. def isOpen: Boolean

    Permalink
  41. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  42. def newEdge(id: Long, from: Long, key: Property, to: Long): GEdge[Any, Any]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  43. def newEdge[S, E](id: Long, from: GResource[S], key: Property, to: GResource[E]): GEdge[S, E]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  44. def newNode(id: Long): GNode

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  45. def newValue[T](id: Long, value: T, label: DataType[T]): GValue[T]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  46. val nodeStore: MemNodeStore[Transaction.this.type]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  47. val nodes: Nodes

    Permalink

    Nodes A.K.A.

    Nodes A.K.A. Vertices

    Definition Classes
    TransactionGraph
  48. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  49. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  50. lazy val ns: NameSpaceGraph

    Permalink
    Definition Classes
    TransactionGraph
  51. var open: Boolean

    Permalink
    Attributes
    protected
  52. val parent: Graph

    Permalink
  53. def resources: Resources

    Permalink
    Definition Classes
    TransactionGraph
  54. def storeEdge(edge: GEdge[_, _]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Graph
  55. def storeNode(node: GNode): Unit

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  56. def storeValue(value: GValue[_]): Unit

    Permalink
    Attributes
    protected
    Definition Classes
    Graph
  57. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  58. lazy val thisgraph: Transaction.this.type

    Permalink
    Definition Classes
    Graph
  59. def toFile(path: String = "defaultname.json", process: (Stream[Resource[_]], (String) ⇒ Unit) ⇒ String): Task[Unit]

    Permalink
    Definition Classes
    MemGraph
  60. def toString(): String

    Permalink
    Definition Classes
    Graph → AnyRef → Any
  61. def transaction: Transaction

    Permalink

    creates new transaction

    creates new transaction

    Definition Classes
    MemGraphGraph
  62. lazy val traversal: Traversal[DataType[Graph], DataType[Graph], HNil]

    Permalink
    Definition Classes
    Graph
  63. val valueStore: MemValueStore[Transaction.this.type]

    Permalink
    Attributes
    protected[lspace.librarian.provider.mem]
    Definition Classes
    MemGraphGraph
  64. val values: Values

    Permalink
    Definition Classes
    TransactionGraph
  65. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  67. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  68. def wrapTR[T <: structure.Graph.GResource[_]](resource: T): TResource[_]

    Permalink

Inherited from MemDataGraph

Inherited from DataGraph

Inherited from MemGraph

Inherited from Graph

Inherited from IriResource

Inherited from AnyRef

Inherited from Any

Ungrouped