org.openrdf.elmo.sesame
Class ElmoSingleQueryResult
java.lang.Object
org.openrdf.elmo.sesame.iterators.ElmoIteration<BindingSet,Object>
org.openrdf.elmo.sesame.ElmoSingleQueryResult
- All Implemented Interfaces:
- CloseableIteration<Object,ElmoException>, Iteration<Object,ElmoException>, Closeable, Iterator<Object>
public class ElmoSingleQueryResult
- extends ElmoIteration<BindingSet,Object>
Converts the repository result into a single Bean.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ElmoSingleQueryResult
public ElmoSingleQueryResult(SesameManager manager,
TupleQueryResult result,
int maxResults)
convert
protected Object convert(BindingSet sol)
- Specified by:
convert in class ElmoIteration<BindingSet,Object>
hasNext
public boolean hasNext()
- Specified by:
hasNext in interface Iteration<Object,ElmoException>- Specified by:
hasNext in interface Iterator<Object>- Overrides:
hasNext in class ElmoIteration<BindingSet,Object>
next
public Object next()
- Specified by:
next in interface Iteration<Object,ElmoException>- Specified by:
next in interface Iterator<Object>- Overrides:
next in class ElmoIteration<BindingSet,Object>
Copyright © 2004-2008 Aduna. All Rights Reserved.