vulcan
package vulcan
- Alphabetic
- Public
- All
Type Members
- final class AvroDoc extends Annotation with StaticAnnotation
Annotation which can be used to include documentation in derived schemas.
Annotation which can be used to include documentation in derived schemas.
The annotation can be used in the following situations.
- Annotate a type for enum documentation when using Codec.deriveEnum.
- Annotate a type for fixed documentation when using Codec.deriveFixed.
- Annotate acase class
for record documentation when usingCodec.derive
from the generic module.
- Annotate acase class
parameter for record field documentation when usingCodec.derive
from the generic module. - sealed abstract class AvroError extends AnyRef
Error which occurred while generating a schema, or while encoding or decoding.
Error which occurred while generating a schema, or while encoding or decoding.
Use AvroError.apply to create an instance, and AvroError#message to retrieve the message.
- sealed abstract class AvroException extends RuntimeException
Throwable
representation of an AvroError, created with AvroError#throwable. - final class AvroNamespace extends Annotation with StaticAnnotation
Annotation which can be used to set the namespace in derived schemas.
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 Codec.deriveEnum.
- Annotate a type for fixed namespace when using Codec.deriveFixed.
- Annotate acase class
for record namespace when usingCodec.derive
from the generic module. - sealed abstract class Codec[A] extends AnyRef
Provides a schema, along with encoding and decoding functions for a given type.
Provides a schema, along with encoding and decoding functions for a given type.
- Annotations
- @implicitNotFound("could not find implicit Codec[${A}]; ensure no imports are missing or manually define an instance")
- sealed abstract class Prism[S, A] extends AnyRef
Optic used for selecting a part of a coproduct type.
Optic used for selecting a part of a coproduct type.
- Annotations
- @implicitNotFound("could not find implicit Prism[${S}, ${A}]; ensure ${A} is a subtype of ${S} or manually define an instance")
- sealed abstract class Props extends AnyRef
Custom properties which can be included in a schema.