CsvIterator

io.github.quafadas.scautable.CSV.CsvIterator
class CsvIterator[K](filePath: String) extends Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Graph
Supertypes
trait Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]
trait IterableOnceOps[NamedTuple[K & Tuple, StringyTuple[K & Tuple]], Iterator, Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]]
trait IterableOnce[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]
class Object
trait Matchable
class Any
Show all

Members list

Type members

Inherited classlikes

class GroupedIterator[B >: A](self: Iterator[B], size: Int, step: Int)

Attributes

Inherited from:
Iterator
Supertypes
class AbstractIterator[Seq[B]]
trait Iterator[Seq[B]]
trait IterableOnceOps[Seq[B], Iterator, Iterator[Seq[B]]]
trait IterableOnce[Seq[B]]
class Object
trait Matchable
class Any
Show all

Types

type COLUMNS = K

Value members

Concrete methods

def getFilePath: String
inline override def hasNext: Boolean

Attributes

Definition Classes
Iterator
inline def headerIndex(s: String): Int
inline def headerIndex[S <: String & Singleton]: Int

Here be dragons, in Tuple Land, Tuple XXL is reversed, creating a discontinuity. Small tuples start at 1, big tuples start the other end.

Here be dragons, in Tuple Land, Tuple XXL is reversed, creating a discontinuity. Small tuples start at 1, big tuples start the other end.

Apparently fixed in 3.6.3

Attributes

inline override def next(): NamedTuple[K & Tuple, StringyTuple[K & Tuple]]

Attributes

Definition Classes
Iterator

Inherited methods

