This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
en:site:recherche:logiciels:sparqlwithspark:star [15/09/2016 16:09] hubert |
en:site:recherche:logiciels:sparqlwithspark:star [16/09/2016 23:09] (current) hubert [SPARQL Hybrid DF : plan for Spark v1.5] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | {{indexmenu_n>2}} | + | {{indexmenu_n>5}} |
====== Star shape query plans====== | ====== Star shape query plans====== | ||
- | SPARQL SQL for a star with 3 branches | + | === SPARQL SQL for a star with 3 branches === |
- | <code> | + | |
+ | <code sql> | ||
SELECT t1.s, t2.o, t3.o | SELECT t1.s, t2.o, t3.o | ||
FROM triple t1, triple t2, triple t3 | FROM triple t1, triple t2, triple t3 | ||
Line 17: | Line 18: | ||
==== SPARQL Hybrid DF : plan for Spark v1.5==== | ==== SPARQL Hybrid DF : plan for Spark v1.5==== | ||
- | <code> | + | <code scala> |
import scala.collection.mutable.ListBuffer | import scala.collection.mutable.ListBuffer | ||
import scala.collection.mutable.ArrayBuffer | import scala.collection.mutable.ArrayBuffer |