@Internal @AutoService(value=SchemaIOProvider.class) public class ParquetSchemaIOProvider extends java.lang.Object implements SchemaIOProvider
SchemaIOProvider
for reading and writing parquet files with ParquetIO
.Constructor and Description |
---|
ParquetSchemaIOProvider() |
Modifier and Type | Method and Description |
---|---|
Schema |
configurationSchema()
Returns the expected schema of the configuration object.
|
org.apache.beam.sdk.io.parquet.ParquetSchemaIOProvider.ParquetSchemaIO |
from(java.lang.String location,
Row configuration,
Schema dataSchema)
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()
Returns an id that uniquely represents this IO.
|
PCollection.IsBounded |
isBounded() |
boolean |
requiresDataSchema()
Indicates whether the dataSchema value is necessary.
|
public java.lang.String identifier()
identifier
in interface SchemaIOProvider
public Schema configurationSchema()
configurationSchema
in interface SchemaIOProvider
public org.apache.beam.sdk.io.parquet.ParquetSchemaIOProvider.ParquetSchemaIO from(java.lang.String location, Row configuration, Schema dataSchema)
from
in interface SchemaIOProvider
public boolean requiresDataSchema()
SchemaIOProvider
requiresDataSchema
in interface SchemaIOProvider
public PCollection.IsBounded isBounded()
isBounded
in interface SchemaIOProvider