All Downloads are FREE. Search and download functionalities are using the official Maven repository.

xtdb.trie.TrieWriter.kt Maven / Gradle / Ivy

The newest version!
package xtdb.trie

import xtdb.arrow.Relation
import java.util.*

typealias InstantMicros = Long
typealias RowIndex = Int

interface TrieWriter : AutoCloseable {
    val dataRel: Relation

    fun writeLeaf(): RowIndex
    fun writeIidBranch(idxs: IntArray): RowIndex
    fun writeRecencyBranch(idxBuckets: SortedMap): RowIndex

    fun end()

    override fun close()
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy