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
ConstructorDescriptionSPARQLResult
(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 SPARQLResult
adapt
(QueryExecResult result) org.apache.jena.rdf.model.Model
getModel()
boolean
boolean
boolean
isGraph()
boolean
boolean
isJson()
boolean
isModel()
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
-
getModel
public org.apache.jena.rdf.model.Model getModel() -
getDataset
-
getJsonItems
-
isHasBeenSet
public boolean isHasBeenSet()
-