public static class CosmosIO.BoundedCosmosBDSource<T> extends BoundedSource<T>
BoundedSource reading from Comos.BoundedSource.BoundedReader<T>Source.Reader<T>| Modifier and Type | Method and Description | 
|---|---|
BoundedSource.BoundedReader<T> | 
createReader(PipelineOptions options)
Returns a new  
BoundedSource.BoundedReader that reads from this source. | 
long | 
getEstimatedSizeBytes(PipelineOptions options)
An estimate of the total size (in bytes) of the data that would be read from this source. 
 | 
Coder<T> | 
getOutputCoder()
Returns the  
Coder to use for the data read from this source. | 
java.util.List<? extends BoundedSource<T>> | 
split(long desiredBundleSizeBytes,
     PipelineOptions options)
Splits the source into bundles of approximately  
desiredBundleSizeBytes. | 
getDefaultOutputCoder, populateDisplayData, validatepublic java.util.List<? extends BoundedSource<T>> split(long desiredBundleSizeBytes, PipelineOptions options) throws java.lang.Exception
BoundedSourcedesiredBundleSizeBytes.split in class BoundedSource<T>java.lang.Exceptionpublic long getEstimatedSizeBytes(PipelineOptions options) throws java.lang.Exception
BoundedSourceIf there is no way to estimate the size of the source implementations MAY return 0L.
getEstimatedSizeBytes in class BoundedSource<T>java.lang.Exceptionpublic Coder<T> getOutputCoder()
SourceCoder to use for the data read from this source.getOutputCoder in class Source<T>public BoundedSource.BoundedReader<T> createReader(PipelineOptions options) throws java.io.IOException
BoundedSourceBoundedSource.BoundedReader that reads from this source.createReader in class BoundedSource<T>java.io.IOException