org.aksw.commons.sparql.api.core
Class ResultSetDecorator

java.lang.Object
  extended by org.aksw.commons.sparql.api.core.ResultSetDecorator
All Implemented Interfaces:
com.hp.hpl.jena.query.ResultSet, Iterator<com.hp.hpl.jena.query.QuerySolution>
Direct Known Subclasses:
ResultSetClosing

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

Author:
Claus Stadler

Date: 7/23/11 Time: 11:01 PM


Field Summary
protected  com.hp.hpl.jena.query.ResultSet decoratee
           
 
Constructor Summary
ResultSetDecorator(com.hp.hpl.jena.query.ResultSet decoratee)
           
 
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
 

Field Detail

decoratee

protected com.hp.hpl.jena.query.ResultSet decoratee
Constructor Detail

ResultSetDecorator

public ResultSetDecorator(com.hp.hpl.jena.query.ResultSet decoratee)
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.