handle
fun handle(partitionKey: PartitionKey, stream: DestinationStream.Descriptor, result: ValidationResult, value: EnrichedAirbyteValue): EnrichedAirbyteValue
Handles the provided validation result for a given value, partition, and stream.
Depending on the validation result, the method may truncate the value, nullify it, or leave it unchanged.
Parameters
partitionKey
The partition key associated with the record.
stream
The descriptor of the destination stream the value belongs to.
result
The result of the validation process, which determines the action to take.
value
The enriched Airbyte value to process based on the validation result.