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:
  • Constructor Details

    • Record

      public Record()
  • Method Details

    • getHumanReadableJsonRecord

      public abstract @Nullable String getHumanReadableJsonRecord()
      The failing record, encoded as JSON. Will be null if serialization as JSON fails.
    • getEncodedRecord

      public abstract byte @Nullable [] getEncodedRecord()
      Nullable to account for failing to encode, or if there is no coder for the record at the time of failure.
    • getCoder

      public abstract @Nullable String getCoder()
      The coder for the record, or null if there is no coder.
    • builder

      public static BadRecord.Record.Builder builder()