@DefaultSchema(value=AutoValueSchema.class) public abstract class BadRecord extends java.lang.Object implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
BadRecord.Builder |
static class |
BadRecord.Failure |
static class |
BadRecord.Record |
Constructor and Description |
---|
BadRecord() |
Modifier and Type | Method and Description |
---|---|
static BadRecord.Builder |
builder() |
static <RecordT> BadRecord |
fromExceptionInformation(RecordT record,
@Nullable Coder<RecordT> coder,
@Nullable java.lang.Exception exception,
java.lang.String description) |
static Coder<BadRecord> |
getCoder(Pipeline pipeline) |
abstract BadRecord.Failure |
getFailure()
Information about why the record failed.
|
abstract BadRecord.Record |
getRecord()
Information about the record that failed.
|
public abstract BadRecord.Record getRecord()
public abstract BadRecord.Failure getFailure()
public static BadRecord.Builder builder()