Distinct

Javadoc Javadoc


Produces a collection containing distinct elements of the input collection.

On some data sets, it might be more efficient to compute an approximate answer using ApproximateUnique, which also allows for determining distinct values for each key.

Examples

See BEAM-7703 for updates.