Provides a schema, along with encoding and decoding functions for a given type.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
Members list
Type members
Types
The Java type that this codec will encode to. The resulting value will in turn be converted to a binary or JSON-based Avro format by the underlying Avro SDK.
The Java type that this codec will encode to. The resulting value will in turn be converted to a binary or JSON-based Avro format by the underlying Avro SDK.
This type is of interest mainly because it determines what Avro type the data will ultimately be encoded to; therefore, we express it using type aliases named according to the Avro type they represent.
Attributes
The Java type that this codec will encode to. The resulting value will in turn be converted to a binary or JSON-based Avro format by the underlying Avro SDK.
The Java type that this codec will encode to. The resulting value will in turn be converted to a binary or JSON-based Avro format by the underlying Avro SDK.
This type is of interest mainly because it determines what Avro type the data will ultimately be encoded to; therefore, we express it using type aliases named according to the Avro type they represent.
Attributes
Value members
Abstract methods
Attempts to decode the specified value using the provided schema.
Attempts to decode the specified value using the provided schema.
Attributes
Attempts to decode the specified value using the provided schema.
Attempts to decode the specified value using the provided schema.
Attributes
Attempts to encode the specified value using the provided schema.
Attempts to encode the specified value using the provided schema.
Attributes
Attempts to encode the specified value using the provided schema.
Attempts to encode the specified value using the provided schema.
Attributes
The schema or an error if the schema could not be generated.
The schema or an error if the schema could not be generated.
Attributes
Concrete methods
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Similar to Codec#imap, except the mapping from A
to B
might be unsuccessful.
Attributes
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Similar to Codec#imap, except the mapping from A
to B
might be unsuccessful.
Attributes
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Similar to Codec#imap, except the mapping from A
to B
might be unsuccessful.
Attributes
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Returns a new Codec which uses this Codec for encoding and decoding, mapping back-and-forth between types A
and B
.
Similar to Codec#imap, except the mapping from A
to B
might be unsuccessful.
Attributes
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