public class AbstractQueryResult<T> extends java.lang.Object implements BlockingCloseableIterator<T>
Constructor and Description |
---|
AbstractQueryResult(CDOCommonView view,
CDOQueryInfo queryInfo,
int queryID) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
int |
getQueryID() |
CDOQueryInfo |
getQueryInfo() |
CDOQueryQueue<java.lang.Object> |
getQueue() |
CDOCommonView |
getView() |
boolean |
hasNext() |
boolean |
isClosed() |
T |
next() |
T |
peek()
Non-blocking call.
|
void |
remove() |
void |
setQueryID(int queryID) |
public AbstractQueryResult(CDOCommonView view, CDOQueryInfo queryInfo, int queryID)
public CDOCommonView getView()
public CDOQueryInfo getQueryInfo()
public int getQueryID()
public CDOQueryQueue<java.lang.Object> getQueue()
public void setQueryID(int queryID)
public T peek()
BlockingCloseableIterator
peek
in interface BlockingCloseableIterator<T>
public boolean hasNext()
hasNext
in interface java.util.Iterator<T>
public void remove()
remove
in interface java.util.Iterator<T>
Copyright (c) 2004-2019 Eike Stepper (Loehne, Germany) and others.
All rights reserved. This program and the accompanying materials are made available under the terms of the Eclipse Public License v1.0 which accompanies this distribution, and is available at http://www.eclipse.org/legal/epl-v10.html