eu.larkc.core.query
Class ORDIGraphResult
java.lang.Object
eu.larkc.core.query.GraphResultBase
eu.larkc.core.query.ORDIGraphResult
- All Implemented Interfaces:
- InformationSet, SetOfStatements, java.io.Serializable, org.openrdf.query.TupleQueryResultHandler
public class ORDIGraphResult
- extends GraphResultBase
- implements org.openrdf.query.TupleQueryResultHandler
ORDIGraphResult implements asynchronous RDF statement result reading from
in-memory Sesame-compatible SPARQL endpoint.
- Author:
- vassil
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ORDIGraphResult
public ORDIGraphResult()
startQueryResult
public void startQueryResult(java.util.List<java.lang.String> list)
- Specified by:
startQueryResult
in interface org.openrdf.query.TupleQueryResultHandler
endQueryResult
public void endQueryResult()
- Specified by:
endQueryResult
in interface org.openrdf.query.TupleQueryResultHandler
handleSolution
public void handleSolution(org.openrdf.query.BindingSet bindingset)
throws org.openrdf.query.TupleQueryResultHandlerException
- Specified by:
handleSolution
in interface org.openrdf.query.TupleQueryResultHandler
- Throws:
org.openrdf.query.TupleQueryResultHandlerException
close
public void close()
- Overrides:
close
in class GraphResultBase
toRDF
public SetOfStatements toRDF(SetOfStatements data)
- Description copied from interface:
InformationSet
- Serializes this object to SetOfStatements.
- Specified by:
toRDF
in interface InformationSet
- Parameters:
data
- is stream to serialize this object to.
- Returns:
- reference to the set of statements that contains the serialized
data.