org.openrdf.sesame.query.rql.model.iterators
Class NestedValueIterator
java.lang.Object
org.openrdf.sesame.query.rql.model.iterators.NestedValueIterator
- All Implemented Interfaces:
- ValueIterator
- public abstract class NestedValueIterator
- extends Object
- implements ValueIterator
NestedValueIterator
public NestedValueIterator(ResourceIterator outerIter)
hasNext
public boolean hasNext()
throws QueryEvaluationException
- Description copied from interface:
ValueIterator
- Checks whether there are any more values available.
- Specified by:
hasNext in interface ValueIterator
- Returns:
- true if there are more values available, false otherwise.
- Throws:
QueryEvaluationException
next
public Value next()
throws QueryEvaluationException
- Description copied from interface:
ValueIterator
- Gets the next value.
- Specified by:
next in interface ValueIterator
- Returns:
- the next value.
- Throws:
QueryEvaluationException
getInnerIterator
public abstract ValueIterator getInnerIterator(Resource outerResource)
close
public void close()
- Description copied from interface:
ValueIterator
- Closes the iterator and frees any resources that it uses (e.g.
connections to databases). Every ValueIterator should be properly
closed when it has returned all of its values, or when it is no longer
needed.
- Specified by:
close in interface ValueIterator
Copyright © 2002-2006 Aduna BV, GNU LGPL License applies.