StaticDatasourceBackfill

abstract class StaticDatasourceBackfill<I : Any, P : Any> : Backfill

Functions

runBatch
Link copied to clipboard
open fun runBatch(items: List<I>, config: BackfillConfig<P>)
Called for each batch of matching records.
runOne
Link copied to clipboard
open fun runOne(item: I, config: BackfillConfig<P>)
Called for each matching record.
validate
Link copied to clipboard
open fun validate(config: BackfillConfig<P>)
Override this and throw an exception to prevent the backfill from being created.

Properties

itemType
Link copied to clipboard
val itemType: KClass<I>
staticDatasource
Link copied to clipboard
abstract val staticDatasource: List<I>
This invokes the static list of items that the backfill will iterate over.