org.openrdf.repository.object.result
Class ObjectArrayCursor
java.lang.Object
info.aduna.iteration.CloseableIterationBase<E,X>
info.aduna.iteration.LookAheadIteration<Object[],QueryEvaluationException>
org.openrdf.repository.object.result.ObjectArrayCursor
- All Implemented Interfaces:
- CloseableIteration<Object[],QueryEvaluationException>, Iteration<Object[],QueryEvaluationException>
public class ObjectArrayCursor
- extends LookAheadIteration<Object[],QueryEvaluationException>
Converts the repository result into an array of Objects.
- Author:
- James Leigh
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ObjectArrayCursor
public ObjectArrayCursor(ObjectConnection manager,
TupleQueryResult result,
List<String> bindings)
throws QueryEvaluationException
- Throws:
QueryEvaluationException
getNextElement
public Object[] getNextElement()
throws QueryEvaluationException
- Specified by:
getNextElement in class LookAheadIteration<Object[],QueryEvaluationException>
- Throws:
QueryEvaluationException
handleClose
public void handleClose()
throws QueryEvaluationException
- Overrides:
handleClose in class LookAheadIteration<Object[],QueryEvaluationException>
- Throws:
QueryEvaluationException
Copyright © 2004-2011 James Leigh Services Inc.. All Rights Reserved.