EnrichedAirbyteValue

class EnrichedAirbyteValue(var abValue: AirbyteValue, val type: AirbyteType, val name: String, val changes: MutableList<Meta.Change> = mutableListOf(), val airbyteMetaField: Meta.AirbyteMetaFields?)

Represents an "enriched" (/augmented) Airbyte value with additional metadata.

Constructors

Link copied to clipboard
constructor(abValue: AirbyteValue, type: AirbyteType, name: String, changes: MutableList<Meta.Change> = mutableListOf(), airbyteMetaField: Meta.AirbyteMetaFields?)

Properties

Link copied to clipboard
Link copied to clipboard

List of Meta.Changes that have been applied to this value

Link copied to clipboard

Field name

Link copied to clipboard

Functions

Link copied to clipboard
fun nullify(reason: AirbyteRecordMessageMetaChange.Reason = Reason.DESTINATION_SERIALIZATION_ERROR)

Creates a nullified version of this value with the specified reason.

Link copied to clipboard
fun truncate(newValue: AirbyteValue, reason: AirbyteRecordMessageMetaChange.Reason = Reason.DESTINATION_RECORD_SIZE_LIMITATION)

Creates a truncated version of this value with the specified reason and new value.