AirbyteValueIdentityMapper

Constructors

Link copied to clipboard
constructor(recurseIntoObjects: Boolean = true, recurseIntoArrays: Boolean = true, recurseIntoUnions: Boolean = true)

Types

Link copied to clipboard
data class Context(val nullable: Boolean = false, val path: List<String> = emptyList(), val changes: MutableSet<Meta.Change> = mutableSetOf())

Functions

Link copied to clipboard
open override fun map(value: AirbyteValue, schema: AirbyteType, changes: List<Meta.Change>): Pair<AirbyteValue, List<Meta.Change>>
Link copied to clipboard

Time types are only allowed to be strings on the wire, but can be Int/egerValue if passed through TimeStringToInteger.

Link copied to clipboard
fun nulledOut(schema: AirbyteType, context: AirbyteValueIdentityMapper.Context, reason: AirbyteRecordMessageMetaChange.Reason = Reason.DESTINATION_SERIALIZATION_ERROR): Pair<AirbyteValue, AirbyteValueIdentityMapper.Context>