Package org.eclipse.emf.cdo.spi.common
Class AbstractQueryResult<T>
- java.lang.Object
-
- org.eclipse.emf.cdo.spi.common.AbstractQueryResult<T>
-
- All Implemented Interfaces:
java.util.Iterator<T>,BlockingCloseableIterator<T>,org.eclipse.net4j.util.collection.Closeable,org.eclipse.net4j.util.collection.CloseableIterator<T>
- Direct Known Subclasses:
AbstractQueryIterator
public class AbstractQueryResult<T> extends java.lang.Object implements BlockingCloseableIterator<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
-
-
Constructor Summary
Constructors Constructor Description AbstractQueryResult(CDOCommonView view, CDOQueryInfo queryInfo, int queryID)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intgetQueryID()CDOQueryInfogetQueryInfo()CDOQueryQueue<java.lang.Object>getQueue()CDOCommonViewgetView()booleanhasNext()booleanisClosed()Tnext()Tpeek()Non-blocking call.voidremove()voidsetQueryID(int queryID)
-
-
-
Constructor Detail
-
AbstractQueryResult
public AbstractQueryResult(CDOCommonView view, CDOQueryInfo queryInfo, int queryID)
- Since:
- 3.0
-
-
Method Detail
-
getView
public CDOCommonView getView()
-
getQueryInfo
public CDOQueryInfo getQueryInfo()
- Since:
- 3.0
-
getQueryID
public int getQueryID()
-
getQueue
public CDOQueryQueue<java.lang.Object> getQueue()
-
setQueryID
public void setQueryID(int queryID)
-
peek
public T peek()
Description copied from interface:BlockingCloseableIteratorNon-blocking call.- Specified by:
peekin interfaceBlockingCloseableIterator<T>
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfacejava.util.Iterator<T>
-
remove
public void remove()
- Specified by:
removein interfacejava.util.Iterator<T>
-
close
public void close()
- Specified by:
closein interfaceorg.eclipse.net4j.util.collection.Closeable
-
isClosed
public boolean isClosed()
- Specified by:
isClosedin interfaceorg.eclipse.net4j.util.collection.Closeable
-
-