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 SummaryConstructors Constructor Description AbstractQueryResult(CDOCommonView view, CDOQueryInfo queryInfo, int queryID)
 - 
Method SummaryAll 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- 
AbstractQueryResultpublic AbstractQueryResult(CDOCommonView view, CDOQueryInfo queryInfo, int queryID) - Since:
- 3.0
 
 
- 
 - 
Method Detail- 
getViewpublic CDOCommonView getView() 
 - 
getQueryInfopublic CDOQueryInfo getQueryInfo() - Since:
- 3.0
 
 - 
getQueryIDpublic int getQueryID() 
 - 
getQueuepublic CDOQueryQueue<java.lang.Object> getQueue() 
 - 
setQueryIDpublic void setQueryID(int queryID) 
 - 
peekpublic T peek() Description copied from interface:BlockingCloseableIteratorNon-blocking call.- Specified by:
- peekin interface- BlockingCloseableIterator<T>
 
 - 
hasNextpublic boolean hasNext() - Specified by:
- hasNextin interface- java.util.Iterator<T>
 
 - 
removepublic void remove() - Specified by:
- removein interface- java.util.Iterator<T>
 
 - 
closepublic void close() - Specified by:
- closein interface- org.eclipse.net4j.util.collection.Closeable
 
 - 
isClosedpublic boolean isClosed() - Specified by:
- isClosedin interface- org.eclipse.net4j.util.collection.Closeable
 
 
- 
 
-