implicit class GraphOperations extends AnyRef
Adds methods, astTriple, find, size to Node, Node that allows to different operations to it.
- Alphabetic
- By Inheritance
- GraphOperations
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
- new GraphOperations(graph: Graph[Long, Node, Node])
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
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.
-
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.
-
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.
-
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.
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
size(): Long
Compute the size of the graph
Compute the size of the graph
- returns
the number of edges in the graph.
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
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.
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
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)
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()