Package org.apache.beam.sdk.io
Interface TextRowCountEstimator.SamplingStrategy
- All Known Implementing Classes:
TextRowCountEstimator.LimitNumberOfFiles
,TextRowCountEstimator.LimitNumberOfTotalBytes
,TextRowCountEstimator.SampleAllFiles
- Enclosing class:
TextRowCountEstimator
public static interface TextRowCountEstimator.SamplingStrategy
Sampling Strategy shows us when should we stop reading further files. *
-
Method Summary
-
Method Details
-
stopSampling
boolean stopSampling(int numberOfFiles, long totalReadBytes)
-