trait SeqShapedRowDecoder[Repr] extends RowDecoder[Repr]
- Alphabetic
- By Inheritance
- SeqShapedRowDecoder
- RowDecoderF
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Abstract Value Members
- abstract def apply(row: RowF[NoneF, Nothing]): DecoderResult[Repr]
- Definition Classes
- RowDecoderF
Concrete 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
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def either[B](cd: RowDecoderF[NoneF, B, Nothing]): RowDecoderF[NoneF, Either[Repr, B], Nothing]
Similar to or, but return the result as an Either signaling which row decoder succeeded.
Similar to or, but return the result as an Either signaling which row decoder succeeded. Allows for parsing an unrelated type in case of failure.
- B
the type the alternative decoder returns
- cd
the alternative decoder
- returns
a decoder combining both decoders
- Definition Classes
- RowDecoderF
- def emap[T2](f: (Repr) => DecoderResult[T2]): RowDecoderF[NoneF, T2, Nothing]
Map the parsed value, potentially failing.
Map the parsed value, potentially failing.
- T2
the result type
- f
the mapping function
- returns
a row decoder reading the mapped type
- Definition Classes
- RowDecoderF
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def flatMap[T2](f: (Repr) => RowDecoderF[NoneF, T2, Nothing]): RowDecoderF[NoneF, T2, Nothing]
Map the parsed value to a new decoder, which in turn will be applied to the parsed value.
Map the parsed value to a new decoder, which in turn will be applied to the parsed value.
- T2
the result type
- f
the mapping function
- returns
a row decoder reading the mapped type
- Definition Classes
- RowDecoderF
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def map[T2](f: (Repr) => T2): RowDecoderF[NoneF, T2, Nothing]
Map the parsed value.
Map the parsed value.
- T2
the result type
- f
the mapping function
- returns
a row decoder reading the mapped type
- Definition Classes
- RowDecoderF
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def or[TT >: Repr](cd: => RowDecoderF[NoneF, TT, Nothing]): RowDecoderF[NoneF, TT, Nothing]
Fail-over.
Fail-over. If this decoder fails, try the supplied other decoder.
- TT
the return type
- cd
the fail-over decoder
- returns
a decoder combining this and the other decoder
- Definition Classes
- RowDecoderF
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toString(): String
- Definition Classes
- AnyRef → Any
- 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()