Filter the elements for which the given PartialFunction
is defined, and then map.
Filter the elements for which the given PartialFunction
is defined, and then map.
parallelism
is the number of concurrent DoFn
s per worker.
Return a new SCollection containing only the elements that satisfy a predicate.
Return a new SCollection containing only the elements that satisfy a predicate.
parallelism
is the number of concurrent DoFn
s per worker.
Return a new SCollection by first applying a function to all elements of this SCollection, and then flattening the results.
Return a new SCollection by first applying a function to all elements of
this SCollection, and then flattening the results.
parallelism
is the number of concurrent DoFn
s per worker.
Return a new SCollection by applying a function to all elements of this SCollection.
Return a new SCollection by applying a function to all elements of this SCollection.
parallelism
is the number of concurrent DoFn
s per worker.
Enhanced version of SCollection with custom parallelism, where
parallelism
is the number of concurrentDoFn
threads per worker (default to number of CPU cores).