childrenOf

abstract fun childrenOf(contextIdValue: String, parentRunId: String, limit: Int): List<ExtractionRun>

The runs whose immediate parent is parentRunId — one hop down the parent axis, in one tenant.

Supersession is a separate axis and is not walked here. A run that replaces another without continuing it is not its child.

Return

At most limit children, newest first.

Parameters

contextIdValue

The tenant.

parentRunId

The parent run's id.

limit

The most runs to return. Must be positive.

Throws

if limit is not positive.


open fun childrenOf(contextId: <Error class: unknown class>, parent: ExtractionRunRef, limit: Int): List<ExtractionRun>

childrenOf for Kotlin callers holding typed references.

Return

At most limit children, newest first.

Parameters

contextId

The tenant.

parent

The parent run.

limit

The most runs to return. Must be positive.