@DefaultSchema(value=AutoValueSchema.class) public abstract static class BadRecord.Record extends java.lang.Object implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BadRecord.Record.Builder |
Constructor and Description |
---|
Record() |
Modifier and Type | Method and Description |
---|---|
static BadRecord.Record.Builder |
builder() |
abstract @Nullable java.lang.String |
getCoder()
The coder for the record, or null if there is no coder.
|
abstract byte[] |
getEncodedRecord()
Nullable to account for failing to encode, or if there is no coder for the record at the time
of failure.
|
abstract @Nullable java.lang.String |
getHumanReadableJsonRecord()
The failing record, encoded as JSON.
|
public abstract @Nullable java.lang.String getHumanReadableJsonRecord()
public abstract byte[] getEncodedRecord()
public abstract @Nullable java.lang.String getCoder()
public static BadRecord.Record.Builder builder()