Interface JavaResultSetSpark
- All Known Implementing Classes:
JavaResultSetSparkImpl
public interface JavaResultSetSpark
An interface to represent a SPARQL result set by bundling
a (Java)RDD of Bindings together with a list of result variables.
Use
getRdd().rdd()
to obtain the scala RDD.-
Method Details
-
getResultVars
List<org.apache.jena.sparql.core.Var> getResultVars() -
getRdd
org.apache.spark.api.java.JavaRDD<org.apache.jena.sparql.engine.binding.Binding> getRdd() -
collectToTable
default org.apache.jena.sparql.algebra.Table collectToTable()Load the whole result set into an in-memory Jena table
-