Tuple2Encoder

class Tuple2Encoder[A, B](a: Encoder[A], b: Encoder[B]) extends Encoder[(A, B)]
trait Encoder[(A, B)]
class Object
trait Matchable
class Any

Value members

Concrete methods

override def encode(schema: Schema): (A, B) => Any
Definition Classes

Inherited methods

final def contramap[U](f: U => (A, B)): Encoder[U]

Returns an [[Encoder[U]] by applying a function that maps a U to an T, before encoding as an T using this encoder.

Returns an [[Encoder[U]] by applying a function that maps a U to an T, before encoding as an T using this encoder.

Inherited from
Encoder