beam-sdks-java-core and
will be eventually removed. Please, migrate to a new module
beam-sdks-java-extensions-avro by importing
org.apache.beam.sdk.extensions.avro.io.AvroSchemaIOProvider instead of this one.@Internal @AutoService(value=SchemaIOProvider.class) @Deprecated public class AvroSchemaIOProvider extends java.lang.Object implements SchemaIOProvider
SchemaIOProvider for reading and writing Avro files with AvroIO.| Constructor and Description |
|---|
AvroSchemaIOProvider()
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
Schema |
configurationSchema()
Deprecated.
Returns the expected schema of the configuration object.
|
org.apache.beam.sdk.io.AvroSchemaIOProvider.AvroSchemaIO |
from(java.lang.String location,
Row configuration,
Schema dataSchema)
Deprecated.
Produce a SchemaIO given a String representing the data's location, the schema of the data that
resides there, and some IO-specific configuration object.
|
java.lang.String |
identifier()
Deprecated.
Returns an id that uniquely represents this IO.
|
PCollection.IsBounded |
isBounded()
Deprecated.
|
boolean |
requiresDataSchema()
Deprecated.
Indicates whether the dataSchema value is necessary.
|
public java.lang.String identifier()
identifier in interface SchemaIOProviderpublic Schema configurationSchema()
configurationSchema in interface SchemaIOProviderpublic org.apache.beam.sdk.io.AvroSchemaIOProvider.AvroSchemaIO from(java.lang.String location,
Row configuration,
Schema dataSchema)
from in interface SchemaIOProviderpublic boolean requiresDataSchema()
SchemaIOProviderrequiresDataSchema in interface SchemaIOProviderpublic PCollection.IsBounded isBounded()
isBounded in interface SchemaIOProvider