Package com.mongodb.operation
Interface ReadOperation<T>
- Type Parameters:
T
- the operations result type.
- All Known Implementing Classes:
AggregateOperation
,ChangeStreamOperation
,CommandReadOperation
,CountOperation
,CurrentOpOperation
,DistinctOperation
,FindOperation
,FsyncUnlockOperation
,GroupOperation
,ListCollectionsOperation
,ListDatabasesOperation
,ListIndexesOperation
,MapReduceWithInlineResultsOperation
,ParallelCollectionScanOperation
,UserExistsOperation
Deprecated.
An operation that reads from a MongoDB server.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionexecute
(ReadBinding binding) Deprecated.General execute which can return anything of type T
-
Method Details
-
execute
Deprecated.General execute which can return anything of type T- Parameters:
binding
- the binding to execute in the context of- Returns:
- T, the result of the execution
-