Describes how a cell can be decoded to the given type.
CellDecoder
provides convenient methods such as map
, emap
, or flatMap
to build new decoders out of more
basic one.
Actually, CellDecoder
has a https://typelevel.org/cats/api/cats/MonadError.htmlcats`MonadError` instance. To
get the full power of it, import cats.syntax.all._
.
Attributes
- Companion:
- object
- Source:
- CellDecoder.scala
- Graph
- Supertypes
Members list
Value members
Abstract methods
Attributes
- Source:
- CellDecoder.scala
Attributes
- Source:
- CellDecoder.scala
Attributes
- Source:
- CellDecoder.scala
Concrete methods
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
Attributes
- B
the type the alternative decoder returns
- cd
the alternative decoder
- Returns:
a decoder combining both decoders
- Source:
- CellDecoder.scala
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
Attributes
- B
the type the alternative decoder returns
- cd
the alternative decoder
- Returns:
a decoder combining both decoders
- Source:
- CellDecoder.scala
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
Similar to or, but return the result as an Either signaling which cell decoder succeeded. Allows for parsing an unrelated type in case of failure.
Attributes
- B
the type the alternative decoder returns
- cd
the alternative decoder
- Returns:
a decoder combining both decoders
- Source:
- CellDecoder.scala
Map the parsed value, potentially failing.
Map the parsed value, potentially failing.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
Map the parsed value, potentially failing.
Map the parsed value, potentially failing.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
Map the parsed value, potentially failing.
Map the parsed value, potentially failing.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
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.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
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.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
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.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
Map the parsed value.
Map the parsed value.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
Map the parsed value.
Map the parsed value.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
Map the parsed value.
Map the parsed value.
Attributes
- T2
the result type
- f
the mapping function
- Returns:
a cell decoder reading the mapped type
- Source:
- CellDecoder.scala
Fail-over. If this decoder fails, try the supplied other decoder.
Fail-over. If this decoder fails, try the supplied other decoder.
Attributes
- TT
the return type
- cd
the fail-over decoder
- Returns:
a decoder combining this and the other decoder
- Source:
- CellDecoder.scala
Fail-over. If this decoder fails, try the supplied other decoder.
Fail-over. If this decoder fails, try the supplied other decoder.
Attributes
- TT
the return type
- cd
the fail-over decoder
- Returns:
a decoder combining this and the other decoder
- Source:
- CellDecoder.scala
Fail-over. If this decoder fails, try the supplied other decoder.
Fail-over. If this decoder fails, try the supplied other decoder.
Attributes
- TT
the return type
- cd
the fail-over decoder
- Returns:
a decoder combining this and the other decoder
- Source:
- CellDecoder.scala