Packages

object BatchCursor extends Serializable

BatchCursor builders.

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

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def apply[A](elems: A*): BatchCursor[A]

    Given a list of cursor, builds an array-backed BatchCursor out of it.

  5. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  6. def booleans(array: Array[Boolean], offset: Int, length: Int): BooleansCursor

    Returns a BatchCursor specialized for Boolean.

    Returns a BatchCursor 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]): BooleansCursor

    Returns a BatchCursor specialized for Boolean.

    Returns a BatchCursor specialized for Boolean.

    array

    is the underlying reference to use for traversing and transformations

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

    Returns a BatchCursor specialized for Byte.

    Returns a BatchCursor 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]): BytesCursor

    Returns a BatchCursor specialized for Byte.

    Returns a BatchCursor specialized for Byte.

    array

    is the underlying reference to use for traversing and transformations

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

    Returns a BatchCursor specialized for Char.

    Returns a BatchCursor 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]): CharsCursor

    Returns a BatchCursor specialized for Char.

    Returns a BatchCursor specialized for Char.

    array

    is the underlying reference to use for traversing and transformations

  12. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  13. def continually[A](f: => A): BatchCursor[A]

    Creates an infinite-length iterator returning the results of evaluating an expression.

    Creates an infinite-length iterator returning the results of evaluating an expression. The expression is recomputed for every element.

    f

    the computation to repeatedly evaluate

    returns

    the iterator containing an infinite number of results of evaluating f

  14. def doubles(array: Array[Double], offset: Int, length: Int): DoublesCursor

    Returns a BatchCursor specialized for Double.

    Returns a BatchCursor 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

  15. def doubles(array: Array[Double]): DoublesCursor

    Returns a BatchCursor specialized for Double.

    Returns a BatchCursor specialized for Double.

    array

    is the underlying reference to use for traversing and transformations

  16. def empty[A]: BatchCursor[A]

    Returns a generic, empty cursor instance.

  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def equals(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef → Any
  19. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  20. def fromAnyArray[A](array: Array[_]): ArrayCursor[A]

    Builds an ArrayCursor instance from any array of boxed values.

    Builds an ArrayCursor instance from any array of boxed values.

    This will have lower performance than working with BatchCursor.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

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

    Builds an ArrayCursor instance from any array of boxed values.

    Builds an ArrayCursor instance from any array of boxed values.

    This will have lower performance than working with BatchCursor.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

  22. def fromArray[A](array: Array[A], offset: Int, length: Int): ArrayCursor[A]

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

    Builds a BatchCursor 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

  23. def fromArray[A](array: Array[A]): ArrayCursor[A]

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

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

    array

    is the underlying reference to use for traversing and transformations

  24. def fromIndexedSeq[A](seq: IndexedSeq[A]): BatchCursor[A]

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

  25. def fromIterator[A](iter: Iterator[A], recommendedBatchSize: Int): BatchCursor[A]

    Converts a Scala scala.collection.Iterator into a BatchCursor.

    Converts a Scala scala.collection.Iterator into a BatchCursor.

    iter

    is the Iterator to wrap in a BatchCursor instance

    recommendedBatchSize

    specifies the BatchCursor.recommendedBatchSize for the resulting BatchCursor instance, specifying the batch size when doing eager processing.

  26. def fromIterator[A](iter: Iterator[A]): BatchCursor[A]

    Converts a Scala scala.collection.Iterator into a BatchCursor.

    Converts a Scala scala.collection.Iterator into a BatchCursor.

    iter

    is the Iterator to wrap in a BatchCursor instance

  27. def fromSeq[A](seq: Seq[A], recommendedBatchSize: Int): BatchCursor[A]

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

  28. def fromSeq[A](seq: Seq[A]): BatchCursor[A]

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

  29. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  30. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  31. def integers(array: Array[Int], offset: Int, length: Int): IntegersCursor

    Returns a BatchCursor specialized for Int.

    Returns a BatchCursor 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. def integers(array: Array[Int]): IntegersCursor

    Returns a BatchCursor specialized for Int.

    Returns a BatchCursor specialized for Int.

    array

    is the underlying reference to use for traversing and transformations

  33. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  34. def longs(array: Array[Long], offset: Int, length: Int): LongsCursor

    Returns a BatchCursor specialized for Long.

    Returns a BatchCursor 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

  35. def longs(array: Array[Long]): LongsCursor

    Returns a BatchCursor specialized for Long.

    Returns a BatchCursor specialized for Long.

    array

    is the underlying reference to use for traversing and transformations

  36. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  37. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  38. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  39. def range(from: Int, until: Int, step: Int = 1): BatchCursor[Int]

    A cursor producing equally spaced values in some integer interval.

    A cursor producing equally spaced values in some integer interval.

    from

    the start value of the cursor

    until

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

    step

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

    returns

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

  40. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  41. def toString(): String
    Definition Classes
    AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped