DirectLoadRecordAccumulator

Used internally by the CDK to wrap the client-provided DirectLoader in a generic BatchAccumulator, so that it can be used as a pipeline step. At this stage, the loader's public interface is mapped to the internal interface, hiding internal mechanics.

Constructors

Link copied to clipboard
constructor(directLoaderFactory: DirectLoaderFactory<S>)

Properties

Functions

Link copied to clipboard
open suspend override fun accept(input: DestinationRecordRaw, state: S): BatchAccumulatorResult<S, DirectLoadAccResult>
Link copied to clipboard
open suspend override fun finish(state: S): FinalOutput<S, DirectLoadAccResult>
Link copied to clipboard
open suspend override fun start(key: K, part: Int): S