java.lang.Object
org.apache.jena.sparql.resultset.SPARQLResult
The class "ResultSet" is reserved for the SELECT result format. This class
can hold a ResultSet, a boolean or a Model.
-
Constructor Summary
ConstructorsConstructorDescriptionSPARQLResult(boolean booleanResult) SPARQLResult(Iterator<JsonObject> jsonItems) SPARQLResult(Dataset dataset) SPARQLResult(ResultSet resultSet) SPARQLResult(org.apache.jena.rdf.model.Model model) -
Method Summary
Modifier and TypeMethodDescriptionstatic SPARQLResultadapt(QueryExecResult result) org.apache.jena.graph.GraphgetGraph()org.apache.jena.rdf.model.ModelgetModel()booleanbooleanbooleanisGraph()booleanbooleanisJson()booleanisModel()Synonym for isGraphboolean
-
Constructor Details
-
SPARQLResult
public SPARQLResult(org.apache.jena.rdf.model.Model model) -
SPARQLResult
-
SPARQLResult
public SPARQLResult(boolean booleanResult) -
SPARQLResult
-
SPARQLResult
-
-
Method Details
-
adapt
-
isResultSet
public boolean isResultSet() -
isModel
public boolean isModel()Synonym for isGraph -
isGraph
public boolean isGraph() -
isDataset
public boolean isDataset() -
isBoolean
public boolean isBoolean() -
isJson
public boolean isJson() -
getResultSet
-
getBooleanResult
-
getGraph
public org.apache.jena.graph.Graph getGraph() -
getDatasetGraph
-
getModel
public org.apache.jena.rdf.model.Model getModel() -
getDataset
-
getJsonItems
-
isHasBeenSet
public boolean isHasBeenSet()
-