A Decoder is used to convert an Avro value, such as a GenericRecord, SpecificRecord, GenericFixed, EnumSymbol, or a basic type, into a specified Scala type.
A Decoder is used to convert an Avro value, such as a GenericRecord, SpecificRecord, GenericFixed, EnumSymbol, or a basic type, into a specified Scala type.
For example, a Decoder[String] would convert an input into a plain Java String.
Another example, a decoder for Option[String] would handle inputs of null by emitting a None, and a non-null input by emitting a String wrapped in a Some.
- Companion
- object
class Object
trait Matchable
class Any
object BigDecimalBytesDecoder
object BigDecimalFixedDecoder
object BigDecimalStringDecoder
trait Codec[T]
object ArrayByteDecoder
class ArrayDecoder[T]
trait BasicDecoder[T]
object ByteBufferDecoder
object ByteStringDecoder
object CharSequenceDecoder
object FixedByteArrayDecoder
object GenericFixedStringDecoder
class MapDecoder[T]
class OptionDecoder[T]
class RecordDecoder[T]
object StrictStringDecoder
object StringDecoder
object UTF8Decoder
object UTF8StringDecoder