ProjectAsync Method
ProjectAsync<TResult>(IProjection)
Projects values.
Declaration
Task<IReadOnlyCollection<TResult>> ProjectAsync<TResult>(IProjection projection)
Parameters
| IProjection | projection | The projection. |
Returns
| Task<IReadOnlyCollection<TResult>> | The projected values. |
Type Parameters
| TResult | The type of the result. |
Remarks
The projection must be serializable via Hazelcast serialization,
and have a counterpart on the server.
ProjectAsync<TResult>(IProjection, IPredicate)
Projects values.
Declaration
Task<IReadOnlyCollection<TResult>> ProjectAsync<TResult>(IProjection projection, IPredicate predicate)
Parameters
| IProjection | projection | The projection. |
| IPredicate | predicate | A predicate to filter the entries with. |
Returns
| Task<IReadOnlyCollection<TResult>> | The projected values. |
Type Parameters
| TResult | The type of the result. |
Remarks
The projection and predicate must be
serializable via Hazelcast serialization, and have a counterpart on the server.