Header

info.fingo.spata.Header
See theHeader companion object
final class Header

CSV header with names of each field.

Header created through parsing process ensured to have no duplicate names. This guarantee is not held for user-created headers. Providing duplicates does not cause any erroneous conditions while accessing record data, however the values associated with duplicates will be not accessible by field name.

Value parameters

names

the sequence of names

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def apply(idx: Int): Option[String]

Safely get header element (single name).

Safely get header element (single name).

Value parameters

idx

index of retrieved name, starting from 0

Attributes

Returns

a string representing single header element (field name) or None if index is out of bounds.

override def toString: String

String representation of header

String representation of header

Attributes

Definition Classes
Any

Concrete fields

val size: Int

Size of header.

Size of header.

Attributes