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.
@Deprecated public interface ReadOperation<T>
An operation that reads from a MongoDB server.- Since:
- 3.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description T
execute(ReadBinding binding)
Deprecated.General execute which can return anything of type T
-
-
-
Method Detail
-
execute
T execute(ReadBinding binding)
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
-
-