BatchCursor builders.
BatchCursor builders.
- Companion
- class
Value members
Concrete methods
Given a list of cursor, builds an array-backed BatchCursor out of it.
Given a list of cursor, builds an array-backed BatchCursor out of it.
Returns a BatchCursor specialized for Boolean
.
Returns a BatchCursor specialized for Boolean
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Returns a BatchCursor specialized for Boolean
.
Returns a BatchCursor specialized for Boolean
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
Returns a BatchCursor specialized for Byte
.
Returns a BatchCursor specialized for Byte
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Returns a BatchCursor specialized for Byte
.
Returns a BatchCursor specialized for Byte
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
Returns a BatchCursor specialized for Char
.
Returns a BatchCursor specialized for Char
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Returns a BatchCursor specialized for Char
.
Returns a BatchCursor specialized for Char
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
Creates an infinite-length iterator returning the results of evaluating an expression. The expression is recomputed for every element.
Creates an infinite-length iterator returning the results of evaluating an expression. The expression is recomputed for every element.
- Value Params
- f
the computation to repeatedly evaluate
- Returns
the iterator containing an infinite number of results of evaluating
f
Returns a BatchCursor specialized for Double
.
Returns a BatchCursor specialized for Double
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Returns a BatchCursor specialized for Double
.
Returns a BatchCursor specialized for Double
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
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[A](array:Array[A])* 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.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
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[A](array:Array[A])* 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.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Builds a BatchCursor from a standard Array
, with strict
semantics on transformations.
Builds a BatchCursor from a standard Array
, with strict
semantics on transformations.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Builds a BatchCursor from a standard Array
, with strict
semantics on transformations.
Builds a BatchCursor from a standard Array
, with strict
semantics on transformations.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
Builds a BatchCursor from a Scala IndexedSeq
, with strict
semantics on transformations.
Builds a BatchCursor from a Scala IndexedSeq
, with strict
semantics on transformations.
Converts a Scala scala.collection.Iterator into a BatchCursor.
Converts a Scala scala.collection.Iterator into a BatchCursor.
- Value Params
- iter
is the Iterator to wrap in a
BatchCursor
instance
Converts a Scala scala.collection.Iterator into a BatchCursor.
Converts a Scala scala.collection.Iterator into a BatchCursor.
- Value Params
- 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.
Builds a BatchCursor from a Scala Seq
, with lazy
semantics on transformations.
Builds a BatchCursor from a Scala Seq
, with lazy
semantics on transformations.
Builds a BatchCursor from a Scala Seq
, with lazy
semantics on transformations.
Builds a BatchCursor from a Scala Seq
, with lazy
semantics on transformations.
Returns a BatchCursor specialized for Int
.
Returns a BatchCursor specialized for Int
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Returns a BatchCursor specialized for Int
.
Returns a BatchCursor specialized for Int
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
Returns a BatchCursor specialized for Long
.
Returns a BatchCursor specialized for Long
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
Returns a BatchCursor specialized for Long
.
Returns a BatchCursor specialized for Long
.
- Value Params
- array
is the underlying reference to use for traversing and transformations
- length
is the length of created cursor, which would have been
array.length
by default- offset
is the offset to start from, which would have been zero by default
A cursor producing equally spaced values in some integer interval.
A cursor producing equally spaced values in some integer interval.
- Value Params
- from
the start value of the cursor
- step
the increment value of the cursor (must be positive or negative)
- until
the end value of the cursor (the first value NOT returned)
- Returns
the cursor producing values
from, from + step, ...
up to, but excludingend