AvroAnnotations

zio.schema.codec.AvroAnnotations

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object BytesType

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
BytesType.type
sealed trait BytesType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Bytes
class Fixed
object DecimalType

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait DecimalType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Bytes
class Fixed

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait FieldOrderType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Ascending
object Descending
object Ignore
Self type

Attributes

Companion
trait
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
sealed trait TimePrecisionType

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Micros
object Millis
final case class aliases(aliases: Set[String]) extends StaticAnnotation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class avroEnum() extends StaticAnnotation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class bytes(bytesType: BytesType) extends StaticAnnotation

Used to annotate a Bytes type to indicate the avro type encoding (avro bytes or avro fixed)

Used to annotate a Bytes type to indicate the avro type encoding (avro bytes or avro fixed)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class decimal(decimalType: DecimalType) extends StaticAnnotation

Used to annotate a BigInterger or BigDecimal type to indicate the logical type encoding (avro bytes or avro fixed)

Used to annotate a BigInterger or BigDecimal type to indicate the logical type encoding (avro bytes or avro fixed)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class doc(doc: String) extends StaticAnnotation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case object error extends StaticAnnotation

Used to annotate a record in order to render it as a avro error record

Used to annotate a record in order to render it as a avro error record

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
Self type
error.type
final case class fieldOrder(fieldOrderType: FieldOrderType) extends StaticAnnotation

Used to indicate the avro field order of a record

Used to indicate the avro field order of a record

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
case object formatToString extends StaticAnnotation

Used to annotate fields of type LocalDate, LocalTime, LocalDateTime or Instant in order to render them as a string using the given formatter instead of rendering them as avro logical types.

Used to annotate fields of type LocalDate, LocalTime, LocalDateTime or Instant in order to render them as a string using the given formatter instead of rendering them as avro logical types.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
Self type
final case class name(name: String) extends StaticAnnotation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class namespace(namespace: String) extends StaticAnnotation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class precision(precision: Int) extends StaticAnnotation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class scale(scale: Int) extends StaticAnnotation

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all
final case class timeprecision(timeprecisionType: TimePrecisionType) extends StaticAnnotation

Used to indicate the precision (millisecond precision or microsecond precision) of avro logical types 'Time', 'Timestamp' and 'Local timestamp'

Used to indicate the precision (millisecond precision or microsecond precision) of avro logical types 'Time', 'Timestamp' and 'Local timestamp'

Value parameters

timeprecisionType

the precision: either millisecond precision or microsecond precision

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any
Show all