io.github.quafadas.scautable
Members list
Type members
Classlikes
Extension methods for writing NamedTuple collections to CSV format.
Extension methods for writing NamedTuple collections to CSV format.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
CSVWriterExtensions.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ColumnTyped.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ConsoleFormat.type
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, V]]trait IterableOnceOps[NamedTuple[K, V], Iterator, Iterator[NamedTuple[K, V]]]trait IterableOnce[NamedTuple[K, V]]class Objecttrait Matchableclass AnyShow all
Attributes
- Supertypes
-
trait IterableOnceOps[NamedTuple[K & Tuple, StringyTuple[K & Tuple]], Iterator, Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]]class Objecttrait Matchableclass AnyShow all
Options for handling headers in tabular data.
Options for handling headers in tabular data.
This enum provides different strategies for obtaining column headers when reading data from sources like CSV files or Excel spreadsheets.
Attributes
- Companion
- object
- Supertypes
-
trait Enumtrait Serializabletrait Producttrait Equalsclass Objecttrait Matchableclass AnyShow all
Companion object for HeaderOptions.
Companion object for HeaderOptions.
Attributes
- Companion
- enum
- Supertypes
-
trait Sumtrait Mirrorclass Objecttrait Matchableclass Any
- Self type
-
HeaderOptions.type
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 Objecttrait Matchableclass Any
- Self type
-
HtmlRenderer.type
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type