io.github.quafadas.scautable
Members list
Type members
Classlikes
Exception thrown when there are issues with Excel table structure
Exception thrown when there are issues with Excel table structure
Attributes
- Supertypes
-
class Exceptionclass Throwabletrait Serializableclass Objecttrait Matchableclass AnyShow all
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
Main Excel API object providing transparent inline methods for reading Excel files
Main Excel API object providing transparent inline methods for reading Excel files
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
Excel.type
Excel-specific decoders that can handle numeric strings like "1.0" These decoders are designed to work with Excel's tendency to format integers as doubles (e.g., "1.0" instead of "1")
Excel-specific decoders that can handle numeric strings like "1.0" These decoders are designed to work with Excel's tendency to format integers as doubles (e.g., "1.0" instead of "1")
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExcelDecoders.type
Iterator for reading Excel files with compile-time type safety
Iterator for reading Excel files with compile-time type safety
Type parameters
- K
-
Tuple type representing column names
- V
-
Tuple type representing column value types
Value parameters
- colRange
-
Optional cell range specification (e.g., "A1:C10")
- decoder
-
Row decoder for converting string data to typed tuples
- filePath
-
Path to the Excel file
- sheetName
-
Name of the Excel sheet to read
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
Compile-time macro functions for reading val initial = ColumnTypeInfo() val finalInfo = cells.foldLeft(initial)(updateTypeInfo) files These macros perform Excel file inspection at compile time to determine structure
Compile-time macro functions for reading val initial = ColumnTypeInfo() val finalInfo = cells.foldLeft(initial)(updateTypeInfo) files These macros perform Excel file inspection at compile time to determine structure
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExcelMacros.type
Utility object for managing Excel workbook resources and lifecycle
Utility object for managing Excel workbook resources and lifecycle
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExcelResourceManager.type
Common utilities and exceptions for Excel processing
Common utilities and exceptions for Excel processing
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExcelUtils.type
Thread-safe cache for Excel workbook instances to avoid file contention and improve performance.
Thread-safe cache for Excel workbook instances to avoid file contention and improve performance.
This cache uses weak references to allow workbooks to be garbage collected when no longer needed, while providing significant performance improvements when multiple operations access the same Excel file.
Attributes
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
ExcelWorkbookCache.type
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