org.openrdf.query.algebra.evaluation.iterator
Class SilentIteration
java.lang.Object
info.aduna.iteration.CloseableIterationBase<E,X>
info.aduna.iteration.LookAheadIteration<BindingSet,QueryEvaluationException>
org.openrdf.query.algebra.evaluation.iterator.SilentIteration
- All Implemented Interfaces:
- CloseableIteration<BindingSet,QueryEvaluationException>, Iteration<BindingSet,QueryEvaluationException>
public class SilentIteration
- extends LookAheadIteration<BindingSet,QueryEvaluationException>
Wrap an inner iteration and suppress exceptions silently
- Author:
- Andreas Schwarte
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
iter
protected CloseableIteration<BindingSet,QueryEvaluationException> iter
SilentIteration
public SilentIteration(CloseableIteration<BindingSet,QueryEvaluationException> iter)
getNextElement
protected BindingSet getNextElement()
throws QueryEvaluationException
- Description copied from class:
LookAheadIteration
- Gets the next element. Subclasses should implement this method so that it
returns the next element.
- Specified by:
getNextElement in class LookAheadIteration<BindingSet,QueryEvaluationException>
- Returns:
- The next element, or null if no more elements are
available.
- Throws:
QueryEvaluationException
Copyright © 2001-2012 Aduna. All Rights Reserved.