AvroNamespace

vulcan.generic.AvroNamespace
final class AvroNamespace(val namespace: String) extends StaticAnnotation

Annotation which can be used to set the namespace in derived schemas.

The annotation can be used in the following situations.

  • Annotate a type for enum namespace when using deriveEnum.
  • Annotate a type for fixed namespace when using deriveFixed.
  • Annotate a case class for record namespace when using Codec.derive from the generic module.

Attributes

Graph
Supertypes
trait StaticAnnotation
class Annotation
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

final override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Any

Concrete fields

final val namespace: String