Trait/Object

lspace.structure

Resource

Related Docs: object Resource | package structure

Permalink

trait Resource[+T] extends IriResource

Linear Supertypes
IriResource, AnyRef, Any
Known Subclasses
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

    Permalink

    Compares resources by their data-value

  2. abstract val graph: Graph

    Permalink

    Get the graph that this resource is within.

  3. abstract def id: Long

    Permalink

    id is a unique identifier of a resource in a graph

  4. abstract def in(key: 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

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

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

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

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

  7. abstract def inMap(key: Property*): Map[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]]

  8. abstract def keys: Set[Property]

    Permalink

    returns

    set of all available edge-labels (keys)

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

    Permalink

    alias for @type

  10. abstract def out(key: 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

  11. abstract def outE(key: Property*): List[Edge[T, 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]]

  12. abstract def outEMap(key: Property*): Map[Property, List[Edge[T, 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]]]

  13. abstract def outMap(key: Property*): Map[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]]

  14. abstract def prettyPrint: String

    Permalink
  15. abstract def remove(): Task[Unit]

    Permalink
  16. abstract def removeIn(key: Property): Task[Unit]

    Permalink
  17. abstract def removeIn[V >: T](edge: Edge[_, V]): Task[Unit]

    Permalink
  18. abstract def removeOut(key: Property): Task[Unit]

    Permalink
  19. abstract def removeOut[V >: T](edge: Edge[V, _]): Task[Unit]

    Permalink
  20. abstract def value: T

    Permalink

    The unboxed value

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) ⇒ Property): PartialOutEdge[T]

    Permalink
  4. def ---(key: Property): PartialOutEdge[T]

    Permalink

    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]

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

    Permalink

    Edge with Cardinality single

  7. def <--(key: Property): PartialInEdge[T]

    Permalink
  8. def <--(key: String): PartialInEdge[T]

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

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

    Permalink
  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)

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

    Permalink

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

    Permalink
  15. def addIn[V <: ClassType[_]](key: Property, value: V): Task[Edge[Node, T]]

    Permalink
  16. def addIn[V, R[Z] <: ClassType[Z]](key: Property, dt: R[V], value: V)(implicit ev1: <:!<[V, ClassType[_]]): Task[Edge[V, T]]

    Permalink
  17. def addIn[V, V0, VT0 <: ClassType[_]](key: Property, value: V)(implicit ev1: <:!<[V, ClassType[_]], ct: Aux[V, V0, VT0]): Task[Edge[V0, T]]

    Permalink
  18. def addIn[V <: ClassType[_]](key: String, value: V): Task[Edge[Node, T]]

    Permalink
  19. def addIn[V, V0, VT0 <: ClassType[_]](key: String, value: V)(implicit ev1: <:!<[V, ClassType[_]], dt: Aux[V, V0, VT0]): Task[Edge[V0, T]]

    Permalink
  20. def addOut[V](key: TypedProperty[V], value: V): Task[Edge[T, V]]

    Permalink
  21. def addOut[V <: ClassType[_]](key: Property, value: V): Task[Edge[T, Node]]

    Permalink
  22. def addOut[V, R[Z] <: ClassType[Z]](key: Property, dt: R[V], value: V)(implicit ev1: <:!<[V, ClassType[_]]): Task[Edge[T, V]]

    Permalink
  23. def addOut[V, V0, VT0 <: ClassType[_]](key: Property, value: V)(implicit ev1: <:!<[V, ClassType[_]], ct: Aux[V, V0, VT0]): Task[Edge[T, V0]]

    Permalink
  24. def addOut[V <: ClassType[_]](key: String, value: V): Task[Edge[T, Node]]

    Permalink
  25. def addOut[V, V0, VT0 <: ClassType[_]](key: String, value: V)(implicit ev1: <:!<[V, ClassType[_]], dt: Aux[V, V0, VT0]): Task[Edge[T, V0]]

    Permalink
  26. final def asInstanceOf[T0]: T0

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Permalink

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

  33. 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
  34. def in(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Any]

    Permalink
  35. def in(key: String, keys: String*): List[Any]

    Permalink
  36. def inE(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Edge[Any, T]]

    Permalink
  37. def inE(key: String, keys: String*): List[Edge[Any, T]]

    Permalink
  38. def inEMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Edge[Any, T]]]

    Permalink
  39. def inEMap(key: String, keys: String*): Map[Property, List[Edge[Any, T]]]

    Permalink
  40. def inMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Any]]

    Permalink
  41. def inMap(key: String, keys: String*): Map[Property, List[Any]]

    Permalink
  42. def iri: String

    Permalink

    alias for @id

    alias for @id

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

    Permalink

    alias for @ids

  44. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  45. var memento: Long

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

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

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

    Permalink
    Definition Classes
    AnyRef
  49. def out[V](key: TypedProperty[V], keys: TypedProperty[V]*): List[V]

    Permalink
  50. def out(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Any]

    Permalink
  51. def out(key: String, keys: String*): List[Any]

    Permalink
  52. def outE[V](key: TypedProperty[V], keys: TypedProperty[V]*): List[Edge[T, V]]

    Permalink
  53. def outE(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): List[Edge[T, Any]]

    Permalink
  54. def outE(key: String, keys: String*): List[Edge[T, Any]]

    Permalink
  55. def outEMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Edge[T, Any]]]

    Permalink
  56. def outEMap(key: String, keys: String*): Map[Property, List[Edge[T, Any]]]

    Permalink
  57. def outMap(f: (default.type) ⇒ Property, ff: (default.type) ⇒ Property*): Map[Property, List[Any]]

    Permalink
  58. def outMap(key: String, keys: String*): Map[Property, List[Any]]

    Permalink
  59. def sameResource(resource: Resource[_]): Boolean

    Permalink
  60. def self: Resource[T]

    Permalink
  61. var status: CacheStatus

    Permalink
  62. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  64. final def wait(): Unit

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

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

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

Inherited from IriResource

Inherited from AnyRef

Inherited from Any

Ungrouped