HeaderOptions

io.github.quafadas.scautable.HeaderOptions
See theHeaderOptions companion enum
object HeaderOptions

Companion object for HeaderOptions.

Attributes

Companion
enum
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Classlikes

object given_FromExpr_HeaderOptions extends FromExpr[HeaderOptions]

Attributes

Supertypes
trait FromExpr[HeaderOptions]
class Object
trait Matchable
class Any
Self type

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Concrete methods

inline def Default: HeaderOptions

Default header option that reads headers from the first row.

Default header option that reads headers from the first row.

Equivalent to HeaderOptions.FromRows(merge = 1, dropFirst = 0).

Attributes

Extensions

Extensions

extension (rows: Iterator[String])
def headers(headers: HeaderOptions): (Seq[String], Iterator[String])

Process data rows according to the specified header option.

Process data rows according to the specified header option.

Value parameters

headers

The header option to apply

Attributes

Returns

A tuple containing (the extracted headers, the remaining rows)