Interface DataSource
-
public interface DataSourceTheDataSourcecontains all the indexes and metadata for a column for query execution purpose.
-
-
Method Summary
Modifier and Type Method Description BloomFilterReadergetBloomFilter()Returns the bloom filter for the column if exists, ornullif not.DataSourceMetadatagetDataSourceMetadata()Returns the metadata for the column.DictionarygetDictionary()Returns the dictionary for the column if it is dictionary-encoded, ornullif not.ForwardIndexReader<?>getForwardIndex()Returns the forward index for the column.TextIndexReadergetFSTIndex()Returns the FST index for the column if exists, ornullif not.H3IndexReadergetH3Index()Returns the H3 index for the geospatial column if exists, ornullif not.InvertedIndexReader<?>getInvertedIndex()Returns the inverted index for the column if exists, ornullif not.JsonIndexReadergetJsonIndex()Returns the json index for the column if exists, ornullif not.NullValueVectorReadergetNullValueVector()Returns null value vector for the column if exists, ornullif not.RangeIndexReader<?>getRangeIndex()Returns the range index for the column if exists, ornullif not.TextIndexReadergetTextIndex()Returns the text index for the column if exists, ornullif not.
-
-
-
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, ornullif not.
-
getInvertedIndex
@Nullable InvertedIndexReader<?> getInvertedIndex()
Returns the inverted index for the column if exists, ornullif not.
-
getRangeIndex
@Nullable RangeIndexReader<?> getRangeIndex()
Returns the range index for the column if exists, ornullif not.TODO: Have a separate interface for range index.
-
getTextIndex
@Nullable TextIndexReader getTextIndex()
Returns the text index for the column if exists, ornullif not.
-
getFSTIndex
@Nullable TextIndexReader getFSTIndex()
Returns the FST index for the column if exists, ornullif not.
-
getJsonIndex
@Nullable JsonIndexReader getJsonIndex()
Returns the json index for the column if exists, ornullif not.
-
getH3Index
@Nullable H3IndexReader getH3Index()
Returns the H3 index for the geospatial column if exists, ornullif not.
-
getBloomFilter
@Nullable BloomFilterReader getBloomFilter()
Returns the bloom filter for the column if exists, ornullif not.
-
getNullValueVector
@Nullable NullValueVectorReader getNullValueVector()
Returns null value vector for the column if exists, ornullif not.
-
-