org.openrdf.jena
Class ResultSetImpl
java.lang.Object
org.openrdf.jena.ResultSetImpl
- All Implemented Interfaces:
- com.hp.hpl.jena.query.ResultSet, Iterator
public class ResultSetImpl
- extends Object
- implements com.hp.hpl.jena.query.ResultSet
- Author:
- Daniel Burkhart
Implements the ResultSet Interface, that is returned from several query
execution methods, e.g. in class QueryExecutionSesame
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
data
private Vector data
current
private int current
resultVars
private List resultVars
- the variable names for the projection
ResultSetImpl
public ResultSetImpl(List resultVars)
add
public void add(Object o)
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface com.hp.hpl.jena.query.ResultSet- Specified by:
hasNext in interface Iterator
next
public Object next()
- Specified by:
next in interface com.hp.hpl.jena.query.ResultSet- Specified by:
next in interface Iterator
nextSolution
public com.hp.hpl.jena.query.QuerySolution nextSolution()
- Specified by:
nextSolution 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 getResultVars()
- Specified by:
getResultVars in interface com.hp.hpl.jena.query.ResultSet
isOrdered
public boolean isOrdered()
- Specified by:
isOrdered in interface com.hp.hpl.jena.query.ResultSet
isDistinct
public boolean isDistinct()
- Specified by:
isDistinct in interface com.hp.hpl.jena.query.ResultSet
remove
public void remove()
- Specified by:
remove in interface Iterator