You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,11 +10,11 @@ On SANSA Query Spark the method for partitioning a RDD[Triple] is located in [Rd
10
10
11
11
* RdfPartition, as the name suggests, represents a partition of the RDF data and defines two methods:
12
12
matches(Triple): Boolean: This method is used to test whether a triple fits into a partition.
13
-
** Layout => TripleLayout: This method returns the [TripleLayout](https://github.com/SANSA-Stack/SANSA-RDF/blob/develop/src/main/scala/net/sansa_stack/rdf/common/partition/layout/TripleLayout.scala) associated with the partition, as explained below.
14
-
** urthermore,RdfPartitions are expected to be serializable, and to define equals and hash code.
13
+
* Layout => TripleLayout: This method returns the [TripleLayout](https://github.com/SANSA-Stack/SANSA-RDF/blob/develop/src/main/scala/net/sansa_stack/rdf/common/partition/layout/TripleLayout.scala) associated with the partition, as explained below.
14
+
* urthermore,RdfPartitions are expected to be serializable, and to define equals and hash code.
15
15
* TripleLayout instances are used to obtain framework-agnostic compact tabular representations of triples according to a partition. For this purpose it defines the two methods:
16
-
** fromTriple(triple:Triple): Product: This method must, for a given triple, return its representation as a Product(this is the super class of all scalaTuples)
17
-
** schema:Type: This method must return the exact scala type of the objects returned by fromTriple, such as typeOf[Tuple2[String,Double]]. Hence, layouts are expected to only yield instances of one specific type.
16
+
* fromTriple(triple:Triple): Product: This method must, for a given triple, return its representation as a Product(this is the super class of all scalaTuples)
17
+
* schema:Type: This method must return the exact scala type of the objects returned by fromTriple, such as typeOf[Tuple2[String,Double]]. Hence, layouts are expected to only yield instances of one specific type.
18
18
See the [available layouts](https://github.com/SANSA-Stack/SANSA-RDF/blob/develop/src/main/scala/net/sansa_stack/rdf/common/partition/layout) for details.
0 commit comments