Class SchemaRegistry

java.lang.Object
org.apache.beam.sdk.schemas.SchemaRegistry

public class SchemaRegistry extends Object
A SchemaRegistry allows registering Schemas for a given Java Class or a TypeDescriptor.

Types registered in a pipeline's schema registry will automatically be discovered by any PCollection that uses SchemaCoder. This allows users to write pipelines in terms of their own Java types, yet still register schemas for these types.

TODO: Provide support for schemas registered via a ServiceLoader interface. This will allow optional modules to register schemas as well.