TmpFileLazySeqBuilder

fm.lazyseq.TmpFileLazySeqBuilder
final class TmpFileLazySeqBuilder[A](deleteTmpFiles: Boolean)(implicit serializer: Serializer[A]) extends BuilderCompat[A, LazySeq[A]]

A builder that lets us build up a temp file that can be read back as a LazySeq. Useful for methods like groupBy, grouped, partition, etc...

Methods are synchronized so this should be thread-safe now

Attributes

Graph
Supertypes
trait BuilderCompat[A, LazySeq[A]]
trait GrowableCompat[A]
trait Builder[A, LazySeq[A]]
trait Growable[A]
trait Clearable
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Constructors

def this(serializer: Serializer[A])

Concrete methods

override def addAll(xs: TraversableOnce[A]): TmpFileLazySeqBuilder.this.type

Attributes

Definition Classes
GrowableCompat
override def addAll(xs: IterableOnce[A]): TmpFileLazySeqBuilder.this.type

Attributes

Definition Classes
Growable
override def addOne(elem: A): TmpFileLazySeqBuilder.this.type

Attributes

Definition Classes
Growable
override def clear(): Unit

Attributes

Definition Classes
Builder -> Clearable
override def result(): LazySeq[A]

Attributes

Definition Classes
Builder

Inherited methods

final def ++=(elems: TraversableOnce[A]): GrowableCompat.this.type

Attributes

Inherited from:
GrowableCompat
final def ++=(xs: IterableOnce[A]): Growable.this.type

Attributes

Inherited from:
Growable
final def +=(elem: A): Growable.this.type

Attributes

Inherited from:
Growable
def knownSize: Int

Attributes

Inherited from:
Growable
def mapResult[NewTo](f: LazySeq[A] => NewTo): Builder[A, NewTo]

Attributes

Inherited from:
Builder
final def sizeHint(coll: IterableOnce[_], delta: Int): Unit

Attributes

Inherited from:
Builder
def sizeHint(size: Int): Unit

Attributes

Inherited from:
Builder
final def sizeHintBounded(size: Int, boundingColl: Iterable[_]): Unit

Attributes

Inherited from:
Builder

Deprecated and Inherited methods

final def +=(elem1: A, elem2: A, elems: A*): Growable.this.type

Attributes

Deprecated
[Since version 2.13.0] Use `++=` aka `addAll` instead of varargs `+=`; infix operations with an operand of multiple args will be deprecated
Inherited from:
Growable