AvroErasedName

case class AvroErasedName() extends AvroFieldReflection

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

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.

trait Serializable
trait Product
trait Equals
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any

Value members

Inherited methods

def getAllFields: Map[String, Any]
Inherited from
AvroFieldReflection
def productElementNames: Iterator[String]
Inherited from
Product
def productIterator: Iterator[Any]
Inherited from
Product