@DefaultSchema(value=AutoValueSchema.class) public abstract class CsvIOParseError extends java.lang.Object
CsvIOParseError
is a data class to store errors from CSV record processing. It is Schema
mapped for compatibility with writing to Beam Schema-aware
I/O connectors.Constructor and Description |
---|
CsvIOParseError() |
Modifier and Type | Method and Description |
---|---|
abstract @Nullable java.lang.String |
getCsvRecord()
The CSV record associated with the caught
Exception . |
abstract @Nullable java.lang.String |
getFilename()
The filename associated with the caught
Exception . |
abstract java.lang.String |
getMessage()
The caught
Throwable.getMessage() . |
abstract Instant |
getObservedTimestamp()
The date and time when the
Exception occurred. |
abstract java.lang.String |
getStackTrace()
The caught
Throwable.getStackTrace() . |
public abstract java.lang.String getMessage()
Throwable.getMessage()
.public abstract @Nullable java.lang.String getCsvRecord()
Exception
. Annotated Nullable
as not
all processing errors are associated with a CSV record.public abstract @Nullable java.lang.String getFilename()
Exception
. Annotated Nullable
as not
all processing errors are associated with a file.public abstract Instant getObservedTimestamp()
Exception
occurred.public abstract java.lang.String getStackTrace()
Throwable.getStackTrace()
.