Trait

lspace.provider.transaction

TNode

Related Doc: package transaction

Permalink

trait TNode extends MemNode with TResource[structure.Node]

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. TNode
  2. TResource
  3. MemNode
  4. Node
  5. MemResource
  6. Resource
  7. IriResource
  8. AnyRef
  9. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract val graph: Transaction

    Permalink

    Get the graph that this resource is within.

    Get the graph that this resource is within.

    Definition Classes
    TResourceMemResourceResource

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ---(f: (default.type) ⇒ structure.Property): PartialOutEdge[structure.Node]

    Permalink
    Definition Classes
    Resource
  4. def ---(key: structure.Property): PartialOutEdge[structure.Node]

    Permalink

    Creates a partial edge

    Creates a partial edge

    key

    the Edge's label

    returns

    an labeled-edge-builder PartialOutEdge

    Definition Classes
    Resource
  5. def ---(key: String): PartialOutEdge[structure.Node]

    Permalink
    Definition Classes
    Resource
  6. def -|-(key: structure.Property): PartialOutEdge[structure.Node]

    Permalink

    Edge with Cardinality single

    Edge with Cardinality single

    Definition Classes
    Resource
  7. def <--(key: structure.Property): PartialInEdge[structure.Node]

    Permalink
    Definition Classes
    Resource
  8. def <--(key: String): PartialInEdge[structure.Node]

    Permalink
    Definition Classes
    Resource
  9. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  10. def ===(o: Any): Boolean

    Permalink
    Definition Classes
    Resource
  11. def @id: String

    Permalink

    The @id is a IRI/URI identifier

    The @id is a IRI/URI identifier

    returns

    a String which is empty if no @id is assigned, TODO: should this be an Option[String]?

    Definition Classes
    IriResource
  12. def @ids: Set[String]

    Permalink

    The @ids are alternative (same-as) IRI/URI identifiers

    The @ids are alternative (same-as) IRI/URI identifiers

    returns

    a Set[String] which has one or more values (it always includes @id)

    Definition Classes
    Resource
  13. def @type: List[structure.ClassType[_]]

    Permalink

    returns

    list of labels assigned to the resource

    Definition Classes
    Resource
  14. object Lock

    Permalink
    Definition Classes
    MemResource
  15. def _addIn(edge: structure.Edge[_, structure.Node]): Unit

    Permalink
    Attributes
    protected[lspace]
    Definition Classes
    MemResource
  16. def _addLabel(ontology: structure.Ontology): Task[Unit]

    Permalink
    Attributes
    protected[lspace]
    Definition Classes
    Node
  17. def _addOut(edge: structure.Edge[structure.Node, _]): Unit

    Permalink
    Attributes
    protected[lspace]
    Definition Classes
    MemResource
  18. def _cacheLabel(ontology: structure.Ontology): Unit

    Permalink

    add ontology, do not store

    add ontology, do not store

    Attributes
    protected[lspace]
    Definition Classes
    MemNode
  19. def addBoth[V, R[T] <: structure.Resource[T]](key: structure.Property, value: R[V]): Task[(structure.Edge[structure.Node, V], structure.Edge[V, structure.Node])]

    Permalink
    Definition Classes
    Resource
  20. def addIn[V <: structure.ClassType[_]](key: structure.Property, value: V): Task[structure.Edge[structure.Node, structure.Node]]

    Permalink
    Definition Classes
    Resource
  21. def addIn[V, R[Z] <: structure.ClassType[Z]](key: structure.Property, dt: R[V], value: V)(implicit ev1: <:!<[V, structure.ClassType[_]]): Task[structure.Edge[V, structure.Node]]

    Permalink
    Definition Classes
    Resource
  22. def addIn[V, V0, VT0 <: structure.ClassType[_]](key: structure.Property, value: V)(implicit ev1: <:!<[V, structure.ClassType[_]], ct: Aux[V, V0, VT0]): Task[structure.Edge[V0, structure.Node]]

    Permalink
    Definition Classes
    Resource
  23. def addIn[V <: structure.ClassType[_]](key: String, value: V): Task[structure.Edge[structure.Node, structure.Node]]

    Permalink
    Definition Classes
    Resource
  24. def addIn[V, V0, VT0 <: structure.ClassType[_]](key: String, value: V)(implicit ev1: <:!<[V, structure.ClassType[_]], dt: Aux[V, V0, VT0]): Task[structure.Edge[V0, structure.Node]]

    Permalink
    Definition Classes
    Resource
  25. def addLabel(ontology: structure.Ontology): Task[Unit]

    Permalink

    adds and stores ontology

    adds and stores ontology

    Definition Classes
    MemNodeNode
  26. def addOut[V](key: structure.TypedProperty[V], value: V): Task[structure.Edge[structure.Node, V]]

    Permalink
    Definition Classes
    Resource
  27. def addOut[V <: structure.ClassType[_]](key: structure.Property, value: V): Task[structure.Edge[structure.Node, structure.Node]]

    Permalink
    Definition Classes
    Resource
  28. def addOut[V, R[Z] <: structure.ClassType[Z]](key: structure.Property, dt: R[V], value: V)(implicit ev1: <:!<[V, structure.ClassType[_]]): Task[structure.Edge[structure.Node, V]]

    Permalink
    Definition Classes
    Resource
  29. def addOut[V, V0, VT0 <: structure.ClassType[_]](key: structure.Property, value: V)(implicit ev1: <:!<[V, structure.ClassType[_]], ct: Aux[V, V0, VT0]): Task[structure.Edge[structure.Node, V0]]

    Permalink
    Definition Classes
    Resource
  30. def addOut[V <: structure.ClassType[_]](key: String, value: V): Task[structure.Edge[structure.Node, structure.Node]]

    Permalink
    Definition Classes
    Resource
  31. def addOut[V, V0, VT0 <: structure.ClassType[_]](key: String, value: V)(implicit ev1: <:!<[V, structure.ClassType[_]], dt: Aux[V, V0, VT0]): Task[structure.Edge[structure.Node, V0]]

    Permalink
    Definition Classes
    Resource
  32. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  33. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. val deletedEdges: Set[Long]

    Permalink
    Definition Classes
    TResource
  35. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. def equalValues(o: Any): Boolean

    Permalink

    Compares resources by their data-value

    Compares resources by their data-value

    Definition Classes
    NodeResource
  37. def equals(o: Any): Boolean

    Permalink
    Definition Classes
    NodeIriResource → AnyRef → Any
  38. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  39. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  40. def hasLabel[L](label: structure.ClassType[L]*): Option[structure.Resource[L]]

    Permalink

    filters the resource if it is labeled (including inherited/parent labels) with one or more of the provided labels

    filters the resource if it is labeled (including inherited/parent labels) with one or more of the provided labels

    Definition Classes
    Resource
  41. lazy val hashCode: Int

    Permalink

    The hashcode is composed by the id-hash and the graph-iri-hash

    The hashcode is composed by the id-hash and the graph-iri-hash

    Definition Classes
    Resource → AnyRef → Any
  42. def id: Long

    Permalink

    id is a unique identifier of a resource in a graph

    id is a unique identifier of a resource in a graph

    Definition Classes
    TResourceResource
  43. def in(key: structure.Property*): List[Any]

    Permalink

    Filters in-coming resources by the provided Property

    Filters in-coming resources by the provided Property

    key

    the Edge's labels

    returns

    List of unboxed values

    Definition Classes
    TResourceMemResourceResource
  44. def in(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): List[Any]

    Permalink
    Definition Classes
    Resource
  45. def in(key: String, keys: String*): List[Any]

    Permalink
    Definition Classes
    Resource
  46. def inE(key: structure.Property*): List[structure.Edge[Any, structure.Node]]

    Permalink

    Filters in-coming resources by the provided Property

    Filters in-coming resources by the provided Property

    key

    the Edge's labels

    returns

    List[Edge[Any, T]]

    Definition Classes
    TResourceMemResourceResource
  47. def inE(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): List[structure.Edge[Any, structure.Node]]

    Permalink
    Definition Classes
    Resource
  48. def inE(key: String, keys: String*): List[structure.Edge[Any, structure.Node]]

    Permalink
    Definition Classes
    Resource
  49. def inEMap(key: structure.Property*): Map[structure.Property, List[structure.Edge[Any, structure.Node]]]

    Permalink

    Filters and groups in-coming edges by the provided labels

    Filters and groups in-coming edges by the provided labels

    key

    the lspace.structure.Edge's labels

    returns

    Map[Property, List[Edge[Any, T]]]

    Definition Classes
    TResourceMemResourceResource
  50. def inEMap(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): Map[structure.Property, List[structure.Edge[Any, structure.Node]]]

    Permalink
    Definition Classes
    Resource
  51. def inEMap(key: String, keys: String*): Map[structure.Property, List[structure.Edge[Any, structure.Node]]]

    Permalink
    Definition Classes
    Resource
  52. def inMap(key: structure.Property*): Map[structure.Property, List[Any]]

    Permalink

    Filters and groups in-coming resources by the provided property-keys

    Filters and groups in-coming resources by the provided property-keys

    key

    the Edge's labels to filter and group by

    returns

    Map[Property, List[Any]]

    Definition Classes
    TResourceMemResourceResource
  53. def inMap(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): Map[structure.Property, List[Any]]

    Permalink
    Definition Classes
    Resource
  54. def inMap(key: String, keys: String*): Map[structure.Property, List[Any]]

    Permalink
    Definition Classes
    Resource
  55. def iri: String

    Permalink

    alias for @id

    alias for @id

    Definition Classes
    TResourceMemResourceResourceIriResource
  56. def iris: Set[String]

    Permalink

    alias for @ids

    alias for @ids

    Definition Classes
    TResourceMemResourceResource
  57. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  58. def keys: Set[structure.Property]

    Permalink

    returns

    set of all available edge-labels (keys)

    Definition Classes
    MemResourceResource
  59. def labels: List[structure.Ontology]

    Permalink

    alias for @type

    alias for @type

    Definition Classes
    MemNodeNodeResource
  60. var memento: Long

    Permalink
    Definition Classes
    Resource
  61. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  62. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  64. def out(key: structure.Property*): List[Any]

    Permalink

    Filters out-going resources by the provided Property

    Filters out-going resources by the provided Property

    key

    the Edge's labels

    returns

    List of unboxed values

    Definition Classes
    TResourceMemResourceResource
  65. def out[V](key: structure.TypedProperty[V], keys: structure.TypedProperty[V]*): List[V]

    Permalink
    Definition Classes
    Resource
  66. def out(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): List[Any]

    Permalink
    Definition Classes
    Resource
  67. def out(key: String, keys: String*): List[Any]

    Permalink
    Definition Classes
    Resource
  68. def outE(key: structure.Property*): List[structure.Edge[structure.Node, Any]]

    Permalink

    Filters out-going resources by the provided Property

    Filters out-going resources by the provided Property

    key

    the Edge's labels

    returns

    List[Edge[T, Any]]

    Definition Classes
    TResourceMemResourceResource
  69. def outE[V](key: structure.TypedProperty[V], keys: structure.TypedProperty[V]*): List[structure.Edge[structure.Node, V]]

    Permalink
    Definition Classes
    Resource
  70. def outE(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): List[structure.Edge[structure.Node, Any]]

    Permalink
    Definition Classes
    Resource
  71. def outE(key: String, keys: String*): List[structure.Edge[structure.Node, Any]]

    Permalink
    Definition Classes
    Resource
  72. def outEMap(key: structure.Property*): Map[structure.Property, List[structure.Edge[structure.Node, Any]]]

    Permalink

    Filters and groups out-going edges by the provided labels

    Filters and groups out-going edges by the provided labels

    key

    the Edge's labels

    returns

    Map[Property, List[Edge[T, Any]]]

    Definition Classes
    TResourceMemResourceResource
  73. def outEMap(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): Map[structure.Property, List[structure.Edge[structure.Node, Any]]]

    Permalink
    Definition Classes
    Resource
  74. def outEMap(key: String, keys: String*): Map[structure.Property, List[structure.Edge[structure.Node, Any]]]

    Permalink
    Definition Classes
    Resource
  75. def outMap(key: structure.Property*): Map[structure.Property, List[Any]]

    Permalink

    Filters and groups out-going resources by the provided property-keys

    Filters and groups out-going resources by the provided property-keys

    key

    the Edge's labels to filter and group by

    returns

    Map[Property, List[Any]]

    Definition Classes
    TResourceMemResourceResource
  76. def outMap(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): Map[structure.Property, List[Any]]

    Permalink
    Definition Classes
    Resource
  77. def outMap(key: String, keys: String*): Map[structure.Property, List[Any]]

    Permalink
    Definition Classes
    Resource
  78. def prettyPrint: String

    Permalink
    Definition Classes
    NodeResource
  79. def remove(): Task[Unit]

    Permalink
    Definition Classes
    NodeResource
  80. def removeIn(key: structure.Property): Task[Unit]

    Permalink
    Definition Classes
    MemResourceResource
  81. def removeIn[V >: structure.Node](edge: structure.Edge[_, V]): Task[Unit]

    Permalink
    Definition Classes
    MemResourceResource
  82. def removeLabel(classType: structure.Ontology): Unit

    Permalink
    Definition Classes
    MemNodeNode
  83. def removeOut(key: structure.Property): Task[Unit]

    Permalink
    Definition Classes
    MemResourceResource
  84. def removeOut[V >: structure.Node](edge: structure.Edge[V, _]): Task[Unit]

    Permalink
    Definition Classes
    MemResourceResource
  85. def sameResource(resource: structure.Resource[_]): Boolean

    Permalink
    Definition Classes
    Resource
  86. def self: structure.Resource[structure.Node]

    Permalink
    Definition Classes
    Resource
  87. var status: CacheStatus

    Permalink
    Definition Classes
    Resource
  88. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  89. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  90. val value: structure.Node

    Permalink

    The unboxed value

    The unboxed value

    Definition Classes
    NodeResource
  91. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from TResource[structure.Node]

Inherited from MemNode

Inherited from structure.Node

Inherited from MemResource[structure.Node]

Inherited from IriResource

Inherited from AnyRef

Inherited from Any

Ungrouped