Packages

package types

Source
types.scala
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. types
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. class AvroType[T] extends Serializable

    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.

  2. class doc extends Annotation with StaticAnnotation

    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)
    Annotations
    @nowarn()

Value Members

  1. object AvroType extends Serializable

    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
  2. object ConverterUtil
  3. object SchemaUtil

    Utility for Avro schemas.

Inherited from AnyRef

Inherited from Any

Ungrouped