FailOnAllUnknownTypesExceptNull

Intended for Avro and Parquet Conversions and similar use cases.

The contract is to serialize the values of schemaless and unknown types to a json string.

Because there is no JsonBlob AirbyteType, we leave the types as-is and just serialize them. It is expected that the serializer will know to expect strings for each type.

This means there's no need for a type mapper, unless you also want to support some subset of the Unknown types.

For example, FailOnAllUnknownTypesExceptNull is used to add support for { "type": "null" }

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun map(schema: AirbyteType): AirbyteType
Link copied to clipboard
open fun mapArray(schema: ArrayType): AirbyteType
Link copied to clipboard
Link copied to clipboard
open fun mapDate(schema: DateType): AirbyteType
Link copied to clipboard
open fun mapField(field: FieldType): FieldType
Link copied to clipboard
Link copied to clipboard
open fun mapNumber(schema: NumberType): AirbyteType
Link copied to clipboard
open fun mapObject(schema: ObjectType): AirbyteType
Link copied to clipboard
open fun mapString(schema: StringType): AirbyteType
Link copied to clipboard
open fun mapUnion(schema: UnionType): AirbyteType
Link copied to clipboard
open override fun mapUnknown(schema: UnknownType): UnknownType