Packages

c

net.sansa_stack.rdf.flink.model

GraphOperations

implicit class GraphOperations extends AnyRef

Adds methods, astTriple, find, size to Node, Node that allows to different operations to it.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. GraphOperations
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new GraphOperations(graph: Graph[Long, Node, Node])

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  6. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  7. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  8. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  9. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  10. def getObjects(): DataSet[Node]

    Get objects from a given graph.

    Get objects from a given graph.

    returns

    DataSet[Node] which contains list of the objects.

  11. def getPredicates(): DataSet[Node]

    Get predicates from a given graph.

    Get predicates from a given graph.

    returns

    DataSet[Node] which contains list of the predicates.

  12. def getSubjects(): DataSet[Node]

    Get subjects from a given graph.

    Get subjects from a given graph.

    returns

    DataSet[Node] which contains list of the subjects.

  13. def getTriples(): DataSet[Triple]

    Get triples of a given graph.

    Get triples of a given graph.

    returns

    DataSet[Triple] which contains list of the graph triples.

  14. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  15. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  16. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  17. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  18. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  19. def size(): Long

    Compute the size of the graph

    Compute the size of the graph

    returns

    the number of edges in the graph.

  20. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  21. def toDataSet(): DataSet[Triple]

    Convert a graph into a DataSet of Triple.

    Convert a graph into a DataSet of Triple.

    returns

    a DataSet of triples.

  22. def toString(): String
    Definition Classes
    AnyRef → Any
  23. def union(other: Graph[Long, Node, Node]): Graph[Long, Node, Node]

    Return the union of this graph and another one.

    Return the union of this graph and another one.

    other

    of the other graph

    returns

    graph (union of all)

  24. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()

Inherited from AnyRef

Inherited from Any

Ungrouped