InputRecord

data class InputRecord(val stream: DestinationStream, val data: AirbyteValue, val emittedAtMs: Long, val meta: Meta?, val serialized: String, val fileReference: AirbyteRecordMessageFileReference? = null, val checkpointId: CheckpointId? = null, val unknownFieldNames: Set<String> = emptySet()) : InputMessage

Constructors

Link copied to clipboard
constructor(stream: DestinationStream, data: String, emittedAtMs: Long, changes: MutableList<Meta.Change> = mutableListOf(), fileReference: AirbyteRecordMessageFileReference? = null, checkpointId: CheckpointId? = null, unknownFieldNames: Set<String> = emptySet())

Convenience constructor, primarily intended for use in tests.

constructor(stream: DestinationStream, data: AirbyteValue, emittedAtMs: Long, meta: Meta?, serialized: String, fileReference: AirbyteRecordMessageFileReference? = null, checkpointId: CheckpointId? = null, unknownFieldNames: Set<String> = emptySet())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val fileReference: AirbyteRecordMessageFileReference? = null
Link copied to clipboard
val meta: Meta?
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun asProtobuf(): AirbyteMessage.AirbyteMessageProtobuf
Link copied to clipboard
open override fun asProtocolMessage(): AirbyteMessage
Link copied to clipboard
open fun writeProtocolMessage(dataChannelFormat: DataChannelFormat = DataChannelFormat.JSONL, outputStream: OutputStream)