FlatFileRowHeaders

fm.flatfile.FlatFileRowHeaders
See theFlatFileRowHeaders companion object
final case class FlatFileRowHeaders(headers: IndexedSeq[String])

Attributes

Companion:
object
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

final def colIndexForKey(key: String): Int

Returns the column index (if any) for a key.

Returns the column index (if any) for a key.

If the key is a duplicate header then a FlatFileReaderException.DuplicateHeaders exception is throw.

Attributes

final def equalsNormalized(other: FlatFileRowHeaders): Boolean
final def equalsNormalized(other: IndexedSeq[String]): Boolean
final def getColIndexForKey(key: String): Option[Int]

Returns the column index (if any) for a key.

Returns the column index (if any) for a key.

If the key is a duplicate header then a FlatFileReaderException.DuplicateHeaders exception is throw.

Attributes

final def hasColIndexForKey(key: String): Boolean

Is there a column for this key?

Is there a column for this key?

Note: duplicate columns (-1, FlatFileReaderException.DuplicateHeaders) return false

Attributes

final def length: Int

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product