| Modifier and Type | Method and Description |
|---|---|
| public T | Returns: the current object, null if the implementation lost track. Implementations may for performance reasons discard the caller's ObjectId and provider their own throughgetObjectId().Get the current object, null if the implementation lost track. |
| public ObjectId | Returns: the ObjectId of the current object. Never null.Get the ObjectId of the current object. |
| public boolean | Returns: true if there is a result available; false if the queue has finished its input iteration.Position this queue onto the next available result. |
| public ObjectLoader |
| getCurrent | back to summary |
|---|---|
| public T getCurrent() Get the current object, null if the implementation lost track.
| |
| getObjectId | back to summary |
|---|---|
| public ObjectId getObjectId() Get the ObjectId of the current object. Never null.
| |
| next | back to summary |
|---|---|
| public boolean next() throws MissingObjectException, IOException Position this queue onto the next available result.
Even if this method returns true,
| |
| open | back to summary |
|---|---|
| public ObjectLoader open() throws IOException Obtain a loader to read the object. This method can only be invoked once per result Due to race conditions with a concurrent modification of the underlying object database, an object may be unavailable when this method is invoked, even though next returned successfully.
| |