Type class for case class T
annotated for Avro IO.
Type class for case class T
annotated for Avro IO.
This decouples generated fields and methods from macro expansion to keep core macro free.
Case class and argument annotation to get Avro field and record docs.
Case class and argument annotation to get Avro field and record docs.
To be used with case class fields annotated with AvroType.toSchema, For example:
Example:
AvroType.toSchema @doc("User Record") case class User(@doc("user name") name: String, @doc("user age") age: Int)
Macro annotations and converter generators for Avro types.
Macro annotations and converter generators for Avro types.
The following table lists Avro types and their Scala counterparts.
Avro type Scala type BOOLEAN Boolean LONG Long INT Int DOUBLE Double FLOAT Float STRING, ENUM String BYTES com.google.protobuf.ByteString ARRAY List[T] MAP Map[String, T] UNION Option[T] RECORD Nested case class
Utility for Avro schemas.