Package org.eclipse.emf.spi.cdo
Class AbstractQueryIterator<T>
- java.lang.Object
-
- org.eclipse.emf.cdo.spi.common.AbstractQueryResult<T>
-
- org.eclipse.emf.spi.cdo.AbstractQueryIterator<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>,BlockingCloseableIterator<T>,org.eclipse.net4j.util.collection.Closeable,org.eclipse.net4j.util.collection.CloseableIterator<T>
public abstract class AbstractQueryIterator<T> extends AbstractQueryResult<T>
If the meaning of this type isn't clear, there really should be more of a description here...- Since:
- 2.0
- Author:
- Simon McDuff
- No Extend
- This interface is not intended to be extended by clients.
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryIterator(CDOView view, CDOQueryInfo queryInfo)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract java.util.List<T>asList()abstract TasValue()voidclose()CDOViewgetView()voidremove()voidsetQueryID(int queryID)voidwaitForInitialization()-
Methods inherited from class org.eclipse.emf.cdo.spi.common.AbstractQueryResult
getQueryID, getQueryInfo, getQueue, hasNext, isClosed, next, peek
-
-
-
-
Constructor Detail
-
AbstractQueryIterator
public AbstractQueryIterator(CDOView view, CDOQueryInfo queryInfo)
- Since:
- 3.0
-
-
Method Detail
-
setQueryID
public void setQueryID(int queryID)
- Overrides:
setQueryIDin classAbstractQueryResult<T>
-
waitForInitialization
public void waitForInitialization() throws java.lang.InterruptedException- Throws:
java.lang.InterruptedException
-
getView
public CDOView getView()
- Overrides:
getViewin classAbstractQueryResult<T>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T>- Overrides:
removein classAbstractQueryResult<T>
-
close
public void close()
- Specified by:
closein interfaceorg.eclipse.net4j.util.collection.Closeable- Overrides:
closein classAbstractQueryResult<T>
-
asList
public abstract java.util.List<T> asList()
-
asValue
public abstract T asValue()
- Since:
- 4.2
-
-