Package org.apache.beam.sdk.io
Class TFRecordReadSchemaTransformConfiguration
java.lang.Object
org.apache.beam.sdk.io.TFRecordReadSchemaTransformConfiguration
- All Implemented Interfaces:
Serializable
@DefaultSchema(AutoValueSchema.class)
public abstract class TFRecordReadSchemaTransformConfiguration
extends Object
implements Serializable
Configuration for reading from TFRecord.
This class is meant to be used with TFRecordReadSchemaTransformProvider
.
Internal only: This class is actively being worked on, and it will likely change. We provide no backwards compatibility guarantees, and it should not be implemented outside the Beam repository.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder forTFRecordReadSchemaTransformConfiguration
. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates aTFRecordReadSchemaTransformConfiguration.Builder
instance.abstract String
abstract ErrorHandling
abstract String
abstract boolean
void
validate()
-
Constructor Details
-
TFRecordReadSchemaTransformConfiguration
public TFRecordReadSchemaTransformConfiguration()
-
-
Method Details
-
validate
public void validate() -
builder
Instantiates aTFRecordReadSchemaTransformConfiguration.Builder
instance. -
getValidate
-
getCompression
@SchemaFieldDescription("Decompression type to use when reading input files.") public abstract String getCompression() -
getFilePattern
@SchemaFieldDescription("Filename or file pattern used to find input files.") public abstract String getFilePattern() -
getErrorHandling
@SchemaFieldDescription("This option specifies whether and where to output unwritable rows.") @Nullable public abstract ErrorHandling getErrorHandling()
-