Method Sample
Sample<TInput>(long)
Creates a $sample stage.
Parameters
size
longThe size.
Returns
- Pipeline
Stage <TInput, TInput>Definition The stage.
Type Parameters
TInput
The type of the input documents.
Creates a $sample stage.
size
longThe size.
The stage.
TInput
The type of the input documents.