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

xtdb.metadata.Metadata.kt Maven / Gradle / Ivy

The newest version!
package xtdb.metadata

import org.roaringbitmap.buffer.ImmutableRoaringBitmap
import xtdb.util.TemporalBounds
import xtdb.vector.IVectorReader

interface ITableMetadata {
   fun metadataReader() : IVectorReader

   /**
    * @return the set of column names in this metadata file for this table (i.e. not necessarily all of them).
    */
   fun columnNames() : Set

   fun rowIndex(columnName: String, pageIdx: Int) : Long
   fun iidBloomBitmap(pageIdx: Int) : ImmutableRoaringBitmap
   fun temporalBounds(pageIdx: Int) : TemporalBounds
}

data class PageIndexKey(val columnName: String, val pageIdx: Int)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy