com.sksamuel.avro4s.decoders

Members list

Type members

Classlikes

object ArrayByteDecoder extends Decoder[Array[Byte]]

A Decoder for byte arrays that accepts any compatible type regardless of schema.

A Decoder for byte arrays that accepts any compatible type regardless of schema.

Attributes

Supertypes
trait Decoder[Array[Byte]]
class Object
trait Matchable
class Any
Self type
class ArrayDecoder[T](decoder: Decoder[T])(implicit evidence$1: ClassTag[T]) extends Decoder[Array[T]]

Attributes

Supertypes
trait Decoder[Array[T]]
class Object
trait Matchable
class Any
trait BasicDecoder[T] extends Decoder[T]

A BasicDecoder is one that does not require the Schema.

A BasicDecoder is one that does not require the Schema.

Attributes

Supertypes
trait Decoder[T]
class Object
trait Matchable
class Any
object ByteBufferDecoder extends Decoder[ByteBuffer]

Attributes

Supertypes
trait Decoder[ByteBuffer]
class Object
trait Matchable
class Any
Self type
trait ByteDecoders

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Decoder.type
object ByteStringDecoder extends Decoder[String]

A Decoder for Strings that decodes from ByteBuffers.

A Decoder for Strings that decodes from ByteBuffers.

Attributes

Supertypes
trait Decoder[String]
class Object
trait Matchable
class Any
Self type
object CharSequenceDecoder extends Decoder[CharSequence]

Attributes

Supertypes
trait Decoder[CharSequence]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Decoder.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Decoder.type
trait FieldDecoder[+T] extends Serializable

Attributes

Supertypes
trait Serializable
class Object
trait Matchable
class Any
Known subtypes
object FixedByteArrayDecoder extends Decoder[Array[Byte]]

A Strict Decoder for byte arays that only works if the schema is FIXED.

A Strict Decoder for byte arays that only works if the schema is FIXED.

Attributes

Supertypes
trait Decoder[Array[Byte]]
class Object
trait Matchable
class Any
Self type
object GenericFixedStringDecoder extends Decoder[String]

A Decoder for Strings that decodes from GenericFixeds.

A Decoder for Strings that decodes from GenericFixeds.

Attributes

Supertypes
trait Decoder[String]
class Object
trait Matchable
class Any
Self type
trait MagnoliaDerivedDecoder extends AutoDerivation[Decoder]

Attributes

Supertypes
trait AutoDerivation[Decoder]
trait Derivation[Decoder]
trait SealedTraitDerivation
trait CommonDerivation[Decoder]
class Object
trait Matchable
class Any
Show all
Known subtypes
object Decoder.type
class MapDecoder[T](decoder: Decoder[T]) extends Decoder[Map[String, T]]

Attributes

Supertypes
trait Decoder[Map[String, T]]
class Object
trait Matchable
class Any
class OptionDecoder[T](decoder: Decoder[T]) extends Decoder[Option[T]]

Attributes

Supertypes
trait Decoder[Option[T]]
class Object
trait Matchable
class Any

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Decoder.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Decoder.type
class RecordDecoder[T](ctx: CaseClass[Decoder, T]) extends Decoder[T]

Attributes

Supertypes
trait Decoder[T]
class Object
trait Matchable
class Any
class SchemaFieldDecoder[T](param: Param[Decoder, T], schema: Schema) extends FieldDecoder[T]

Decodes normal fields based on the schema.

Decodes normal fields based on the schema.

Attributes

Supertypes
trait FieldDecoder[T]
trait Serializable
class Object
trait Matchable
class Any
object SealedTraits

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object StrictStringDecoder extends Decoder[String]

Attributes

Supertypes
trait Decoder[String]
class Object
trait Matchable
class Any
Self type
object StringDecoder extends Decoder[String]

A Decoder for Strings that pattern matches on the incoming type to decode.

A Decoder for Strings that pattern matches on the incoming type to decode.

The schema is not used, meaning this decoder is forgiving of types that do not conform to the schema, but are nevertheless useable.

Attributes

Supertypes
trait Decoder[String]
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Decoder.type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Decoder.type
object TransientFieldDecoder extends FieldDecoder[Nothing]

Fields marked with @AvroTransient are always decoded as None's.

Fields marked with @AvroTransient are always decoded as None's.

Attributes

Supertypes
trait FieldDecoder[Nothing]
trait Serializable
class Object
trait Matchable
class Any
Self type
object TypeUnions

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
TypeUnions.type
object UTF8Decoder extends Decoder[Utf8]

A Decoder for UTF8 that pattern matches on the incoming type to decode.

A Decoder for UTF8 that pattern matches on the incoming type to decode.

The schema is not used, meaning this decoder is forgiving of types that do not conform to the schema, but are nevertheless useable.

Attributes

Supertypes
trait Decoder[Utf8]
class Object
trait Matchable
class Any
Self type
object UTF8StringDecoder extends Decoder[String]

A Decoder for Strings that decodes from avro's Utf8s.

A Decoder for Strings that decodes from avro's Utf8s.

Attributes

Supertypes
trait Decoder[String]
class Object
trait Matchable
class Any
Self type