object Batch extends Serializable
Batch builders.
- Alphabetic
- By Inheritance
- Batch
- Serializable
- Serializable
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
apply[A](elems: A*): Batch[A]
Given a list of elements, builds an array-backed Batch out of it.
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
booleans(array: Array[Boolean], offset: Int, length: Int): BooleansBatch
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.lengthby default
-
def
booleans(array: Array[Boolean]): BooleansBatch
Returns a Batch specialized for
Boolean.Returns a Batch specialized for
Boolean.- array
is the underlying reference to use for traversing and transformations
-
def
bytes(array: Array[Byte], offset: Int, length: Int): BytesBatch
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.lengthby default
-
def
bytes(array: Array[Byte]): BytesBatch
Returns a Batch specialized for
Byte.Returns a Batch specialized for
Byte.- array
is the underlying reference to use for traversing and transformations
-
def
chars(array: Array[Char], offset: Int, length: Int): CharsBatch
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.lengthby default
-
def
chars(array: Array[Char]): CharsBatch
Returns a Batch specialized for
Char.Returns a Batch specialized for
Char.- array
is the underlying reference to use for traversing and transformations
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
def
doubles(array: Array[Double], offset: Int, length: Int): DoublesBatch
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.lengthby default
-
def
doubles(array: Array[Double]): DoublesBatch
Returns a Batch specialized for
Double.Returns a Batch specialized for
Double.- array
is the underlying reference to use for traversing and transformations
-
def
empty[A]: Batch[A]
Returns an empty generator instance.
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
equals(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
def
fromAnyArray[A](array: Array[_]): ArrayBatch[A]
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
-
def
fromAnyArray[A](array: Array[_], offset: Int, length: Int): ArrayBatch[A]
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.lengthby default
-
def
fromArray[A](array: Array[A], offset: Int, length: Int)(implicit arg0: ClassTag[A]): ArrayBatch[A]
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.lengthby default
-
def
fromArray[A](array: Array[A])(implicit arg0: ClassTag[A]): ArrayBatch[A]
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
-
def
fromIndexedSeq[A](seq: IndexedSeq[A]): Batch[A]
Builds a Batch from a Scala
IndexedSeq, with strict semantics on transformations. -
def
fromIterable[A](iter: Iterable[A], recommendedBatchSize: Int): Batch[A]
Converts a Scala Iterable into a Batch.
- recommendedBatchSize
specifies the BatchCursor.recommendedBatchSize for the generated
BatchCursorinstances of thisBatch, specifying the batch size when doing eager processing.
- def fromIterable[A](iter: Iterable[A]): Batch[A]
-
def
fromSeq[A](seq: Seq[A], recommendedBatchSize: Int): Batch[A]
Builds a Batch from a Scala
Seq, with lazy semantics on transformations. -
def
fromSeq[A](seq: Seq[A]): Batch[A]
Builds a Batch from a Scala
Seq, with lazy semantics on transformations. -
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
integers(array: Array[Int]): IntegersBatch
Returns a Batch specialized for
Int.Returns a Batch specialized for
Int.- array
is the underlying reference to use for traversing and transformations
-
def
integers(array: Array[Int], offset: Int, length: Int): IntegersBatch
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.lengthby default
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
def
longs(array: Array[Long], offset: Int, length: Int): LongsBatch
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.lengthby default
-
def
longs(array: Array[Long]): LongsBatch
Returns a Batch specialized for
Long.Returns a Batch specialized for
Long.- array
is the underlying reference to use for traversing and transformations
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
range(from: Int, until: Int, step: Int = 1): Batch[Int]
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 excludingend
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
toString(): String
- Definition Classes
- AnyRef → Any
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )