Object/Class

monix.tail.batches

Batch

Related Docs: class Batch | package batches

Permalink

object Batch extends Serializable

Batch builders.

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Batch
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

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

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply[A](elems: A*): Batch[A]

    Permalink

    Given a list of elements, builds an array-backed Batch out of it.

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def booleans(array: Array[Boolean], offset: Int, length: Int): BooleansBatch

    Permalink

    Returns a Batch specialized for Boolean.

    Returns a Batch specialized for Boolean.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  7. def booleans(array: Array[Boolean]): BooleansBatch

    Permalink

    Returns a Batch specialized for Boolean.

    Returns a Batch specialized for Boolean.

    array

    is the underlying reference to use for traversing and transformations

  8. def bytes(array: Array[Byte], offset: Int, length: Int): BytesBatch

    Permalink

    Returns a Batch specialized for Byte.

    Returns a Batch specialized for Byte.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  9. def bytes(array: Array[Byte]): BytesBatch

    Permalink

    Returns a Batch specialized for Byte.

    Returns a Batch specialized for Byte.

    array

    is the underlying reference to use for traversing and transformations

  10. def chars(array: Array[Char], offset: Int, length: Int): CharsBatch

    Permalink

    Returns a Batch specialized for Char.

    Returns a Batch specialized for Char.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  11. def chars(array: Array[Char]): CharsBatch

    Permalink

    Returns a Batch specialized for Char.

    Returns a Batch specialized for Char.

    array

    is the underlying reference to use for traversing and transformations

  12. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  13. def doubles(array: Array[Double], offset: Int, length: Int): DoublesBatch

    Permalink

    Returns a Batch specialized for Double.

    Returns a Batch specialized for Double.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  14. def doubles(array: Array[Double]): DoublesBatch

    Permalink

    Returns a Batch specialized for Double.

    Returns a Batch specialized for Double.

    array

    is the underlying reference to use for traversing and transformations

  15. def empty[A]: Batch[A]

    Permalink

    Returns an empty generator instance.

  16. final def eq(arg0: AnyRef): Boolean

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  19. def fromAnyArray[A](array: Array[_]): ArrayBatch[A]

    Permalink

    Builds an ArrayBatch instance from any array of boxed values.

    Builds an ArrayBatch instance from any array of boxed values.

    This will have lower performance than working with Batch.fromArray, since the values are boxed, however there is no requirement for a ClassTag and thus it can be used in any generic context.

    array

    is the underlying reference to use for traversing and transformations

  20. def fromAnyArray[A](array: Array[_], offset: Int, length: Int): ArrayBatch[A]

    Permalink

    Builds an ArrayBatch instance from any array of boxed values.

    Builds an ArrayBatch instance from any array of boxed values.

    This will have lower performance than working with Batch.fromArray, since the values are boxed, however there is no requirement for a ClassTag and thus it can be used in any generic context.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  21. def fromArray[A](array: Array[A], offset: Int, length: Int)(implicit arg0: ClassTag[A]): ArrayBatch[A]

    Permalink

    Builds a Batch from a standard Array, with strict semantics on transformations.

    Builds a Batch from a standard Array, with strict semantics on transformations.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  22. def fromArray[A](array: Array[A])(implicit arg0: ClassTag[A]): ArrayBatch[A]

    Permalink

    Builds a Batch from a standard Array, with strict semantics on transformations.

    Builds a Batch from a standard Array, with strict semantics on transformations.

    array

    is the underlying reference to use for traversing and transformations

  23. def fromIndexedSeq[A](seq: IndexedSeq[A]): Batch[A]

    Permalink

    Builds a Batch from a Scala IndexedSeq, with strict semantics on transformations.

  24. def fromIterable[A](iter: Iterable[A], recommendedBatchSize: Int): Batch[A]

    Permalink

    Converts a Scala Iterable into a Batch.

    Converts a Scala Iterable into a Batch.

    recommendedBatchSize

    specifies the BatchCursor.recommendedBatchSize for the generated BatchCursor instances of this Batch, specifying the batch size when doing eager processing.

  25. def fromIterable[A](iter: Iterable[A]): Batch[A]

    Permalink

    Converts a Scala Iterable into a Batch.

  26. def fromSeq[A](seq: Seq[A], recommendedBatchSize: Int): Batch[A]

    Permalink

    Builds a Batch from a Scala Seq, with lazy semantics on transformations.

  27. def fromSeq[A](seq: Seq[A]): Batch[A]

    Permalink

    Builds a Batch from a Scala Seq, with lazy semantics on transformations.

  28. final def getClass(): Class[_]

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

    Permalink
    Definition Classes
    AnyRef → Any
  30. def integers(array: Array[Int]): IntegersBatch

    Permalink

    Returns a Batch specialized for Int.

    Returns a Batch specialized for Int.

    array

    is the underlying reference to use for traversing and transformations

  31. def integers(array: Array[Int], offset: Int, length: Int): IntegersBatch

    Permalink

    Returns a Batch specialized for Int.

    Returns a Batch specialized for Int.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  32. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  33. def longs(array: Array[Long], offset: Int, length: Int): LongsBatch

    Permalink

    Returns a Batch specialized for Long.

    Returns a Batch specialized for Long.

    array

    is the underlying reference to use for traversing and transformations

    offset

    is the offset to start from, which would have been zero by default

    length

    is the length of created cursor, which would have been array.length by default

  34. def longs(array: Array[Long]): LongsBatch

    Permalink

    Returns a Batch specialized for Long.

    Returns a Batch specialized for Long.

    array

    is the underlying reference to use for traversing and transformations

  35. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  36. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  37. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  38. def range(from: Int, until: Int, step: Int = 1): Batch[Int]

    Permalink

    A generator producing equally spaced values in some integer interval.

    A generator producing equally spaced values in some integer interval.

    from

    the start value of the generator

    until

    the end value of the generator (the first value NOT returned)

    step

    the increment value of the generator (must be positive or negative)

    returns

    the generator producing values from, from + step, ... up to, but excluding end

  39. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  40. def toString(): String

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

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped