@Internal @Experimental(value=SCHEMAS) public interface SchemaIO
SchemaIOProvider
.
The interfaces can be implemented to make IOs available in other SDKs in addition to Beam SQL.
Internal only: This interface is actively being worked on and it will likely change as we provide implementations for more standard Beam IOs. We provide no backwards compatibility guarantees and it should not be implemented outside of the Beam repository.
For a detailed walkthrough of implementation, see s.apache.org/schemaio-development-guide
Modifier and Type | Method and Description |
---|---|
PTransform<PBegin,PCollection<Row>> |
buildReader()
Returns a schema aware reader.
|
PTransform<PCollection<Row>,? extends POutput> |
buildWriter()
Returns a schema aware writer.
|
Schema |
schema()
Returns the schema of the data.
|
Schema schema()
PTransform<PBegin,PCollection<Row>> buildReader()
PTransform<PCollection<Row>,? extends POutput> buildWriter()