static class MapReduceIterableImpl.WrappedMapReduceReadOperation<TResult> extends java.lang.Object implements AsyncReadOperation<AsyncBatchCursor<TResult>>
Modifier and Type | Field and Description |
---|---|
private AsyncReadOperation<MapReduceAsyncBatchCursor<TResult>> |
operation |
Constructor and Description |
---|
WrappedMapReduceReadOperation(MapReduceWithInlineResultsOperation<TResult> operation) |
Modifier and Type | Method and Description |
---|---|
void |
executeAsync(AsyncReadBinding binding,
SingleResultCallback<AsyncBatchCursor<TResult>> callback)
General execute which can return anything of type T
|
(package private) AsyncReadOperation<MapReduceAsyncBatchCursor<TResult>> |
getOperation() |
private final AsyncReadOperation<MapReduceAsyncBatchCursor<TResult>> operation
WrappedMapReduceReadOperation(MapReduceWithInlineResultsOperation<TResult> operation)
AsyncReadOperation<MapReduceAsyncBatchCursor<TResult>> getOperation()
public void executeAsync(AsyncReadBinding binding, SingleResultCallback<AsyncBatchCursor<TResult>> callback)
AsyncReadOperation
executeAsync
in interface AsyncReadOperation<AsyncBatchCursor<TResult>>
binding
- the binding to execute in the context ofcallback
- the callback to be called when the operation has been executed