org.apache.spark.util.random
:: DeveloperApi :: A sampler for sampling with replacement, based on values drawn from Poisson distribution.
item type
the sampling fraction (with replacement)
if true, use gap sampling when sampling ratio is low.
return a copy of the RandomSampler object
take a random sample
Set random seed.
:: DeveloperApi :: A sampler for sampling with replacement, based on values drawn from Poisson distribution.
item type