InstantEncoder

object InstantEncoder extends TemporalWithLogicalTypeEncoder[Instant]
class TemporalWithLogicalTypeEncoder[Instant]
trait Encoder[Instant]
class Object
trait Matchable
class Any

Value members

Concrete methods

def epochMillis(temporal: Instant): Long
def epochSeconds(temporal: Instant): Long
def nanos(temporal: Instant): Long

Inherited methods

final def contramap[U](f: U => Instant): 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
override def encode(schema: Schema): Instant => Any
Definition Classes
TemporalWithLogicalTypeEncoder -> Encoder
Inherited from
TemporalWithLogicalTypeEncoder