Class Name
A fully qualified schema name, which includes a namespace and an individual name.
class Name
;
Constructors
Name | Description |
---|---|
this
(name, namespace)
|
Creates a new Name using the provided namespace if the name does not have one. |
Methods
Name | Description |
---|---|
getFullname
()
|
The combined name and namespace of a schema. |
getName
()
|
The name of a schema without its namespace. |
getNamespace
()
|
The namespace of a schema. |
validateName
(name)
|
The name portion of a fullname, record field names, and enum symbols must: - start with \[A-Za-z_\] - subsequently contain only \[A-Za-z0-9_\] |
See Also
https://avro.apache.org/docs/current/spec.html#names