public abstract class ErrorHandling
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class and Description |
---|---|
static class |
ErrorHandling.Builder |
Constructor and Description |
---|
ErrorHandling() |
Modifier and Type | Method and Description |
---|---|
static ErrorHandling.Builder |
builder() |
static Row |
errorRecord(Schema errorSchema,
byte[] inputBytes,
java.lang.Throwable th) |
static Row |
errorRecord(Schema errorSchema,
Row inputRow,
java.lang.Throwable th) |
static Schema |
errorSchema(Schema inputSchema) |
static Schema |
errorSchemaBytes() |
abstract java.lang.String |
getOutput() |
static java.lang.String |
getOutputOrNull(ErrorHandling errorHandling) |
static boolean |
hasOutput(ErrorHandling errorHandling) |
@SchemaFieldDescription(value="The name of the output PCollection containing failed writes.") public abstract java.lang.String getOutput()
public static ErrorHandling.Builder builder()
public static boolean hasOutput(@Nullable ErrorHandling errorHandling)
@Nullable public static java.lang.String getOutputOrNull(@Nullable ErrorHandling errorHandling)
public static Schema errorSchemaBytes()