SeqBatch

final class SeqBatch[+A](ref: Seq[A], recommendedBatchSize: Int) extends Batch[A]

Batch implementation that wraps any Scala Seq.

Batch implementation that wraps any Scala Seq.

class Batch[A]
trait Serializable
class Object
trait Matchable
class Any

Value members

Concrete methods

override def collect[B](pf: PartialFunction[A, B]): Batch[B]
Definition Classes
def cursor(): BatchCursor[A]
override def drop(n: Int): Batch[A]
Definition Classes
override def filter(p: A => Boolean): Batch[A]
Definition Classes
override def foldLeft[R](initial: R)(op: (R, A) => R): R
Definition Classes
override def map[B](f: A => B): Batch[B]
Definition Classes
override def slice(from: Int, until: Int): Batch[A]
Definition Classes
override def take(n: Int): Batch[A]
Definition Classes

Inherited methods

def toArray[B >: A](`evidence$1`: ClassTag[B]): Array[B]

Converts this generator into a standard Array.

Converts this generator into a standard Array.

Inherited from
Batch
def toIterable: Iterable[A]

Converts this generator into a Scala Iterable.

Converts this generator into a Scala Iterable.

Inherited from
Batch
def toList: List[A]

Converts this generator into a Scala immutable List.

Converts this generator into a Scala immutable List.

Inherited from
Batch