trait Table[Row] extends Iterable[Row]

A Table of Content.

Row

the type of each row.

Linear Supertypes
Iterable[Row], IterableFactoryDefaults[Row, Iterable], IterableOps[Row, Iterable, Iterable[Row]], IterableOnceOps[Row, Iterable, Iterable[Row]], IterableOnce[Row], AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Table
  2. Iterable
  3. IterableFactoryDefaults
  4. IterableOps
  5. IterableOnceOps
  6. IterableOnce
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Abstract Value Members

  1. abstract def column(name: String): Iterator[Option[String]]

    Method to get all the elements of a particular column.

    Method to get all the elements of a particular column.

    Complexity: N + C where N is the number of rows and C is the number of columns.

    name

    the column name.

    returns

    an Iterator of Option[String].

  2. abstract def content: Content[Row]

    Method to access the individual rows of this table.

    Method to access the individual rows of this table.

    returns

    the rows, in the same sequence in which they were parsed.

  3. abstract val maybeHeader: Option[Header]

    Optional value of the Header of this Table, if there is one.

  4. abstract def unit[S](ss: Iterable[S], maybeHeader: Option[Header]): Table[S]

    Method to generate a Table[S] for a set of rows.

    Method to generate a Table[S] for a set of rows. Although declared as an instance method, this method produces its result independent of this.

    S

    the underlying type of the rows and the result.

    ss

    a sequence of S.

    maybeHeader

    an optional Header to be used in the resulting Table.

    returns

    a new instance of Table[S].

  5. abstract def unit[S](sc: Content[S], maybeHeader: Option[Header]): Table[S]

    Method to generate a Table[S] for a set of rows.

    Method to generate a Table[S] for a set of rows. Although declared as an instance method, this method produces its result independent of this.

    S

    the underlying type of the rows and the result.

    sc

    a Content of S.

    maybeHeader

    an optional Header to be used in the resulting Table.

    returns

    a new instance of Table[S].

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. def ++[S >: Row](table: Table[S]): Table[S]

    Method to concatenate two Content

    Method to concatenate two Content

    S

    the type of the rows of the result.

    table

    a table to be concatenated with this table.

    returns

    a new table, which is concatenated to this table, by rows.

  4. final def ++[B >: Row](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. final def addString(b: StringBuilder): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  7. final def addString(b: StringBuilder, sep: String): b.type
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  8. def addString(b: StringBuilder, start: String, sep: String, end: String): b.type
    Definition Classes
    IterableOnceOps
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def className: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. final def coll: Table.this.type
    Attributes
    protected
    Definition Classes
    Iterable → IterableOps
  13. def collect[B](pf: PartialFunction[Row, B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  14. def collectFirst[B](pf: PartialFunction[Row, B]): Option[B]
    Definition Classes
    IterableOnceOps
  15. def concat[B >: Row](suffix: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
  16. def copyToArray[B >: Row](dest: Array[B], start: Int, n: Int): Int
    Definition Classes
    IterableOnceOps
  17. def copyToArray[B >: Row](dest: Array[B], start: Int): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  18. def copyToArray[B >: Row](dest: Array[B]): Int
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  19. def corresponds[B](that: IterableOnce[B])(p: (Row, B) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  20. def count(p: (Row) => Boolean): Int
    Definition Classes
    IterableOnceOps
  21. def drop(n: Int): Table[Row]

    drop (as defined by Iterable).

    drop (as defined by Iterable).

    n

    the number of rows to drop.

    returns

    a Table like this Table but without its first n rows.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  22. def dropRight(n: Int): Iterable[Row]
    Definition Classes
    IterableOps
  23. def dropWhile(p: (Row) => Boolean): Table[Row]

    dropWhile (as defined by Iterable).

    dropWhile (as defined by Iterable).

    p

    the predicate.

    returns

    a Table like this Table but with dropWhile(p) rows.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  24. def empty: Table[Row]

    Method to return an empty Table of type Row.

    Method to return an empty Table of type Row.

    returns

    a Table[Row] without any rows.

    Definition Classes
    Table → IterableFactoryDefaults → IterableOps
  25. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  26. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  27. def exists(p: (Row) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  28. def filter(p: (Row) => Boolean): Table[Row]

    Method to filter the rows of a table (as defined by Iterable).

    Method to filter the rows of a table (as defined by Iterable).

    p

    a predicate to be applied to each row.

    returns

    a Table[Row] consisting only of rows which satisfy the predicate p.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  29. def filterByKey[T >: Row](p: (String) => Boolean)(implicit arg0: HasKey[T]): Table[Row]

    Filter method which operates on the (primary) key of each row.

    Filter method which operates on the (primary) key of each row.

    TESTME (probably tested only in it)

    T

    a super-class of Row, which provides evidence of HasKey[T].

    p

    a predicate which takes a String.

    returns

    a filtered Table[Row].

  30. def filterNot(p: (Row) => Boolean): Table[Row]

    Method to filter out the rows of a table (as defined by Iterable).

    Method to filter out the rows of a table (as defined by Iterable).

    p

    a predicate to be applied to each row.

    returns

    a Table[Row] consisting only of rows which do not satisfy the predicate p.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  31. def filterNotByKey[T >: Row](p: (String) => Boolean)(implicit arg0: HasKey[T]): Table[Row]

    Filter method which operates on the (primary) key of each row.

    Filter method which operates on the (primary) key of each row.

    T

    a super-class of Row, which provides evidence of HasKey[T].

    p

    a predicate which takes a String.

    returns

    a filtered Table[Row].

  32. def filterValid(implicit rv: Validity[Row]): Table[Row]

    Method to retain only the rows which satisfy the isValid method of ev (i.e.

    Method to retain only the rows which satisfy the isValid method of ev (i.e. a Validity[Row]).

    rv

    (implicit) a Validity[Row].

    returns

    Table[Row] consisting only of rows which satisfy Validity.

  33. def find(p: (Row) => Boolean): Option[Row]
    Definition Classes
    IterableOnceOps
  34. def flatMap[S](f: (Row) => Iterable[S]): Table[S]

    Transform (flatMap) this Table[Row] into a Table[S].

    Transform (flatMap) this Table[Row] into a Table[S].

    CONSIDER rewriting this method or redefining it as it can be a major source of inefficiency. In particular, we are doing a ++ operation, which is inherently bad.

    S

    the type of the rows of the result.

    f

    a function which transforms a Row into an IterableOnce[S].

    returns

    a Table[S] which is made up of a concatenation of the results of invoking f on each row this

  35. def flatMap[B](f: (Row) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  36. def flatten[B](implicit asIterable: (Row) => IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  37. def fold[A1 >: Row](z: A1)(op: (A1, A1) => A1): A1
    Definition Classes
    IterableOnceOps
  38. def foldLeft[B](z: B)(op: (B, Row) => B): B
    Definition Classes
    IterableOnceOps
  39. def foldRight[B](z: B)(op: (Row, B) => B): B
    Definition Classes
    IterableOnceOps
  40. def forall(p: (Row) => Boolean): Boolean
    Definition Classes
    IterableOnceOps
  41. def foreach[U](f: (Row) => U): Unit
    Definition Classes
    IterableOnceOps
  42. def fromSpecific(coll: IterableOnce[Row]): Iterable[Row]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  43. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  44. def groupBy[K](f: (Row) => K): Map[K, Iterable[Row]]
    Definition Classes
    IterableOps
  45. def groupMap[K, B](key: (Row) => K)(f: (Row) => B): Map[K, Iterable[B]]
    Definition Classes
    IterableOps
  46. def groupMapReduce[K, B](key: (Row) => K)(f: (Row) => B)(reduce: (B, B) => B): Map[K, B]
    Definition Classes
    IterableOps
  47. def grouped(size: Int): Iterator[Iterable[Row]]
    Definition Classes
    IterableOps
  48. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  49. def head: Row
    Definition Classes
    IterableOps
  50. def headOption: Option[Row]
    Definition Classes
    IterableOps
  51. def init: Iterable[Row]
    Definition Classes
    IterableOps
  52. def inits: Iterator[Iterable[Row]]
    Definition Classes
    IterableOps
  53. def isEmpty: Boolean
    Definition Classes
    IterableOnceOps
  54. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  55. def isTraversableAgain: Boolean
    Definition Classes
    IterableOps → IterableOnceOps
  56. def iterableFactory: IterableFactory[Iterable]
    Definition Classes
    Iterable → IterableOps
  57. def iterator: Iterator[Row]

    Method to return the rows of this table as an iterator.

    Method to return the rows of this table as an iterator.

    returns

    the rows in the form of Iterator[Row]

    Definition Classes
    Table → IterableOnce
  58. def knownSize: Int
    Definition Classes
    IterableOnce
  59. def last: Row
    Definition Classes
    IterableOps
  60. def lastOption: Option[Row]
    Definition Classes
    IterableOps
  61. def lazyZip[B](that: Iterable[B]): LazyZip2[Row, B, Table.this.type]
    Definition Classes
    Iterable
  62. def map[S](f: (Row) => S): Table[S]

    Transform (map) this Table[Row] into a Table[S].

    Transform (map) this Table[Row] into a Table[S].

    S

    the type of the rows of the result.

    f

    a function which transforms a Row into an S.

    returns

    a Table[S] where each row has value f(x) where x is the value of the corresponding row in this.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  63. def mapOptional[S](f: (Row) => Option[S]): Table[S]

    Transform (flatMap) this Table[Row] into a Table[S].

    Transform (flatMap) this Table[Row] into a Table[S].

    S

    the type of the rows of the result.

    f

    a function which transforms a Row into an IterableOnce[S].

    returns

    a Table[S] which is made up of a concatenation of the results of invoking f on each row this

  64. def max[B >: Row](implicit ord: Ordering[B]): Row
    Definition Classes
    IterableOnceOps
  65. def maxBy[B](f: (Row) => B)(implicit ord: Ordering[B]): Row
    Definition Classes
    IterableOnceOps
  66. def maxByOption[B](f: (Row) => B)(implicit ord: Ordering[B]): Option[Row]
    Definition Classes
    IterableOnceOps
  67. def maxOption[B >: Row](implicit ord: Ordering[B]): Option[Row]
    Definition Classes
    IterableOnceOps
  68. def maybeColumnNames: Option[Seq[String]]

    Retrieves an optional sequence of column names derived from a possible header.

    Retrieves an optional sequence of column names derived from a possible header.

    returns

    An Option containing a Seq[String] of column names if the header exists, otherwise None.

  69. def min[B >: Row](implicit ord: Ordering[B]): Row
    Definition Classes
    IterableOnceOps
  70. def minBy[B](f: (Row) => B)(implicit ord: Ordering[B]): Row
    Definition Classes
    IterableOnceOps
  71. def minByOption[B](f: (Row) => B)(implicit ord: Ordering[B]): Option[Row]
    Definition Classes
    IterableOnceOps
  72. def minOption[B >: Row](implicit ord: Ordering[B]): Option[Row]
    Definition Classes
    IterableOnceOps
  73. final def mkString: String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  74. final def mkString(sep: String): String
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  75. final def mkString(start: String, sep: String, end: String): String
    Definition Classes
    IterableOnceOps
  76. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  77. def newSpecificBuilder: Builder[Row, Iterable[Row]]
    Attributes
    protected
    Definition Classes
    IterableFactoryDefaults → IterableOps
  78. def nonEmpty: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecatedOverriding()
  79. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  80. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  81. def partition(p: (Row) => Boolean): (Iterable[Row], Iterable[Row])
    Definition Classes
    IterableOps
  82. def partitionMap[A1, A2](f: (Row) => Either[A1, A2]): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  83. def processRows[S](f: (Content[Row]) => Content[S]): Table[S]

    Method to process the rows as an Iterable into an Iterable which will make up the resulting Table.

    Method to process the rows as an Iterable into an Iterable which will make up the resulting Table. NOTE: if you need the rows processed individually, use processRowsMap or flatMap.

    S

    the underlying type of the result.

    f

    a function which takes an Iterable[Row] and returns an Iterable[S]

    returns

    a table[S]

  84. def processRowsMap[S](f: (Row) => S): Table[S]

    Method to process the rows as an Iterable into an Iterable which will make up the resulting Table.

    Method to process the rows as an Iterable into an Iterable which will make up the resulting Table.

    TESTME

    S

    the underlying type of the result.

    f

    a function which takes an Iterable[Row] and returns an Iterable[S]

    returns

    a table[S]

    Annotations
    @unused()
  85. def product[B >: Row](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  86. def reduce[B >: Row](op: (B, B) => B): B
    Definition Classes
    IterableOnceOps
  87. def reduceLeft[B >: Row](op: (B, Row) => B): B
    Definition Classes
    IterableOnceOps
  88. def reduceLeftOption[B >: Row](op: (B, Row) => B): Option[B]
    Definition Classes
    IterableOnceOps
  89. def reduceOption[B >: Row](op: (B, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  90. def reduceRight[B >: Row](op: (Row, B) => B): B
    Definition Classes
    IterableOnceOps
  91. def reduceRightOption[B >: Row](op: (Row, B) => B): Option[B]
    Definition Classes
    IterableOnceOps
  92. def replaceHeader(ho: Option[Header]): Table[Row]

    Method to clone this Table but with a different Header.

    Method to clone this Table but with a different Header.

    ho

    an optional Header.

    returns

    a Table[Row] with the same rows as this, but with ho as its maybeHeader.

  93. def reversed: Iterable[Row]
    Attributes
    protected
    Definition Classes
    IterableOnceOps
  94. def sample(n: Int)(implicit random: Random): Table[Row]

    Method to randomly sample from this Table.

    Method to randomly sample from this Table.

    n

    the odds against choosing any particular element.

    random

    an (implicit) Random number generator.

    returns

    a new Table[Row] with approximately size/n elements.

  95. def scan[B >: Row](z: B)(op: (B, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  96. def scanLeft[B](z: B)(op: (B, Row) => B): Iterable[B]
    Definition Classes
    IterableOps → IterableOnceOps
  97. def scanRight[B](z: B)(op: (Row, B) => B): Iterable[B]
    Definition Classes
    IterableOps
  98. def select(n: Int): Table[Row]

    Method to select those rows defined by the given range.

    Method to select those rows defined by the given range.

    NOTE: the rows are numbered 1..N.

    NOTE: unless explicitly ordered, the content might be in random order.

    n

    the desired row.

    returns

    a new Table[Row] consisting only the row requested.

  99. def select(range: Range): Table[Row]

    Method to select those rows defined by the given range.

    Method to select those rows defined by the given range. NOTE: the rows are numbered 1..N.

    range

    a Range

    returns

    a new Table[Row] consisting only of those rows in the given range.

  100. lazy val shuffle: Table[Row]

    Method to shuffle this Table[Row].

    Method to shuffle this Table[Row].

    returns

    a Table[Row].

  101. def size: Int
    Definition Classes
    IterableOnceOps
  102. def sizeCompare(that: Iterable[_]): Int
    Definition Classes
    IterableOps
  103. def sizeCompare(otherSize: Int): Int
    Definition Classes
    IterableOps
  104. final def sizeIs: SizeCompareOps
    Definition Classes
    IterableOps
    Annotations
    @inline()
  105. def slice(from: Int, until: Int): Table[Row]

    slice (as defined by Iterable).

    slice (as defined by Iterable).

    from

    the index at which to begin the slice (1-based counting).

    until

    the index at which to end the slice (1-based counting).

    returns

    a Table like this Table but with slice(from, until) rows.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  106. def sliding(size: Int, step: Int): Iterator[Iterable[Row]]
    Definition Classes
    IterableOps
  107. def sliding(size: Int): Iterator[Iterable[Row]]
    Definition Classes
    IterableOps
  108. def sort[S >: Row](implicit arg0: Ordering[S]): Table[S]

    Method to transform this Table[Row] into a sorted Table[S] where S is a super-class of Row and for which there is evidence of Ordering[S].

    Method to transform this Table[Row] into a sorted Table[S] where S is a super-class of Row and for which there is evidence of Ordering[S].

    S

    the underlying type of the resulting Table (a super-type of Row and for which there is evidence of Ordering[S]).

    returns

    a Table[S].

  109. def span(p: (Row) => Boolean): (Iterable[Row], Iterable[Row])
    Definition Classes
    IterableOps → IterableOnceOps
  110. def splitAt(n: Int): (Iterable[Row], Iterable[Row])
    Definition Classes
    IterableOps → IterableOnceOps
  111. def stepper[S <: Stepper[_]](implicit shape: StepperShape[Row, S]): S
    Definition Classes
    IterableOnce
  112. def stringPrefix: String
    Attributes
    protected[this]
    Definition Classes
    Iterable
    Annotations
    @deprecatedOverriding()
  113. def sum[B >: Row](implicit num: Numeric[B]): B
    Definition Classes
    IterableOnceOps
  114. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  115. def tail: Iterable[Row]
    Definition Classes
    IterableOps
  116. def tails: Iterator[Iterable[Row]]
    Definition Classes
    IterableOps
  117. def take(n: Int): Table[Row]

    take (as defined by Iterable).

    take (as defined by Iterable).

    n

    the number of rows to take.

    returns

    a Table like this Table but with only its first n rows.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  118. def takeRight(n: Int): Iterable[Row]
    Definition Classes
    IterableOps
  119. def takeWhile(p: (Row) => Boolean): Table[Row]

    takeWhile (as defined by Iterable).

    takeWhile (as defined by Iterable).

    p

    the predicate.

    returns

    a Table like this Table but with takeWhile(p) rows.

    Definition Classes
    Table → IterableOps → IterableOnceOps
  120. def tapEach[U](f: (Row) => U): Iterable[Row]
    Definition Classes
    IterableOps → IterableOnceOps
  121. def to[C1](factory: Factory[Row, C1]): C1
    Definition Classes
    IterableOnceOps
  122. def toArray[Element >: Row](implicit arg0: ClassTag[Element]): Array[Element]

    Method to yield an Array from the rows of this Table.

    Method to yield an Array from the rows of this Table.

    Element

    the element type of the resulting Array.

    returns

    an Array[Element].

    Definition Classes
    Table → IterableOnceOps
  123. final def toBuffer[B >: Row]: Buffer[B]
    Definition Classes
    IterableOnceOps
    Annotations
    @inline()
  124. def toCSV(implicit rcr: CsvRenderer[Row], rgr: CsvGenerator[Row], csvAttributes: CsvAttributes): Try[String]

    Method to render this Table[T] as a CSV String with (maybe) header.

    Method to render this Table[T] as a CSV String with (maybe) header.

    rcr

    implicit value of CsvRenderer[Row].

    rgr

    implicit value of CsvProductGenerator[Row].

    csvAttributes

    implicit value of CsvAttributes.

    returns

    a String.

  125. def toIndexedSeq: IndexedSeq[Row]
    Definition Classes
    IterableOnceOps
  126. def toList: List[Row]
    Definition Classes
    IterableOnceOps
  127. def toMap[K, V](implicit ev: <:<[Row, (K, V)]): Map[K, V]
    Definition Classes
    IterableOnceOps
  128. def toSeq: Seq[Row]

    Method to yield a Seq of the rows of this Table.

    Method to yield a Seq of the rows of this Table.

    returns

    a Seq[Row]

    Definition Classes
    Table → IterableOnceOps
  129. def toSet[B >: Row]: Set[B]
    Definition Classes
    IterableOnceOps
  130. def toString(): String
    Definition Classes
    Iterable → AnyRef → Any
  131. def toVector: Vector[Row]
    Definition Classes
    IterableOnceOps
  132. def transpose[B](implicit asIterable: (Row) => Iterable[B]): Iterable[Iterable[B]]
    Definition Classes
    IterableOps
  133. def unit[S](ss: Iterable[S]): Table[S]

    Method to generate a Table[S] for a set of rows.

    Method to generate a Table[S] for a set of rows. Although declared as an instance method, this method produces its result independent of this.

    S

    the underlying type of the rows and the result.

    ss

    a sequence of S.

    returns

    a new instance of Table[S].

  134. def unzip[A1, A2](implicit asPair: (Row) => (A1, A2)): (Iterable[A1], Iterable[A2])
    Definition Classes
    IterableOps
  135. def unzip3[A1, A2, A3](implicit asTriple: (Row) => (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])
    Definition Classes
    IterableOps
  136. def view: View[Row]
    Definition Classes
    IterableOps
  137. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  138. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  139. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()
  140. def withFilter(p: (Row) => Boolean): WithFilter[Row, Iterable]
    Definition Classes
    IterableOps
  141. def writeCSVFile(path: Path)(implicit renderer: CsvRenderer[Row], generator: CsvGenerator[Row], csvAttributes: CsvAttributes): Unit

    Writes the contents of the current table to a CSV file at the specified path.

    Writes the contents of the current table to a CSV file at the specified path.

    path

    The file system path where the CSV file will be written.

    renderer

    Implicit parameter that provides a mechanism to render rows to CSV format.

    generator

    Implicit parameter that is used to generate CSV rows from the data.

    csvAttributes

    Implicit parameter containing attributes for customizing the CSV formatting.

    returns

    Unit, indicating the operation does not return a value.

  142. def writeCSVPath(outputPath: Path)(implicit r: CsvRenderer[Row], g: CsvGenerator[Row], ca: CsvAttributes): Unit

    Converts the table to a CSV file and writes it to the specified output path.

    Converts the table to a CSV file and writes it to the specified output path.

    outputPath

    the path where the CSV file will be written

    r

    an implicit CsvRenderer instance for rendering rows

    g

    an implicit CsvGenerator instance for generating CSV data from rows

    ca

    an implicit CsvAttributes instance specifying CSV configuration attributes

    returns

    Unit

    Exceptions thrown

    TableException if the CSV file cannot be written to the specified output path

  143. def zip[R](rt: Table[R]): Table[(Row, R)]

    Method to zip two Tables together such that the rows of the resulting table are tuples of the rows of the input tables.

    Method to zip two Tables together such that the rows of the resulting table are tuples of the rows of the input tables.

    R

    the underlying type of the other Table.

    rt

    a Table[R].

    returns

    a Table of (Row, R).

  144. def zip[B](that: IterableOnce[B]): Iterable[(Row, B)]
    Definition Classes
    IterableOps
  145. def zipAll[A1 >: Row, B](that: Iterable[B], thisElem: A1, thatElem: B): Iterable[(A1, B)]
    Definition Classes
    IterableOps
  146. def zipWithIndex: Iterable[(Row, Int)]
    Definition Classes
    IterableOps → IterableOnceOps

Deprecated Value Members

  1. def ++:[B >: Row](that: IterableOnce[B]): Iterable[B]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use ++ instead of ++: for collections of type Iterable

  2. final def /:[B](z: B)(op: (B, Row) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldLeft instead of /:

  3. final def :\[B](z: B)(op: (Row, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use foldRight instead of :\

  4. def aggregate[B](z: => B)(seqop: (B, Row) => B, combop: (B, B) => B): B
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) For sequential collections, prefer foldLeft(z)(seqop). For parallel collections, use ParIterableLike#aggregate.

  5. def companion: IterableFactory[Iterable]
    Definition Classes
    IterableOps
    Annotations
    @deprecated @deprecatedOverriding() @inline()
    Deprecated

    (Since version 2.13.0) Use iterableFactory instead

  6. final def copyToBuffer[B >: Row](dest: Buffer[B]): Unit
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use dest ++= coll instead

  7. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable]) @Deprecated
    Deprecated

    (Since version 9)

  8. def hasDefiniteSize: Boolean
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details)

  9. final def repr: Iterable[Row]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use coll instead of repr in a collection implementation, use the collection value itself from the outside

  10. def seq: Table.this.type
    Definition Classes
    Iterable
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Iterable.seq always returns the iterable itself

  11. final def toIterable: Table.this.type
    Definition Classes
    Iterable → IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.7) toIterable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  12. final def toIterator: Iterator[Row]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .iterator instead of .toIterator

  13. final def toStream: Stream[Row]
    Definition Classes
    IterableOnceOps
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.13.0) Use .to(LazyList) instead of .toStream

  14. final def toTraversable: Traversable[Row]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) toTraversable is internal and will be made protected; its name is similar to toList or toSeq, but it doesn't copy non-immutable collections

  15. def view(from: Int, until: Int): View[Row]
    Definition Classes
    IterableOps
    Annotations
    @deprecated
    Deprecated

    (Since version 2.13.0) Use .view.slice(from, until) instead of .view(from, until)

  16. def writeCSVFile(file: File)(implicit renderer: CsvRenderer[Row], generator: CsvGenerator[Row], csvAttributes: CsvAttributes): Unit

    Method to render this Table[T] as a CSV file with (maybe) header.

    Method to render this Table[T] as a CSV file with (maybe) header.

    TESTME (probably tested only in it)

    file

    instance of File where the output should be stored.

    renderer

    implicit value of CsvRenderer[Row].

    generator

    implicit value of CsvProductGenerator[Row].

    csvAttributes

    implicit value of CsvAttributes.

    Annotations
    @deprecated
    Deprecated

    (Since version 1.3.0) Use writeCSVFile(Path) instead

Inherited from Iterable[Row]

Inherited from IterableFactoryDefaults[Row, Iterable]

Inherited from IterableOps[Row, Iterable, Iterable[Row]]

Inherited from IterableOnceOps[Row, Iterable, Iterable[Row]]

Inherited from IterableOnce[Row]

Inherited from AnyRef

Inherited from Any

Ungrouped