final def ++[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
final def addString(b: StringBuilder): b.type

Attributes

Inherited from:
IterableOnceOps
final def addString(b: StringBuilder, sep: String): b.type

Attributes

Inherited from:
IterableOnceOps
def addString(b: StringBuilder, start: String, sep: String, end: String): b.type

Attributes

Inherited from:
IterableOnceOps
def buffered: BufferedIterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def collect[B](pf: PartialFunction[NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B]): Iterator[B]

Attributes

Inherited from:
Iterator
def collectFirst[B](pf: PartialFunction[NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B]): Option[B]

Attributes

Inherited from:
IterableOnceOps
def concat[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](xs: => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def contains(elem: Any): Boolean

Attributes

Inherited from:
Iterator
def copyToArray[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](xs: Array[B], start: Int, len: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](xs: Array[B], start: Int): Int

Attributes

Inherited from:
IterableOnceOps
def copyToArray[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](xs: Array[B]): Int

Attributes

Inherited from:
IterableOnceOps
def corresponds[B](that: IterableOnce[B])(p: (NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B) => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def count(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Int

Attributes

Inherited from:
IterableOnceOps
def distinct: Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def distinctBy[B](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => B): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def drop(n: Int): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def dropWhile(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def duplicate: (Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]], Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]])

Attributes

Inherited from:
Iterator
def exists(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def filter(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def filterNot(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def find(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Option[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def flatMap[B](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def flatten[B](implicit ev: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => IterableOnce[B]): Iterator[B]

Attributes

Inherited from:
Iterator
def fold[A1 >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](z: A1)(op: (A1, A1) => A1): A1

Attributes

Inherited from:
IterableOnceOps
def foldLeft[B](z: B)(op: (B, NamedTuple[K & Tuple, StringyTuple[K & Tuple]]) => B): B

Attributes

Inherited from:
IterableOnceOps
def foldRight[B](z: B)(op: (NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B) => B): B

Attributes

Inherited from:
IterableOnceOps
def forall(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Boolean

Attributes

Inherited from:
IterableOnceOps
def foreach[U](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => U): Unit

Attributes

Inherited from:
IterableOnceOps
def grouped[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](size: Int): GroupedIterator[B]

Attributes

Inherited from:
Iterator
def indexOf[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](elem: B, from: Int): Int

Attributes

Inherited from:
Iterator
def indexOf[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](elem: B): Int

Attributes

Inherited from:
Iterator
def indexWhere(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean, from: Int): Int

Attributes

Inherited from:
Iterator
override def isEmpty: Boolean

Attributes

Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def isTraversableAgain: Boolean

Attributes

Inherited from:
IterableOnceOps
final def iterator: Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def knownSize: Int

Attributes

Inherited from:
IterableOnce
final def length: Int

Attributes

Inherited from:
Iterator
def map[B](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => B): Iterator[B]

Attributes

Inherited from:
Iterator
def max[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](implicit ord: Ordering[B]): NamedTuple[K & Tuple, StringyTuple[K & Tuple]]

Attributes

Inherited from:
IterableOnceOps
def maxBy[B](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => B)(implicit ord: Ordering[B]): NamedTuple[K & Tuple, StringyTuple[K & Tuple]]

Attributes

Inherited from:
IterableOnceOps
def maxByOption[B](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => B)(implicit ord: Ordering[B]): Option[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def maxOption[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](implicit ord: Ordering[B]): Option[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def min[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](implicit ord: Ordering[B]): NamedTuple[K & Tuple, StringyTuple[K & Tuple]]

Attributes

Inherited from:
IterableOnceOps
def minBy[B](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => B)(implicit ord: Ordering[B]): NamedTuple[K & Tuple, StringyTuple[K & Tuple]]

Attributes

Inherited from:
IterableOnceOps
def minByOption[B](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => B)(implicit ord: Ordering[B]): Option[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def minOption[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](implicit ord: Ordering[B]): Option[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
final def mkString: String

Attributes

Inherited from:
IterableOnceOps
final def mkString(sep: String): String

Attributes

Inherited from:
IterableOnceOps
final def mkString(start: String, sep: String, end: String): String

Attributes

Inherited from:
IterableOnceOps
def nextOption(): Option[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def nonEmpty: Boolean

Attributes

Inherited from:
IterableOnceOps
def padTo[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](len: Int, elem: B): Iterator[B]

Attributes

Inherited from:
Iterator
def partition(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): (Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]], Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]])

Attributes

Inherited from:
Iterator
def patch[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](from: Int, patchElems: Iterator[B], replaced: Int): Iterator[B]

Attributes

Inherited from:
Iterator
def product[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def reduce[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](op: (B, B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeft[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](op: (B, NamedTuple[K & Tuple, StringyTuple[K & Tuple]]) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceLeftOption[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](op: (B, NamedTuple[K & Tuple, StringyTuple[K & Tuple]]) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceOption[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](op: (B, B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
def reduceRight[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](op: (NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B) => B): B

Attributes

Inherited from:
IterableOnceOps
def reduceRightOption[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](op: (NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B) => B): Option[B]

Attributes

Inherited from:
IterableOnceOps
protected def reversed: Iterable[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def sameElements[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](that: IterableOnce[B]): Boolean

Attributes

Inherited from:
Iterator
def scanLeft[B](z: B)(op: (B, NamedTuple[K & Tuple, StringyTuple[K & Tuple]]) => B): Iterator[B]

Attributes

Inherited from:
Iterator
def size: Int

Attributes

Inherited from:
IterableOnceOps
def slice(from: Int, until: Int): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def sliding[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](size: Int, step: Int): GroupedIterator[B]

Attributes

Inherited from:
Iterator
def span(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): (Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]], Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]])

Attributes

Inherited from:
Iterator
def splitAt(n: Int): (Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]], Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]])

Attributes

Inherited from:
IterableOnceOps
def stepper[S <: Stepper[_]](implicit shape: StepperShape[NamedTuple[K & Tuple, StringyTuple[K & Tuple]], S]): S

Attributes

Inherited from:
IterableOnce
def sum[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](implicit num: Numeric[B]): B

Attributes

Inherited from:
IterableOnceOps
def take(n: Int): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def takeWhile(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
override def tapEach[U](f: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => U): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def to[C1](factory: Factory[NamedTuple[K & Tuple, StringyTuple[K & Tuple]], C1]): C1

Attributes

Inherited from:
IterableOnceOps
def toArray[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] : ClassTag]: Array[B]

Attributes

Inherited from:
IterableOnceOps
final def toBuffer[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]: Buffer[B]

Attributes

Inherited from:
IterableOnceOps
def toIndexedSeq: IndexedSeq[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def toList: List[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def toMap[K, V](implicit ev: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] <:< (K, V)): Map[K, V]

Attributes

Inherited from:
IterableOnceOps
def toSeq: Seq[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def toSet[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]: Set[B]

Attributes

Inherited from:
IterableOnceOps
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Iterator -> Any
Inherited from:
Iterator
def toVector: Vector[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
IterableOnceOps
def withFilter(p: NamedTuple[K & Tuple, StringyTuple[K & Tuple]] => Boolean): Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Inherited from:
Iterator
def zip[B](that: IterableOnce[B]): Iterator[(NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B)]

Attributes

Inherited from:
Iterator
def zipAll[A1 >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B](that: IterableOnce[B], thisElem: A1, thatElem: B): Iterator[(A1, B)]

Attributes

Inherited from:
Iterator
def zipWithIndex: Iterator[(NamedTuple[K & Tuple, StringyTuple[K & Tuple]], Int)]

Attributes

Inherited from:
Iterator

Deprecated and Inherited methods

final def /:[B](z: B)(op: (B, NamedTuple[K & Tuple, StringyTuple[K & Tuple]]) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldLeft instead of /:
Inherited from:
IterableOnceOps
final def :\[B](z: B)(op: (NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B) => B): B

Attributes

Deprecated
[Since version 2.13.0] Use foldRight instead of :\\
Inherited from:
IterableOnceOps
def aggregate[B](z: => B)(seqop: (B, NamedTuple[K & Tuple, StringyTuple[K & Tuple]]) => B, combop: (B, B) => B): B

Attributes

Deprecated
[Since version 2.13.0] For sequential collections, prefer `foldLeft(z)(seqop)`. For parallel collections, use `ParIterableLike#aggregate`.
Inherited from:
IterableOnceOps
final def copyToBuffer[B >: NamedTuple[K & Tuple, StringyTuple[K & Tuple]]](dest: Buffer[B]): Unit

Attributes

Deprecated
[Since version 2.13.0] Use `dest ++= coll` instead
Inherited from:
IterableOnceOps
final override def hasDefiniteSize: Boolean

Attributes

Deprecated
[Since version 2.13.0] hasDefiniteSize on Iterator is the same as isEmpty
Definition Classes
Iterator -> IterableOnceOps
Inherited from:
Iterator
def scanRight[B](z: B)(op: (NamedTuple[K & Tuple, StringyTuple[K & Tuple]], B) => B): Iterator[B]

Attributes

Deprecated
[Since version 2.13.0] Call scanRight on an Iterable instead.
Inherited from:
Iterator
def seq: Iterator.this.type

Attributes

Deprecated
[Since version 2.13.0] Iterator.seq always returns the iterator itself
Inherited from:
Iterator
final def toIterator: Iterator[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Deprecated
[Since version 2.13.0] Use .iterator instead of .toIterator
Inherited from:
IterableOnceOps
final def toStream: Stream[NamedTuple[K & Tuple, StringyTuple[K & Tuple]]]

Attributes

Deprecated
[Since version 2.13.0] Use .to(LazyList) instead of .toStream
Inherited from:
IterableOnceOps

Concrete fields

lazy val headers: List[String]
lazy val headersTuple: Tuple