FloatCodec
Attributes
- Graph
-
- Supertypes
-
trait Singletontrait Producttrait Mirrortrait Serializabletrait Producttrait Equalsclass Codec[Float]class Objecttrait Matchableclass AnyShow all
- Self type
-
FloatCodec.type
Members list
Type members
Inherited 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
- Inherited from:
- WithValidSchema (hidden)
The names of the product elements
The names of the product elements
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
The name of the type
The name of the type
Attributes
- Inherited from:
- Mirror
The mirrored *-type
The mirrored *-type
Attributes
- Inherited from:
- Singleton
Attributes
- Inherited from:
- Singleton
Value members
Concrete methods
Attempts to decode the specified value using the provided schema.
Attempts to decode the specified value using the provided schema.
Attributes
- Definition Classes
Attempts to encode the specified value using the provided schema.
Attempts to encode the specified value using the provided schema.
Attributes
- Definition Classes
Attributes
- Definition Classes
-
WithValidSchema
Inherited methods
Create a new instance of type T
with elements taken from product p
.
Create a new instance of type T
with elements taken from product p
.
Attributes
- Inherited from:
- Singleton
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
- Inherited from:
- Codec
Attributes
- Definition Classes
-
WithValidSchema -> Codec
- Inherited from:
- WithValidSchema (hidden)
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
- Inherited from:
- Codec
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
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
- Definition Classes
-
WithValidSchema -> Codec
- Inherited from:
- WithValidSchema (hidden)