org.aksw.commons.jena
Class CollectionResultSet

java.lang.Object
  extended by org.aksw.commons.jena.CollectionResultSet
All Implemented Interfaces:
com.hp.hpl.jena.query.ResultSet, Iterator<com.hp.hpl.jena.query.QuerySolution>

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

Created by Claus Stadler Date: Oct 20, 2010 Time: 7:08:06 PM


Constructor Summary
CollectionResultSet(List<String> resultVars, Iterable<com.hp.hpl.jena.query.QuerySolution> querySolutions)
           
 
Method Summary
 com.hp.hpl.jena.rdf.model.Model getResourceModel()
           
 List<String> getResultVars()
           
 int getRowNumber()
           
 boolean hasNext()
           
 com.hp.hpl.jena.query.QuerySolution next()
           
 com.hp.hpl.jena.sparql.engine.binding.Binding nextBinding()
           
 com.hp.hpl.jena.query.QuerySolution nextSolution()
           
 void remove()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionResultSet

public CollectionResultSet(List<String> resultVars,
                           Iterable<com.hp.hpl.jena.query.QuerySolution> querySolutions)
Method Detail

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 com.hp.hpl.jena.query.QuerySolution next()
Specified by:
next in interface com.hp.hpl.jena.query.ResultSet
Specified by:
next in interface Iterator<com.hp.hpl.jena.query.QuerySolution>

remove

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

nextSolution

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

nextBinding

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

getRowNumber

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

getResultVars

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

getResourceModel

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


Copyright © 2011. All Rights Reserved.