Class/Object

lspace.provider.transaction.Transaction

_TNode

Related Docs: object _TNode | package Transaction

Permalink

class _TNode extends _Node with _TResource[structure.Node] with MemNode with TNode

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. _TNode
  2. TNode
  3. MemNode
  4. _TResource
  5. TResource
  6. MemResource
  7. _Node
  8. Node
  9. _Resource
  10. Resource
  11. IriResource
  12. AnyRef
  13. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new _TNode(self: _Node)

    Permalink

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. val graph: Transaction

    Permalink

    Get the graph that this resource is within.

    Get the graph that this resource is within.

    Definition Classes
    _TNodeTResourceMemResourceResource
  41. 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
  42. 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
  43. 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
  44. 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
  45. def in(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): List[Any]

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

    Permalink
    Definition Classes
    Resource
  47. 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
  48. def inE(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): List[structure.Edge[Any, structure.Node]]

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

    Permalink
    Definition Classes
    Resource
  50. 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
  51. 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
  52. def inEMap(key: String, keys: String*): Map[structure.Property, List[structure.Edge[Any, structure.Node]]]

    Permalink
    Definition Classes
    Resource
  53. 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
  54. def inMap(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): Map[structure.Property, List[Any]]

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

    Permalink
    Definition Classes
    Resource
  56. def iri: String

    Permalink

    alias for @id

    alias for @id

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

    Permalink

    alias for @ids

    alias for @ids

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

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

    Permalink

    returns

    set of all available edge-labels (keys)

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

    Permalink

    alias for @type

    alias for @type

    Definition Classes
    MemNodeNodeResource
  61. var memento: Long

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

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

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

    Permalink
    Definition Classes
    AnyRef
  65. 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
  66. def out[V](key: structure.TypedProperty[V], keys: structure.TypedProperty[V]*): List[V]

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

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

    Permalink
    Definition Classes
    Resource
  69. 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
  70. def outE[V](key: structure.TypedProperty[V], keys: structure.TypedProperty[V]*): List[structure.Edge[structure.Node, V]]

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

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

    Permalink
    Definition Classes
    Resource
  73. 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
  74. 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
  75. def outEMap(key: String, keys: String*): Map[structure.Property, List[structure.Edge[structure.Node, Any]]]

    Permalink
    Definition Classes
    Resource
  76. 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
  77. def outMap(f: (default.type) ⇒ structure.Property, ff: (default.type) ⇒ structure.Property*): Map[structure.Property, List[Any]]

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

    Permalink
    Definition Classes
    Resource
  79. def prettyPrint: String

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Resource
  87. val self: _Node

    Permalink
    Definition Classes
    _TNodeResource
  88. var status: CacheStatus

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

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

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

    Permalink

    The unboxed value

    The unboxed value

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

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

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

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

Inherited from TNode

Inherited from MemNode

Inherited from _TResource[structure.Node]

Inherited from TResource[structure.Node]

Inherited from MemResource[structure.Node]

Inherited from Transaction._Node

Inherited from structure.Node

Inherited from IriResource

Inherited from AnyRef

Inherited from Any

Ungrouped