Package com.mongodb.operation
Interface AggregateResponseBatchCursor<T>
- 
- Type Parameters:
 T- The type of documents the cursor contains
- All Superinterfaces:
 AutoCloseable,BatchCursor<T>,Closeable,Iterator<List<T>>
@NotThreadSafe @Deprecated public interface AggregateResponseBatchCursor<T> extends BatchCursor<T>
Deprecated.Extends the batch cursor interface to include information included in an aggregate or getMore response.- Since:
 - 3.11
 - MongoDB documentation
 - OP_GET_MORE
 
 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BsonTimestampgetOperationTime()Deprecated.Returns the operation time found in the aggregate or getMore response.BsonDocumentgetPostBatchResumeToken()Deprecated.Returns the postBatchResumeToken.booleanisFirstBatchEmpty()Deprecated.Returns true if the first batch was empty.- 
Methods inherited from interface com.mongodb.operation.BatchCursor
close, getBatchSize, getServerAddress, getServerCursor, hasNext, next, setBatchSize, tryNext 
- 
Methods inherited from interface java.util.Iterator
forEachRemaining, remove 
 - 
 
 - 
 
- 
- 
Method Detail
- 
getPostBatchResumeToken
BsonDocument getPostBatchResumeToken()
Deprecated.Returns the postBatchResumeToken.- Returns:
 - the postBatchResumeToken
 
 
- 
getOperationTime
BsonTimestamp getOperationTime()
Deprecated.Returns the operation time found in the aggregate or getMore response.- Returns:
 - the operation time
 
 
- 
isFirstBatchEmpty
boolean isFirstBatchEmpty()
Deprecated.Returns true if the first batch was empty.- Returns:
 - true if the first batch was empty
 
 
 - 
 
 -