Franz Inc, AllegroGraph

com.franz.agraph.jena
Class AGResultSet

java.lang.Object
  extended by com.franz.agraph.jena.AGResultSet
All Implemented Interfaces:
com.hp.hpl.jena.query.ResultSet, Iterator<com.hp.hpl.jena.query.QuerySolution>

public class AGResultSet
extends Object
implements com.hp.hpl.jena.query.ResultSet

Implements the Jena ResultSet interface for AllegroGraph.


Constructor Summary
AGResultSet(org.openrdf.query.TupleQueryResult result, AGModel model)
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model getResourceModel()
           
 List<String> getResultVars()
           
 int getRowNumber()
           
 boolean hasNext()
           
 AGQuerySolution next()
           
 com.hp.hpl.jena.sparql.engine.binding.Binding nextBinding()
           
 AGQuerySolution nextSolution()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AGResultSet

public AGResultSet(org.openrdf.query.TupleQueryResult result,
                   AGModel model)
Method Detail

getResourceModel

public com.hp.hpl.jena.rdf.model.Model getResourceModel()
Specified by:
getResourceModel in interface com.hp.hpl.jena.query.ResultSet

getResultVars

public List<String> getResultVars()
Specified by:
getResultVars in interface com.hp.hpl.jena.query.ResultSet

getRowNumber

public int getRowNumber()
Specified by:
getRowNumber in interface com.hp.hpl.jena.query.ResultSet

hasNext

public boolean hasNext()
Specified by:
hasNext in interface com.hp.hpl.jena.query.ResultSet
Specified by:
hasNext in interface Iterator<com.hp.hpl.jena.query.QuerySolution>

next

public AGQuerySolution next()
Specified by:
next in interface com.hp.hpl.jena.query.ResultSet
Specified by:
next in interface Iterator<com.hp.hpl.jena.query.QuerySolution>

nextBinding

public com.hp.hpl.jena.sparql.engine.binding.Binding nextBinding()
Specified by:
nextBinding in interface com.hp.hpl.jena.query.ResultSet

nextSolution

public AGQuerySolution nextSolution()
Specified by:
nextSolution in interface com.hp.hpl.jena.query.ResultSet

remove

public void remove()
Specified by:
remove in interface Iterator<com.hp.hpl.jena.query.QuerySolution>

Copyright © 2008-2012 Franz Inc.