Get an SCollection for an Avro file.
Get an SCollection for an Avro file.
must be not null if T
is of type
GenericRecord.
Get an SCollection for an object file using default serialization.
Get an SCollection for an object file using default serialization.
Serialized objects are stored in Avro files to leverage Avro's block file format. Note that serialization is not guaranteed to be compatible across Scio releases.
Get an SCollection for a Protobuf file.
Get an SCollection for a Protobuf file.
Protobuf messages are serialized into Array[Byte]
and stored in Avro files to leverage
Avro's block file format.
Get a typed SCollection from an Avro schema.
Get a typed SCollection from an Avro schema.
Note that T
must be annotated with
AvroType.fromSchema,
AvroType.fromPath, or
AvroType.toSchema.
Enhanced version of ScioContext with Avro methods.