Interface DataSource


  • public interface DataSource
    The DataSource contains all the indexes and metadata for a column for query execution purpose.
    • Method Detail

      • getDataSourceMetadata

        DataSourceMetadata getDataSourceMetadata()
        Returns the metadata for the column.
      • getForwardIndex

        ForwardIndexReader<?> getForwardIndex()
        Returns the forward index for the column. The forward index can be either dictionary-encoded or raw.
      • getDictionary

        @Nullable
        Dictionary getDictionary()
        Returns the dictionary for the column if it is dictionary-encoded, or null if not.
      • getInvertedIndex

        @Nullable
        InvertedIndexReader<?> getInvertedIndex()
        Returns the inverted index for the column if exists, or null if not.
      • getRangeIndex

        @Nullable
        RangeIndexReader<?> getRangeIndex()
        Returns the range index for the column if exists, or null if not.

        TODO: Have a separate interface for range index.

      • getTextIndex

        @Nullable
        TextIndexReader getTextIndex()
        Returns the text index for the column if exists, or null if not.
      • getFSTIndex

        @Nullable
        TextIndexReader getFSTIndex()
        Returns the FST index for the column if exists, or null if not.
      • getJsonIndex

        @Nullable
        JsonIndexReader getJsonIndex()
        Returns the json index for the column if exists, or null if not.
      • getH3Index

        @Nullable
        H3IndexReader getH3Index()
        Returns the H3 index for the geospatial column if exists, or null if not.
      • getBloomFilter

        @Nullable
        BloomFilterReader getBloomFilter()
        Returns the bloom filter for the column if exists, or null if not.
      • getNullValueVector

        @Nullable
        NullValueVectorReader getNullValueVector()
        Returns null value vector for the column if exists, or null if not.