fm.lazyseq

SortedLazySeqBuilder

final class SortedLazySeqBuilder[V, K] extends Builder[V, LazySeq[V]] with Logging

Keeps an in-memory buffer gets sorted once a size threshold is passed and written to a temp file. This is repeated until result() is called. Data is then read back from the temp files in sorted order.

This should be thread-safe

Linear Supertypes
Logging, Builder[V, LazySeq[V]], Growable[V], Clearable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. SortedLazySeqBuilder
  2. Logging
  3. Builder
  4. Growable
  5. Clearable
  6. AnyRef
  7. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new SortedLazySeqBuilder(key: (V) ⇒ K, unique: Boolean = false, bufferSizeLimitMB: Int = ..., bufferRecordLimit: Int = ..., sortAndSaveThreads: Int = ..., sortAndSaveQueueSize: Int = ...)(implicit serializer: Serializer[V], ord: Ordering[K])

Type Members

  1. final class ReadSortedRecords extends LazySeq[V] with Closeable

    A reusable reader that performs a merge sort on the sorted files

Value Members

  1. final def !=(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

    Definition Classes
    AnyRef → Any
  4. def ++=(xs: TraversableOnce[V]): SortedLazySeqBuilder.this.type

    Definition Classes
    SortedLazySeqBuilder → Growable
  5. def +=(v: V): SortedLazySeqBuilder.this.type

    Definition Classes
    SortedLazySeqBuilder → Builder → Growable
  6. def +=(elem1: V, elem2: V, elems: V*): SortedLazySeqBuilder.this.type

    Definition Classes
    Growable
  7. final def ==(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  8. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  9. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  10. def clear(): Unit

    Definition Classes
    SortedLazySeqBuilder → Builder → Growable → Clearable
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  13. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  14. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  16. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  17. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  18. lazy val logger: Logger

    Attributes
    protected
    Definition Classes
    Logging
  19. def mapResult[NewTo](f: (LazySeq[V]) ⇒ NewTo): Builder[V, NewTo]

    Definition Classes
    Builder
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def result(): LazySeq[V]

    Definition Classes
    SortedLazySeqBuilder → Builder
  24. def sizeHint(coll: TraversableLike[_, _], delta: Int): Unit

    Definition Classes
    Builder
  25. def sizeHint(coll: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  26. def sizeHint(size: Int): Unit

    Definition Classes
    Builder
  27. def sizeHintBounded(size: Int, boundingColl: TraversableLike[_, _]): Unit

    Definition Classes
    Builder
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  29. def toString(): String

    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Logging

Inherited from Builder[V, LazySeq[V]]

Inherited from Growable[V]

Inherited from Clearable

Inherited from AnyRef

Inherited from Any

Ungrouped