Class SPARQLResult

java.lang.Object
org.apache.jena.sparql.resultset.SPARQLResult

public class SPARQLResult extends Object
The class "ResultSet" is reserved for the SELECT result format. This class can hold a ResultSet, a boolean or a Model.
  • Constructor Details

    • SPARQLResult

      public SPARQLResult(org.apache.jena.rdf.model.Model model)
    • SPARQLResult

      public SPARQLResult(ResultSet resultSet)
    • SPARQLResult

      public SPARQLResult(boolean booleanResult)
    • SPARQLResult

      public SPARQLResult(Dataset dataset)
    • SPARQLResult

      public SPARQLResult(Iterator<JsonObject> jsonItems)
  • Method Details

    • adapt

      public static SPARQLResult adapt(QueryExecResult result)
    • 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

      public ResultSet getResultSet()
    • getBooleanResult

      public Boolean getBooleanResult()
    • getModel

      public org.apache.jena.rdf.model.Model getModel()
    • getDataset

      public Dataset getDataset()
    • getJsonItems

      public Iterator<JsonObject> getJsonItems()
    • isHasBeenSet

      public boolean isHasBeenSet()