xtdb.util.RowCounter.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of xtdb-core Show documentation
Show all versions of xtdb-core Show documentation
An open source document database with bitemporal graph queries
The newest version!
package xtdb.util
class RowCounter(var chunkIdx: Long) {
var chunkRowCount: Long = 0
private set
fun nextChunk() {
chunkIdx += chunkRowCount
chunkRowCount = 0
}
fun addRows(rowCount: Int) {
chunkRowCount += rowCount.toLong()
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy