AvroAnnotations

class Object
trait Matchable
class Any

Type members

Classlikes

object BytesType
Companion:
class
sealed trait BytesType
Companion:
object
Companion:
class
sealed trait DecimalType
Companion:
object
Companion:
class
sealed trait FieldOrderType
Companion:
object
Companion:
class
sealed trait TimePrecisionType
Companion:
object
final case class aliases(aliases: Set[String]) extends StaticAnnotation
final case class avroEnum() extends StaticAnnotation
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)

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)

final case class doc(doc: String) extends StaticAnnotation
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

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

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.

final case class name(name: String) extends StaticAnnotation
final case class namespace(namespace: String) extends StaticAnnotation
final case class precision(precision: Int) extends StaticAnnotation
final case class scale(scale: Int) extends StaticAnnotation
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