io.github.quafadas.scautable

Members list

Type members

Classlikes

object CSV

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
CSV.type
object ColumnTyped

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
object ConsoleFormat

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
case class ConversionAcc(validInts: Long, validDoubles: Long, validLongs: Long)

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
class CsvIterator[K <: Tuple](filePath: String) extends Iterator[NamedTuple[K, StringyTuple[K & Tuple]]]

A NamedTuple representation of a CSV file.

A NamedTuple representation of a CSV file.

It is a (lazy) iterator that reads a CSV file line by line and converts each line into a NamedTuple.

Attempting to use the iterator a second time will throw a StreamClosedException. Common usage

def csvIterator = CSV.resource("simple.csv")
val csvData = csvIterator.toSeq

Note that at this point, you are plugged right into the scala collections API.

csvData.filter(_.column("colA") == "foo").drop(10).take(5).map(_.column("colB"))

etc

Attributes

Supertypes
trait Iterator[NamedTuple[K, StringyTuple[K & Tuple]]]
trait IterableOnceOps[NamedTuple[K, StringyTuple[K & Tuple]], Iterator, Iterator[NamedTuple[K, StringyTuple[K & Tuple]]]]
trait IterableOnce[NamedTuple[K, StringyTuple[K & Tuple]]]
class Object
trait Matchable
class Any
Show all
object Excel

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
Excel.type
class ExcelIterator[K](filePath: String, sheetName: String, colRange: Option[String]) extends Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Supertypes
trait Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]
trait IterableOnceOps[NamedTuple[K & Tuple, StringyTuple[K & Tuple]], Iterator, Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]]
trait IterableOnce[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]
class Object
trait Matchable
class Any
Show all

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type

Attributes

Supertypes
class Object
trait Matchable
class Any
Known subtypes
object scautable
object scautable extends PlatformSpecific

This is a simple library to render a scala case class as an html table. It assumes the presence of a HtmlTableRender instance for each type in the case class.

This is a simple library to render a scala case class as an html table. It assumes the presence of a HtmlTableRender instance for each type in the case class.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
scautable.type

Value members

Concrete methods

def recommendConversion(acc: List[ConversionAcc], rowCount: Long): String