StringDecoding

Decoding of Series of strings to specific types.

Since

0.1.0

class Object
trait Matchable
class Any

Type members

Types

type StringDecoder = Series[String] => Try[Series[_]]
Since

0.1.0

Value members

Concrete methods

def autoDecode(series: Series[String], decoders: Array[StringDecoder]): Series[Any]

Decodes Series of strings automatically by attempting to process strings with multiple decoders. If decoding fails for one row the next decoder in decoders is tried.

Decodes Series of strings automatically by attempting to process strings with multiple decoders. If decoding fails for one row the next decoder in decoders is tried.

Value Params
decoders

Array of decoders.

series

Series to decode.

Returns

Series of decoded type.

Since

0.1.0

def decodeDouble(series: Series[String]): Try[Series[Double]]
Since

0.1.0

def decodeFloat(series: Series[String]): Try[Series[Float]]
Since

0.1.0

def decodeInt(series: Series[String]): Try[Series[Int]]
Since

0.1.0

def decodeLocalDate(series: Series[String]): Try[Series[LocalDate]]
Since

0.1.0

def decodeLocalDateTime(series: Series[String]): Try[Series[LocalDateTime]]
Since

0.1.0

def decodeLocalTime(series: Series[String]): Try[Series[LocalTime]]
Since

0.1.0

def decodeLong(series: Series[String]): Try[Series[Long]]
Since

0.1.0

def decodeString(series: Series[String]): Try[Series[String]]
Since

0.1.0

def decodeZonedDateTime(series: Series[String]): Try[Series[ZonedDateTime]]
Since

0.1.0

Concrete fields

Default decoders (order defines priority).

Default decoders (order defines priority).

Since

0.1.0