Row

data class Row(val handle: StepHandle<*>, val rowIndex: Int = 0) : TransactionValue.FromStep<Map<String, Any?>>

Fetches an entire row as Map<String, Any?>. Useful when you want to pass multiple fields from one result as parameters to the next step (e.g., copying a row with modifications). The Executor specially handles this type by "spreading" the map into parameters.

Parameters

handle

Handle to the step from which the data originates.

rowIndex

Row index (default 0, i.e., first).

Constructors

Link copied to clipboard
constructor(handle: StepHandle<*>, rowIndex: Int = 0)

Properties

Link copied to clipboard
open override val handle: StepHandle<*>
Link copied to clipboard

Functions

Link copied to clipboard
fun <IN, OUT> TransactionValue<IN>.map(transformation: (IN) -> OUT): TransactionValue<OUT>

Applies a transformation to a TransactionValue, creating a new, transformed value. This function is type-safe.