Close the context.
Close the context. No operation can be performed once the context is closed.
Get an SCollection with a custom input transform.
Get an SCollection with a custom input transform. The transform should have a unique name.
Get an SCollection for a Datastore query.
Form an empty SCollection.
Initialize a new Counter metric.
Initialize a new Counter metric using T
as namespace.
Initialize a new Counter metric using T
as namespace.
Default is "com.spotify.scio.ScioMetrics" if T
is not specified.
Whether the context is closed.
Whether this is a test context.
Get PipelineOptions as a more specific sub-type.
Distribute a local Scala Map
to form an SCollection.
Distribute a local Scala Iterable
to form an SCollection.
Distribute a local Scala Iterable
with timestamps to form an SCollection.
Distribute a local Scala Iterable
with timestamps to form an SCollection.
Underlying pipeline.
Get an SCollection for a Pub/Sub subscription.
Get an SCollection for a Pub/Sub subscription that includes message attributes.
Get an SCollection for a Pub/Sub topic.
Get an SCollection for a Pub/Sub topic that includes message attributes.
Generic read method for all ScioIO[T]
implementations, if it is test pipeline this will
feed value of pre-registered input IO implementation which match for the passing ScioIO[T]
implementation.
Generic read method for all ScioIO[T]
implementations, if it is test pipeline this will
feed value of pre-registered input IO implementation which match for the passing ScioIO[T]
implementation. if not this will invoke com.spotify.scio.io.ScioIO[T]#read method along
with read configurations passed by.
an implementation of ScioIO[T]
trait
configurations need to pass to perform underline read implementation
Set application name for the context.
Set job name for the context.
Get an SCollection for a text file.
Create a union of multiple SCollections.
Create a union of multiple SCollections. Supports empty lists.
Set a custom name for the next transform to be applied.
Set a custom name for the next transform to be applied.
Wrap a PCollection.
Main entry point for Scio functionality. A ScioContext represents a pipeline and can be used to create SCollections and distributed caches on that cluster.