Class ErrorHandling
java.lang.Object
org.apache.beam.sdk.schemas.transforms.providers.ErrorHandling
- All Implemented Interfaces:
Serializable
- See Also:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ErrorHandling.Builder
builder()
static Row
errorRecord
(Schema errorSchema, byte[] inputBytes, Throwable th) static Row
errorRecord
(Schema errorSchema, Row inputRow, Throwable th) static Schema
errorSchema
(Schema inputSchema) static Schema
abstract String
static String
getOutputOrNull
(ErrorHandling errorHandling) static boolean
hasOutput
(ErrorHandling errorHandling)
-
Constructor Details
-
ErrorHandling
public ErrorHandling()
-
-
Method Details
-
getOutput
@SchemaFieldDescription("The name of the output PCollection containing failed writes.") public abstract String getOutput() -
builder
-
hasOutput
-
getOutputOrNull
-
errorSchema
-
errorSchemaBytes
-
errorRecord
-
errorRecord
-