Package org.eclipse.emf.cdo.spi.common
Class AbstractQueryResult<T>
java.lang.Object
org.eclipse.emf.cdo.spi.common.AbstractQueryResult<T>
- All Implemented Interfaces:
Iterator<T>
,BlockingCloseableIterator<T>
,org.eclipse.net4j.util.collection.Closeable
,org.eclipse.net4j.util.collection.CloseableIterator<T>
- Direct Known Subclasses:
AbstractQueryIterator
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
ConstructorDescriptionAbstractQueryResult
(CDOCommonView view, CDOQueryInfo queryInfo, int queryID) -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining
-
Constructor Details
-
AbstractQueryResult
- Since:
- 3.0
-
-
Method Details
-
getView
-
getQueryInfo
- Since:
- 3.0
-
getQueryID
public int getQueryID() -
getQueue
-
setQueryID
public void setQueryID(int queryID) -
peek
Description copied from interface:BlockingCloseableIterator
Non-blocking call.- Specified by:
peek
in interfaceBlockingCloseableIterator<T>
-
hasNext
public boolean hasNext() -
next
-
remove
public void remove() -
close
public void close()- Specified by:
close
in interfaceorg.eclipse.net4j.util.collection.Closeable
-
isClosed
public boolean isClosed()- Specified by:
isClosed
in interfaceorg.eclipse.net4j.util.collection.Closeable
-