TopKReplaceBatch

data class TopKReplaceBatch(val target: String, val threadName: String, val blocks: Map<Int, List<String>>) : ProgressEvent

Batch of K → 10 CSV lines, where each list is already sorted by correlation ASC and contains exactly 10 rows for that K:

"Cardinality,Correlation,Topics"
e.g. "12,0.1375,topicA|topicB|..."

The View merges these with previously known blocks and rewrites the entire -Top file in K ascending order (header + concatenated blocks).

Constructors

Link copied to clipboard
constructor(target: String, threadName: String, blocks: Map<Int, List<String>>)

Properties

Link copied to clipboard

Map of cardinality K -> list of 10 pre-sorted CSV rows for that K.

Link copied to clipboard
open override val target: String

Logical target bucket: BEST, WORST, or AVERAGE.

Link copied to clipboard
open override val threadName: String

Originating thread name (informational for logs).