com.sksamuel.avro4s.Decoder
See theDecoder companion object
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.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object ArrayByteDecoderclass ArrayDecoder[T]trait BasicDecoder[T]object ByteBufferDecoderobject ByteStringDecoderobject CharSequenceDecoderobject FixedByteArrayDecoderobject GenericFixedStringDecoderclass MapDecoder[T]class OptionDecoder[T]class RecordDecoder[T]object StrictStringDecoderobject StringDecoderobject UTF8Decoderobject UTF8StringDecoderobject BigDecimalBytesDecoderobject BigDecimalFixedDecoderobject BigDecimalStringDecodertrait Codec[T]
- Self type
-
Decoder[T]
Members list
In this article