public class StatementConversionIteration extends AbstractCloseableIteration<BindingSet,QueryEvaluationException>
| Modifier and Type | Field and Description | 
|---|---|
| protected BindingSet | bindings | 
| protected RepositoryResult<Statement> | repoResult | 
| protected StatementPattern | stmt | 
| protected boolean | updateContext | 
| protected boolean | updateObj | 
| protected boolean | updatePred | 
| protected boolean | updateSubj | 
| Constructor and Description | 
|---|
| StatementConversionIteration(RepositoryResult<Statement> repoResult,
                            BindingSet bindings,
                            StatementPattern stmt) | 
| Modifier and Type | Method and Description | 
|---|---|
| protected BindingSet | convert(Statement st) | 
| protected QueryEvaluationException | convertException(Exception e) | 
| protected void | handleClose()Called by  AbstractCloseableIteration.close()when it is called for the first time. | 
| boolean | hasNext()Returns true if the iteration has more elements. | 
| protected void | init() | 
| BindingSet | next()Returns the next element in the iteration. | 
| void | remove()Removes from the underlying collection the last element returned by the iteration (optional operation). | 
close, isClosedprotected final RepositoryResult<Statement> repoResult
protected final BindingSet bindings
protected final StatementPattern stmt
protected boolean updateSubj
protected boolean updatePred
protected boolean updateObj
protected boolean updateContext
public StatementConversionIteration(RepositoryResult<Statement> repoResult, BindingSet bindings, StatementPattern stmt)
protected void init()
public boolean hasNext()
                throws QueryEvaluationException
IterationIteration.next()
 would return an element rather than throwing a NoSuchElementException.)QueryEvaluationExceptionpublic BindingSet next() throws QueryEvaluationException
IterationQueryEvaluationExceptionpublic void remove()
            throws QueryEvaluationException
IterationQueryEvaluationExceptionprotected void handleClose()
                    throws QueryEvaluationException
AbstractCloseableIterationAbstractCloseableIteration.close() when it is called for the first time. This method is only called once on each iteration.
 By default, this method does nothing.handleClose in class AbstractCloseableIteration<BindingSet,QueryEvaluationException>QueryEvaluationExceptionprotected BindingSet convert(Statement st)
protected QueryEvaluationException convertException(Exception e)
Copyright © 2015-2020 Eclipse Foundation. All Rights Reserved.