ObjectType

data class ObjectType(val properties: LinkedHashMap<String, FieldType>, val additionalProperties: Boolean = true, val required: List<String> = emptyList<String>()) : AirbyteType

Constructors

Link copied to clipboard
constructor(properties: LinkedHashMap<String, FieldType>, additionalProperties: Boolean = true, required: List<String> = emptyList<String>())

Properties

Link copied to clipboard
Link copied to clipboard
open val isArray: Boolean = false
Link copied to clipboard
open override val isObject: Boolean = true
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun asColumns(): LinkedHashMap<String, FieldType>

Utility method for database/warehouse destinations, which assume that the top-level schema is an object.

Link copied to clipboard
Link copied to clipboard

This function exists so that our tests can easily mock a DestinationStream, while still getting a real value for unknownColumnChanges.

Link copied to clipboard