@DefaultSchema(value=AutoValueSchema.class) public abstract class FileWriteSchemaTransformConfiguration extends java.lang.Object
SchemaTransform
and SchemaTransformProvider
.Modifier and Type | Class and Description |
---|---|
static class |
FileWriteSchemaTransformConfiguration.Builder |
static class |
FileWriteSchemaTransformConfiguration.CsvConfiguration
Configures extra details related to writing CSV formatted files.
|
static class |
FileWriteSchemaTransformConfiguration.ParquetConfiguration
Configures extra details related to writing Parquet formatted files.
|
static class |
FileWriteSchemaTransformConfiguration.XmlConfiguration
Configures extra details related to writing XML formatted files.
|
Constructor and Description |
---|
FileWriteSchemaTransformConfiguration() |
public FileWriteSchemaTransformConfiguration()
public static FileWriteSchemaTransformConfiguration.Builder builder()
public static FileWriteSchemaTransformConfiguration.CsvConfiguration.Builder csvConfigurationBuilder()
public static FileWriteSchemaTransformConfiguration.ParquetConfiguration.Builder parquetConfigurationBuilder()
public static FileWriteSchemaTransformConfiguration.XmlConfiguration.Builder xmlConfigurationBuilder()
@SchemaFieldDescription(value="The format of the file content. Value must be one of: \"avro\", \"csv\", \"json\", \"parquet\", \"xml\"") public abstract java.lang.String getFormat()
@SchemaFieldDescription(value="A common prefix to use for all generated filenames.") public abstract java.lang.String getFilenamePrefix()
@SchemaFieldDescription(value="The compression of all generated shard files. By default, appends the respective extension to the filename. Valid options can be found in: https://beam.apache.org/releases/javadoc/2.46.0/org/apache/beam/sdk/io/Compression.html") @Nullable public abstract java.lang.String getCompression()
Compression
for expected values.@SchemaFieldDescription(value="The number of output shards produced; a value of 1 disables sharding.") @Nullable public abstract java.lang.Integer getNumShards()
@SchemaFieldDescription(value="Uses the given shard name template for naming output files.") @Nullable public abstract java.lang.String getShardNameTemplate()
ShardNameTemplate
for the expected values.@SchemaFieldDescription(value="Configures the filename suffix for written files.") @Nullable public abstract java.lang.String getFilenameSuffix()
@SchemaFieldDescription(value="Configures extra details related to writing CSV formatted files.") @Nullable public abstract FileWriteSchemaTransformConfiguration.CsvConfiguration getCsvConfiguration()
@SchemaFieldDescription(value="Configures extra details related to writing Parquet formatted files.") @Nullable public abstract FileWriteSchemaTransformConfiguration.ParquetConfiguration getParquetConfiguration()
@SchemaFieldDescription(value="Configures extra details related to writing XML formatted files.") @Nullable public abstract FileWriteSchemaTransformConfiguration.XmlConfiguration getXmlConfiguration()