Package com.mongodb.async
Interface AsyncAggregateResponseBatchCursor<T>
-
- Type Parameters:
T
- The type of documents the cursor contains
- All Superinterfaces:
AsyncBatchCursor<T>
,java.lang.AutoCloseable
,java.io.Closeable
@Deprecated public interface AsyncAggregateResponseBatchCursor<T> extends AsyncBatchCursor<T>
Deprecated.Extends the async batch cursor interface to include information included in an aggregate or getMore response.- Since:
- 3.11
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BsonTimestamp
getOperationTime()
Deprecated.Returns the operation time found in the aggregate or getMore response.BsonDocument
getPostBatchResumeToken()
Deprecated.Returns the postBatchResumeToken.boolean
isFirstBatchEmpty()
Deprecated.Returns true if the first batch was empty.-
Methods inherited from interface com.mongodb.async.AsyncBatchCursor
close, getBatchSize, isClosed, next, setBatchSize, tryNext
-
-
-
-
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
-
-