DestinationRecordToAirbyteValueWithMeta

class DestinationRecordToAirbyteValueWithMeta(val stream: DestinationStream, flatten: Boolean, extractedAtAsTimestampWithTimezone: Boolean, airbyteRawId: UUID)

Parameters

flatten

whether to promote user-defined fields to the root level. If this is set to false, fields defined in stream.schema will be left inside an _airbyte_data field.

extractedAtAsTimestampWithTimezone

whether to return the _airbyte_extracted_at field as an IntegerValue or as a TimestampWithTimezoneValue.

Constructors

Link copied to clipboard
constructor(stream: DestinationStream, flatten: Boolean, extractedAtAsTimestampWithTimezone: Boolean, airbyteRawId: UUID)

Properties

Link copied to clipboard

Functions

Link copied to clipboard
fun convert(data: AirbyteValue, emittedAtMs: Long, meta: Meta?): ObjectValue