title: “Sample”

Sample

Transforms for taking samples of the elements in a collection, or samples of the values associated with each key in a collection of key-value pairs.

Examples

See BEAM-7390 for updates.

Related transforms

  • Top finds the largest or smallest element.