com.hp.hpl.jena.sparql.resultset
Class SPARQLResult

java.lang.Object
  extended by com.hp.hpl.jena.sparql.resultset.SPARQLResult
Direct Known Subclasses:
JSONInput

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 Summary
SPARQLResult(boolean booleanResult)
           
SPARQLResult(com.hp.hpl.jena.rdf.model.Model model)
           
SPARQLResult(ResultSet resultSet)
           
 
Method Summary
 boolean getBooleanResult()
           
 com.hp.hpl.jena.rdf.model.Model getModel()
           
 ResultSet getResultSet()
           
 boolean isBoolean()
           
 boolean isGraph()
           
 boolean isHasBeenSet()
           
 boolean isModel()
          Synonym for isGraph
 boolean isResultSet()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SPARQLResult

public SPARQLResult(com.hp.hpl.jena.rdf.model.Model model)

SPARQLResult

public SPARQLResult(ResultSet resultSet)

SPARQLResult

public SPARQLResult(boolean booleanResult)
Method Detail

isResultSet

public boolean isResultSet()

isModel

public boolean isModel()
Synonym for isGraph


isGraph

public boolean isGraph()

isBoolean

public boolean isBoolean()

getResultSet

public ResultSet getResultSet()

getBooleanResult

public boolean getBooleanResult()

getModel

public com.hp.hpl.jena.rdf.model.Model getModel()

isHasBeenSet

public boolean isHasBeenSet()


Licenced under the Apache License, Version 2.0