object Coder extends ScalaCoders with TupleCoders with JavaCoders with JodaCoders with BeamTypeCoders with ProtobufCoders with AlgebirdCoders with GuavaCoders with CoderDerivation with LowPriorityCoders with Serializable
- Source
- Coder.scala
- Alphabetic
- By Inheritance
- Coder
- Serializable
- LowPriorityCoders
- LowPriorityCoders1
- GuavaCoders
- AlgebirdCoders
- ProtobufCoders
- BeamTypeCoders
- JodaCoders
- JavaCoders
- JavaBeanCoders
- TupleCoders
- ScalaCoders
- CoderDerivation
- CoderGrammar
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Type Members
- type Typeclass[T] = Coder[T]
- Definition Classes
- CoderDerivation
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def aggregate[T](implicit arg0: Coder[T]): Coder[Iterable[T]]
- Definition Classes
- CoderGrammar
- final def apply[T](implicit c: Coder[T]): Coder[T]
- Annotations
- @inline()
- implicit def arrayBufferCoder[T](implicit arg0: Coder[T]): Coder[ArrayBuffer[T]]
- Definition Classes
- ScalaCoders
- implicit def arrayByteCoder: Coder[Array[Byte]]
- Definition Classes
- ScalaCoders
- implicit def arrayCoder[T](implicit arg0: Coder[T], arg1: ClassTag[T]): Coder[Array[T]]
- Definition Classes
- ScalaCoders
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- implicit def batchedCoder[T]: Coder[Batched[T]]
- Definition Classes
- AlgebirdCoders
- def beam[T](beam: org.apache.beam.sdk.coders.Coder[T]): Coder[T]
- Definition Classes
- CoderGrammar
- implicit def beamKVCoder[K, V](implicit arg0: Coder[K], arg1: Coder[V]): Coder[KV[K, V]]
- Definition Classes
- BeamTypeCoders
- implicit def bfCoder[T]: Coder[BF[T]]
- Definition Classes
- AlgebirdCoders
- implicit lazy val bigDecimalCoder: Coder[BigDecimal]
- Definition Classes
- ScalaCoders
- implicit lazy val bigIntCoder: Coder[BigInt]
- Definition Classes
- ScalaCoders
- implicit lazy val bitSetCoder: Coder[BitSet]
- Definition Classes
- ScalaCoders
- implicit lazy val booleanCoder: Coder[Boolean]
- Definition Classes
- ScalaCoders
- implicit lazy val boundedWindowCoder: Coder[BoundedWindow]
- Definition Classes
- BeamTypeCoders
- implicit def bufferCoder[T](implicit arg0: Coder[T]): Coder[Buffer[T]]
- Definition Classes
- ScalaCoders
- implicit lazy val byteCoder: Coder[Byte]
- Definition Classes
- ScalaCoders
- implicit lazy val bytestringCoder: Coder[ByteString]
- Definition Classes
- ProtobufCoders
- implicit lazy val charCoder: Coder[Char]
- Definition Classes
- ScalaCoders
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- implicit def cmsCoder[T]: Coder[CMS[T]]
- Definition Classes
- AlgebirdCoders
- implicit def coderJEnum[E <: Enum[E]](implicit arg0: ClassTag[E]): Coder[E]
- Definition Classes
- JavaCoders
- def disjunction[T, Id](typeName: String, coder: Map[Id, Coder[T]])(id: (T) => Id)(implicit arg0: Coder[Id]): Coder[T]
- Definition Classes
- CoderGrammar
- implicit lazy val doubleCoder: Coder[Double]
- Definition Classes
- ScalaCoders
- implicit def eitherCoder[A, B](implicit arg0: Coder[A], arg1: Coder[B]): Coder[Either[A, B]]
- Definition Classes
- ScalaCoders
- implicit def enumerationCoder[E <: Enumeration](implicit arg0: ClassTag[E]): Coder[instances.ScalaCoders.enumerationCoder.E.Value]
- Definition Classes
- ScalaCoders
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- implicit def failureCoder[T]: Coder[Failure[T]]
- Definition Classes
- ScalaCoders
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- implicit lazy val floatCoder: Coder[Float]
- Definition Classes
- ScalaCoders
- implicit macro def gen[T]: Coder[T]
- Definition Classes
- LowPriorityCoders
- implicit def genericJsonCoder[T <: GenericJson](implicit arg0: ClassTag[T]): Coder[T]
- Definition Classes
- BeamTypeCoders
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit lazy val globalWindowCoder: Coder[GlobalWindow]
- Definition Classes
- BeamTypeCoders
- implicit def guavaBFCoder[T](implicit x: Funnel[_ >: T]): Coder[BloomFilter[T]]
- Definition Classes
- GuavaCoders
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- implicit lazy val instantCoder: Coder[Instant]
- Definition Classes
- JodaCoders
- implicit lazy val intCoder: Coder[Int]
- Definition Classes
- ScalaCoders
- implicit lazy val intervalWindowCoder: Coder[IntervalWindow]
- Definition Classes
- BeamTypeCoders
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- implicit def iterableCoder[T](implicit arg0: Coder[T]): Coder[Iterable[T]]
- Definition Classes
- ScalaCoders
- implicit def iterableOnceCoder[T](implicit arg0: Coder[T]): Coder[IterableOnce[T]]
- Definition Classes
- ScalaCoders
- implicit def jArrayListCoder[T](implicit c: Coder[T]): Coder[ArrayList[T]]
- Definition Classes
- JavaCoders
- implicit lazy val jBigDecimalCoder: Coder[BigDecimal]
- Definition Classes
- JavaCoders
- implicit lazy val jBigIntegerCoder: Coder[BigInteger]
- Definition Classes
- JavaCoders
- implicit lazy val jBitSetCoder: Coder[BitSet]
- Definition Classes
- JavaCoders
- implicit lazy val jBooleanCoder: Coder[Boolean]
- Definition Classes
- JavaCoders
- implicit lazy val jByteCoder: Coder[Byte]
- Definition Classes
- JavaCoders
- implicit lazy val jDoubleCoder: Coder[Double]
- Definition Classes
- JavaCoders
- implicit lazy val jDurationCoder: Coder[Duration]
- Definition Classes
- JavaCoders
- implicit lazy val jFloatCoder: Coder[Float]
- Definition Classes
- JavaCoders
- implicit lazy val jInstantCoder: Coder[Instant]
- Definition Classes
- JavaCoders
- implicit lazy val jIntegerCoder: Coder[Integer]
- Definition Classes
- JavaCoders
- implicit def jIterableCoder[T](implicit c: Coder[T]): Coder[Iterable[T]]
- Definition Classes
- JavaCoders
- implicit def jListCoder[T](implicit c: Coder[T]): Coder[List[T]]
- Definition Classes
- JavaCoders
- implicit lazy val jLocalDateCoder: Coder[LocalDate]
- Definition Classes
- JavaCoders
- implicit lazy val jLocalDateTimeCoder: Coder[LocalDateTime]
- Definition Classes
- JavaCoders
- implicit lazy val jLocalTimeCoder: Coder[LocalTime]
- Definition Classes
- JavaCoders
- implicit lazy val jLongCoder: Coder[Long]
- Definition Classes
- JavaCoders
- implicit def jMapCoder[K, V](implicit ck: Coder[K], cv: Coder[V]): Coder[Map[K, V]]
- Definition Classes
- JavaCoders
- implicit lazy val jPeriodCoder: Coder[Period]
- Definition Classes
- JavaCoders
- implicit lazy val jShortCoder: Coder[Short]
- Definition Classes
- JavaCoders
- implicit lazy val jSqlDate: Coder[Date]
- Definition Classes
- JavaCoders
- implicit lazy val jSqlTime: Coder[Time]
- Definition Classes
- JavaCoders
- implicit lazy val jSqlTimestamp: Coder[Timestamp]
- Definition Classes
- JavaCoders
- implicit def jTryCoder[A](implicit c: Coder[A]): Coder[Try[A]]
- Definition Classes
- JavaCoders
- implicit def javaBeanCoder[T](implicit arg0: IsJavaBean[T], arg1: ClassTag[T]): Coder[T]
- Definition Classes
- LowPriorityCoders1
- implicit lazy val jodaDateTimeCoder: Coder[DateTime]
- Definition Classes
- JodaCoders
- implicit lazy val jodaDurationCoder: Coder[Duration]
- Definition Classes
- JodaCoders
- implicit lazy val jodaLocalDateCoder: Coder[LocalDate]
- Definition Classes
- JodaCoders
- implicit lazy val jodaLocalDateTimeCoder: Coder[LocalDateTime]
- Definition Classes
- JodaCoders
- implicit lazy val jodaLocalTimeCoder: Coder[LocalTime]
- Definition Classes
- JodaCoders
- def join[T](ctx: CaseClass[Coder, T])(implicit arg0: ClassTag[T]): Coder[T]
- Definition Classes
- CoderDerivation
- def kryo[T](implicit ct: ClassTag[T]): Coder[T]
Create an instance of Kryo Coder for a given Type.
Create an instance of Kryo Coder for a given Type.
Eg: A kryo Coder for org.joda.time.Interval would look like:
implicit def jiKryo: Coder[Interval] = Coder.kryo[Interval]
- Definition Classes
- CoderGrammar
- def kv[K, V](koder: Coder[K], voder: Coder[V]): Coder[KV[K, V]]
- Definition Classes
- CoderGrammar
- implicit def leftCoder[A, B](implicit arg0: Coder[A]): Coder[Left[A, B]]
- Definition Classes
- ScalaCoders
- implicit def listBufferCoder[T](implicit arg0: Coder[T]): Coder[ListBuffer[T]]
- Definition Classes
- ScalaCoders
- implicit def listCoder[T](implicit arg0: Coder[T]): Coder[List[T]]
- Definition Classes
- ScalaCoders
- implicit lazy val longCoder: Coder[Long]
- Definition Classes
- ScalaCoders
- implicit def mapCoder[K, V](implicit arg0: Coder[K], arg1: Coder[V]): Coder[Map[K, V]]
- Definition Classes
- ScalaCoders
- implicit lazy val matchResultMetadataCoder: Coder[Metadata]
- Definition Classes
- BeamTypeCoders
- implicit lazy val momentsCoder: Coder[Moments]
- Definition Classes
- AlgebirdCoders
- implicit def mutableMapCoder[K, V](implicit arg0: Coder[K], arg1: Coder[V]): Coder[Map[K, V]]
- Definition Classes
- ScalaCoders
- implicit def mutableSetCoder[T](implicit arg0: Coder[T]): Coder[Set[T]]
- Definition Classes
- ScalaCoders
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- implicit lazy val noneCoder: Coder[None.type]
- Definition Classes
- ScalaCoders
- implicit lazy val nothingCoder: Coder[Nothing]
- Definition Classes
- ScalaCoders
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- implicit def optionCoder[T](implicit arg0: Coder[T]): Coder[Option[T]]
- Definition Classes
- ScalaCoders
- implicit lazy val paneInfoCoder: Coder[PaneInfo]
- Definition Classes
- BeamTypeCoders
- implicit lazy val pathCoder: Coder[Path]
- Definition Classes
- JavaCoders
- implicit def priorityQueueCoder[T](implicit arg0: Coder[T], arg1: Ordering[T]): Coder[PriorityQueue[T]]
- Definition Classes
- ScalaCoders
- implicit def protoMessageCoder[T <: Message](implicit arg0: ClassTag[T]): Coder[T]
- Definition Classes
- ProtobufCoders
- def raw[T](beam: org.apache.beam.sdk.coders.Coder[T]): Coder[T]
Create a ScioCoder from a Beam Coder
Create a ScioCoder from a Beam Coder
- Definition Classes
- CoderGrammar
- implicit lazy val readableFileCoder: Coder[ReadableFile]
- Definition Classes
- BeamTypeCoders
- implicit lazy val resourceIdCoder: Coder[ResourceId]
- Definition Classes
- BeamTypeCoders
- implicit def rightCoder[A, B](implicit arg0: Coder[B]): Coder[Right[A, B]]
- Definition Classes
- ScalaCoders
- def row(schema: Schema): Coder[Row]
- Definition Classes
- BeamTypeCoders
- implicit def seqCoder[T](implicit arg0: Coder[T]): Coder[Seq[T]]
- Definition Classes
- ScalaCoders
- implicit lazy val serializableCoder: Coder[Serializable]
- Definition Classes
- JavaCoders
- implicit def setCoder[T](implicit arg0: Coder[T]): Coder[Set[T]]
- Definition Classes
- ScalaCoders
- implicit lazy val shortCoder: Coder[Short]
- Definition Classes
- ScalaCoders
- implicit def someCoder[T](implicit arg0: Coder[T]): Coder[Some[T]]
- Definition Classes
- ScalaCoders
- implicit def sortedMapCoder[K, V](implicit arg0: Coder[K], arg1: Ordering[K], arg2: Coder[V]): Coder[SortedMap[K, V]]
- Definition Classes
- ScalaCoders
- implicit def sortedSetCoder[T](implicit arg0: Coder[T], arg1: Ordering[T]): Coder[SortedSet[T]]
- Definition Classes
- ScalaCoders
- def split[T](sealedTrait: SealedTrait[Coder, T]): Coder[T]
- Definition Classes
- CoderDerivation
- implicit lazy val stringCoder: Coder[String]
- Definition Classes
- ScalaCoders
- implicit def successCoder[T](implicit arg0: Coder[T]): Coder[Success[T]]
- Definition Classes
- ScalaCoders
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- implicit def throwableCoder[T <: Throwable](implicit arg0: ClassTag[T]): Coder[T]
- Definition Classes
- ScalaCoders
- def toString(): String
- Definition Classes
- AnyRef → Any
- implicit def topCmsCoder[T]: Coder[TopCMS[T]]
- Definition Classes
- AlgebirdCoders
- implicit def topKCoder[T]: Coder[TopK[T]]
- Definition Classes
- AlgebirdCoders
- def transform[U, T](c: Coder[U])(f: (org.apache.beam.sdk.coders.Coder[U]) => Coder[T])(implicit ct: ClassTag[T]): Coder[T]
- Definition Classes
- CoderGrammar
- implicit def tryCoder[T](implicit arg0: Coder[T]): Coder[Try[T]]
- Definition Classes
- ScalaCoders
- implicit def tuple10Coder[A, B, C, D, E, F, G, H, I, J](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J]): Coder[(A, B, C, D, E, F, G, H, I, J)]
- Definition Classes
- TupleCoders
- implicit def tuple11Coder[A, B, C, D, E, F, G, H, I, J, K](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K]): Coder[(A, B, C, D, E, F, G, H, I, J, K)]
- Definition Classes
- TupleCoders
- implicit def tuple12Coder[A, B, C, D, E, F, G, H, I, J, K, L](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L)]
- Definition Classes
- TupleCoders
- implicit def tuple13Coder[A, B, C, D, E, F, G, H, I, J, K, L, M](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M)]
- Definition Classes
- TupleCoders
- implicit def tuple14Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N)]
- Definition Classes
- TupleCoders
- implicit def tuple15Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O)]
- Definition Classes
- TupleCoders
- implicit def tuple16Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O], CP: Coder[P]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P)]
- Definition Classes
- TupleCoders
- implicit def tuple17Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O], CP: Coder[P], CQ: Coder[Q]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q)]
- Definition Classes
- TupleCoders
- implicit def tuple18Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O], CP: Coder[P], CQ: Coder[Q], CR: Coder[R]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R)]
- Definition Classes
- TupleCoders
- implicit def tuple19Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O], CP: Coder[P], CQ: Coder[Q], CR: Coder[R], CS: Coder[S]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S)]
- Definition Classes
- TupleCoders
- implicit def tuple20Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O], CP: Coder[P], CQ: Coder[Q], CR: Coder[R], CS: Coder[S], CT: Coder[T]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T)]
- Definition Classes
- TupleCoders
- implicit def tuple21Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O], CP: Coder[P], CQ: Coder[Q], CR: Coder[R], CS: Coder[S], CT: Coder[T], CU: Coder[U]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U)]
- Definition Classes
- TupleCoders
- implicit def tuple22Coder[A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I], CJ: Coder[J], CK: Coder[K], CL: Coder[L], CM: Coder[M], CN: Coder[N], CO: Coder[O], CP: Coder[P], CQ: Coder[Q], CR: Coder[R], CS: Coder[S], CT: Coder[T], CU: Coder[U], CV: Coder[V]): Coder[(A, B, C, D, E, F, G, H, I, J, K, L, M, N, O, P, Q, R, S, T, U, V)]
- Definition Classes
- TupleCoders
- implicit def tuple2Coder[A, B](implicit CA: Coder[A], CB: Coder[B]): Coder[(A, B)]
- Definition Classes
- TupleCoders
- implicit def tuple3Coder[A, B, C](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C]): Coder[(A, B, C)]
- Definition Classes
- TupleCoders
- implicit def tuple4Coder[A, B, C, D](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D]): Coder[(A, B, C, D)]
- Definition Classes
- TupleCoders
- implicit def tuple5Coder[A, B, C, D, E](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E]): Coder[(A, B, C, D, E)]
- Definition Classes
- TupleCoders
- implicit def tuple6Coder[A, B, C, D, E, F](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F]): Coder[(A, B, C, D, E, F)]
- Definition Classes
- TupleCoders
- implicit def tuple7Coder[A, B, C, D, E, F, G](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G]): Coder[(A, B, C, D, E, F, G)]
- Definition Classes
- TupleCoders
- implicit def tuple8Coder[A, B, C, D, E, F, G, H](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H]): Coder[(A, B, C, D, E, F, G, H)]
- Definition Classes
- TupleCoders
- implicit def tuple9Coder[A, B, C, D, E, F, G, H, I](implicit CA: Coder[A], CB: Coder[B], CC: Coder[C], CD: Coder[D], CE: Coder[E], CF: Coder[F], CG: Coder[G], CH: Coder[H], CI: Coder[I]): Coder[(A, B, C, D, E, F, G, H, I)]
- Definition Classes
- TupleCoders
- implicit lazy val unitCoder: Coder[Unit]
- Definition Classes
- ScalaCoders
- implicit lazy val uriCoder: Coder[URI]
- Definition Classes
- JavaCoders
- implicit lazy val uuidCoder: Coder[UUID]
- Definition Classes
- JavaCoders
- implicit def vectorCoder[T](implicit arg0: Coder[T]): Coder[Vector[T]]
- Definition Classes
- ScalaCoders
- implicit lazy val voidCoder: Coder[Void]
- Definition Classes
- JavaCoders
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- implicit def wrappedArrayCoder[T](implicit arg0: Coder[T], arg1: ClassTag[T], wrap: (Array[T]) => WrappedArray[T]): Coder[WrappedArray[T]]
- Definition Classes
- ScalaCoders
- def xmap[U, T](c: Coder[U])(f: (U) => T, t: (T) => U)(implicit ct: ClassTag[T]): Coder[T]
Given a Coder[A], create a Coder[B] by defining two functions A => B and B => A.
Given a Coder[A], create a Coder[B] by defining two functions A => B and B => A. The Coder[A] can be resolved implicitly by calling Coder[A]
Eg: Coder for org.joda.time.Interval can be defined by having the following implicit in scope. Without this implicit in scope Coder derivation falls back to Kryo.
implicit def jiCoder: Coder[Interval] = Coder.xmap(Coder[(Long, Long)])(t => new Interval(t._1, t._2), i => (i.getStartMillis, i.getEndMillis))
In the above example we implicitly derive Coder[(Long, Long)] and we define two functions, one to convert a tuple (Long, Long) to Interval, and a second one to convert an Interval to a tuple of (Long, Long)
- Definition Classes
- CoderGrammar