Skip navigation links

@DefaultAnnotation(value=org.checkerframework.checker.nullness.qual.NonNull.class)

Package org.apache.beam.sdk.io

Defines transforms for reading and writing common storage formats, including org.apache.beam.sdk.io.AvroIO, and TextIO.

See: Description

Package org.apache.beam.sdk.io Description

Defines transforms for reading and writing common storage formats, including org.apache.beam.sdk.io.AvroIO, and TextIO.

The classes in this package provide Read transforms that create PCollections from existing storage:


 PCollection<TableRow> inputData = pipeline.apply(
     BigQueryIO.readTableRows().from("apache-beam-testing.samples.weather_stations"));
 
and Write transforms that persist PCollections to external storage:

 PCollection<Integer> numbers = ...;
 numbers.apply(TextIO.write().to("gs://my_bucket/path/to/numbers"));
 
Skip navigation links