trait Resource[+T] extends IriResource

Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Resource
  2. IriResource
  3. AnyRef
  4. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def equalValues(o: Any): Boolean

    Compares resources by their data-value

  2. abstract val graph: Graph

    Get the graph that this resource is within.

  3. abstract def id: Long

    id is a unique identifier of a resource in a graph

  4. abstract def in(key: Property*): List[Any]

    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

  5. abstract def inE(key: Property*): List[Edge[Any, T]]

    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]]

  6. abstract def inEMap(key: Property*): Map[Property, List[Edge[Any, T]]]

    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]]]

  7. abstract def inMap(key: Property*): Map[Property, List[Any]]

    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]]

  8. abstract def keys: Set[Property]

    returns

    set of all available edge-labels (keys)

  9. abstract def labels: List[ClassType[_]]

    alias for @type

  10. abstract def out(key: Property*): List[Any]

    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

  11. abstract def outE(key: Property*): List[Edge[T, Any]]

    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]]

  12. abstract def outEMap(key: Property*): Map[Property, List[Edge[T, Any]]]

    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]]]

  13. abstract def outMap(key: Property*): Map[Property, List[Any]]

    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]]

  14. abstract def prettyPrint: String
  15. abstract def remove(): Task[Unit]
  16. abstract def removeIn(key: Property): Task[Unit]
  17. abstract def removeIn[V >: T](edge: Edge[_, V]): Task[Unit]
  18. abstract def removeOut(key: Property): Task[Unit]
  19. abstract def removeOut[V >: T](edge: Edge[V, _]): Task[Unit]
  20. abstract def value: T

    The unboxed value

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ---(f: (default.type) ⇒ Property): PartialOutEdge[T]
  4. def ---(key: Property): PartialOutEdge[T]

    Creates a partial edge

    Creates a partial edge

    key

    the Edge's label

    returns

    an labeled-edge-builder PartialOutEdge

  5. def ---(key: String): PartialOutEdge[T]
  6. def -|-(key: Property): PartialOutEdge[T]

    Edge with Cardinality single

  7. def <--(key: Property): PartialInEdge[T]
  8. def <--(key: String): PartialInEdge[T]
  9. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  10. def ===(o: Any): Boolean
  11. def @id: String

    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]

    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)

  13. def @type: List[ClassType[_]]

    returns

    list of labels assigned to the resource

  14. def addBoth[V, R[T] <: Resource[T]](key: Property, value: R[V]): Task[(Edge[T, V], Edge[V, T])]
  15. def addIn[V <: ClassType[_]](key: Property, value: V): Task[Edge[Node, T]]
  16. def addIn[V, R[Z] <: ClassType[Z]](key: Property, dt: R[V], value: V)(implicit ev1: <:!<[V, ClassType[_]]): Task[Edge[V, T]]
  17. def addIn[V, V0, VT0 <: ClassType[_]](key: Property, value: V)(implicit ev1: <:!<[V, ClassType[_]], ct: Aux[V, V0, VT0]): Task[Edge[V0, T]]
  18. def addIn[V <: ClassType[_]](key: String, value: V): Task[Edge[Node, T]]
  19. def addIn[V, V0, VT0 <: ClassType[_]](key: String, value: V)(implicit ev1: <:!<[V, ClassType[_]], dt: Aux[V, V0, VT0]): Task[Edge[V0, T]]
  20. def addOut[V](key: TypedProperty[V], value: V): Task[Edge[T, V]]
  21. def addOut[V <: ClassType[_]](key: Property, value: V): Task[Edge[T, Node]]
  22. def addOut[V, R[Z] <: ClassType[Z]](key: Property, dt: R[V], value: V)(implicit ev1: <:!<[V, ClassType[_]]): Task[Edge[T, V]]
  23. def addOut[V, V0, VT0 <: ClassType[_]](key: Property, value: V)(implicit ev1: <:!<[V, ClassType[_]], ct: Aux[V, V0, VT0]): Task[Edge[T, V0]]
  24. def addOut[V <: ClassType[_]](key: String, value: V): Task[Edge[T, Node]]
  25. def addOut[V, V0, VT0 <: ClassType[_]](key: String, value: V)(implicit ev1: <:!<[V, ClassType[_]], dt: Aux[V, V0, VT0]): Task[Edge[T, V0]]
  26. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  27. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  28. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  29. def equals(o: Any): Boolean
    Definition Classes
    IriResource → AnyRef → Any
  30. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  31. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  32. def hasLabel[L](label: ClassType[L]*): Option[Resource[L]]

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

  33. lazy val hashCode: Int

    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
  34. def in(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Any]
  35. def in(key: String, keys: String*): List[Any]
  36. def inE(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Edge[Any, T]]
  37. def inE(key: String, keys: String*): List[Edge[Any, T]]
  38. def inEMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Edge[Any, T]]]
  39. def inEMap(key: String, keys: String*): Map[Property, List[Edge[Any, T]]]
  40. def inMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Any]]
  41. def inMap(key: String, keys: String*): Map[Property, List[Any]]
  42. def iri: String

    alias for @id

    alias for @id

    Definition Classes
    ResourceIriResource
  43. def iris: Set[String]

    alias for @ids

  44. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  45. val memento: Long
    Annotations
    @transient()
  46. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  47. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  48. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  49. def out[V](key: TypedProperty[V], keys: TypedProperty[V]*): List[V]
  50. def out(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Any]
  51. def out(key: String, keys: String*): List[Any]
  52. def outE[V](key: TypedProperty[V], keys: TypedProperty[V]*): List[Edge[T, V]]
  53. def outE(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Edge[T, Any]]
  54. def outE(key: String, keys: String*): List[Edge[T, Any]]
  55. def outEMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Edge[T, Any]]]
  56. def outEMap(key: String, keys: String*): Map[Property, List[Edge[T, Any]]]
  57. def outMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Any]]
  58. def outMap(key: String, keys: String*): Map[Property, List[Any]]
  59. def sameResource(resource: Resource[_]): Boolean
  60. def self: Resource[T]
  61. val status: CacheStatus
    Annotations
    @transient()
  62. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  63. def toString(): String
    Definition Classes
    AnyRef → Any
  64. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  65. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  66. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )

Inherited from IriResource

Inherited from AnyRef

Inherited from Any

Ungrouped