Package-level declarations

Types

Link copied to clipboard
sealed class AirbyteType
Link copied to clipboard
sealed interface AirbyteValue
Link copied to clipboard

Utility class to coerce AirbyteValue to specific types. Does not support recursive coercion.

Link copied to clipboard
class AirbyteValueJsonlProxy(data: ObjectNode) : AirbyteValueProxy
Link copied to clipboard
class AirbyteValueProtobufProxy(data: List<AirbyteRecordMessage.AirbyteValueProtobuf>) : AirbyteValueProxy

Protobuf is sent as an ordered list of AirbyteValues. Coherent access depends on the source and destination agreeing on the schema. Currently, this is alphabetical order by field name, as constraints on the socket implementation guarantee that source and destination will always see the same schema. Eventually this order needs to be set by the source with a header message.

Link copied to clipboard

Provides a universal view over raw data, agnostic of the serialization format. Fields are accessed with accessors that contain name, index, and type. The type indicates with method should be used.

Link copied to clipboard

Convenience class for testing.

Link copied to clipboard
data class ArrayType(val items: FieldType) : AirbyteType
Link copied to clipboard
Link copied to clipboard
value class ArrayValue(val values: List<AirbyteValue>) : AirbyteValue
Link copied to clipboard
data object BooleanType : AirbyteType
Link copied to clipboard
Link copied to clipboard
data object DateType : AirbyteType
Link copied to clipboard
Link copied to clipboard
class EnrichedAirbyteValue(var abValue: AirbyteValue, val type: AirbyteType, val name: String, val changes: MutableList<Meta.Change> = mutableListOf(), val airbyteMetaField: Meta.AirbyteMetaFields?)

Represents an "enriched" (/augmented) Airbyte value with additional metadata.

Link copied to clipboard
data class FieldType(val type: AirbyteType, val nullable: Boolean)
Link copied to clipboard
data object IntegerType : AirbyteType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data object NumberType : AirbyteType
Link copied to clipboard
Link copied to clipboard
data class ObjectType(val properties: LinkedHashMap<String, FieldType>, val additionalProperties: Boolean = true, val required: List<String> = emptyList<String>()) : AirbyteType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class ProtobufTypeMismatchException(val streamName: String, val columnName: String, val expectedType: AirbyteType, val actualValueCase: AirbyteRecordMessage.AirbyteValueProtobuf.ValueCase) : RuntimeException

Exception thrown when a protobuf value type doesn't match the expected AirbyteType. This indicates that the source connector is using the wrong protobuf setter method for the declared schema type.

Link copied to clipboard
data object StringType : AirbyteType
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class UnionType(val options: Set<AirbyteType>, val isLegacyUnion: Boolean) : AirbyteType
Link copied to clipboard
data class UnknownType(val schema: JsonNode) : AirbyteType

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard