AvroErasedName

com.sksamuel.avro4s.AvroErasedName
case class AvroErasedName() extends AvroFieldReflection

This annotation is used to disable generics in the encoding of a record's name.

Normally, the record name for a generic type is the name of the raw type, plus the actual type parameters. For example, a class Foo with type parameters Int and Boolean, would have a generated name of Foo__Int_Boolean

When this annotation is present on a type, the name used in the schema will simply be the raw type, eg Foo.

Attributes

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

Members list

Value members

Inherited methods

def getAllFields: Map[String, Any]

Attributes

Inherited from:
AvroFieldReflection
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product