Package-level declarations
Types
Utility class to coerce AirbyteValue to specific types. Does not support recursive coercion.
A mapper which coerces ALL values against the schema. This mapper MUST NOT be called after any mapper that returns non-native-JSON types (date, timestamp, etc.), or any mapper that causes the values to become misaligned with the schema (e.g. AirbyteSchemaNoopMapper + SchemalessValuesToJsonString).
An optimized identity mapper that just passes through.
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.
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.
Convenience class for testing.
Represents an "enriched" (/augmented) Airbyte value with additional metadata.
Intended for Avro and Parquet Conversions and similar use cases.
Mapper for nulling out integers that are out of range. The default behavior is to null out integers that are outside the range of a 64-bit signed integer.
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.
NOTE: To keep parity with the old avro/parquet code, we will always first try to parse the value as with timezone, then fall back to without. But in theory we should be more strict.