TransactionValue
A parameter of a TransactionPlan step whose value may not exist until an earlier step runs - the id an earlier insert generates. It is resolved when the step runs; anything else in a parameter map is passed through as it is.
Type Parameters
T
The type the value will have once resolved.
Inheritors
Types
Link copied to clipboard
An earlier step's result, as its terminal produced it: a Row after fetchRowStrict, a Senator after fetchObjectStrict<Senator>. map takes a part of it.
Link copied to clipboard
class Transformed<IN, out OUT>(val source: TransactionValue<IN>, val transform: (IN) -> OUT) : TransactionValue<OUT>
Link copied to clipboard
A value known all along. toTransactionValue is shorter.
Functions
Link copied to clipboard
Applies transformation to this value once it resolves, so a row becomes the column the next step needs without a step of its own:
Link copied to clipboard
Spreads this map into parameters under its own keys. The name it was filed under is only a placeholder and is not bound.