Class BadRecord.Record
java.lang.Object
org.apache.beam.sdk.transforms.errorhandling.BadRecord.Record
- All Implemented Interfaces:
Serializable
- Enclosing class:
BadRecord
@DefaultSchema(AutoValueSchema.class)
public abstract static class BadRecord.Record
extends Object
implements Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic BadRecord.Record.Builderbuilder()getCoder()The coder for the record, or null if there is no coder.abstract byte @Nullable []Nullable to account for failing to encode, or if there is no coder for the record at the time of failure.The failing record, encoded as JSON.
-
Constructor Details
-
Record
public Record()
-
-
Method Details
-
getHumanReadableJsonRecord
The failing record, encoded as JSON. Will be null if serialization as JSON fails. -
getEncodedRecord
Nullable to account for failing to encode, or if there is no coder for the record at the time of failure. -
getCoder
The coder for the record, or null if there is no coder. -
builder
-