Class IndexLoadingConfig


  • public class IndexLoadingConfig
    extends Object
    Table level index loading config.
    • Constructor Detail

      • IndexLoadingConfig

        public IndexLoadingConfig()
        For tests only.
    • Method Detail

      • getReadMode

        public ReadMode getReadMode()
      • setReadMode

        public void setReadMode​(ReadMode readMode)
        For tests only.
      • getSortedColumns

        public List<String> getSortedColumns()
      • getInvertedIndexColumns

        public Set<String> getInvertedIndexColumns()
      • getRangeIndexColumns

        public Set<String> getRangeIndexColumns()
      • getRangeIndexVersion

        public int getRangeIndexVersion()
      • getFSTIndexType

        public FSTType getFSTIndexType()
      • getTextIndexColumns

        public Set<String> getTextIndexColumns()
        Used in two places: (1) In PhysicalColumnIndexContainer to create the index loading info for immutable segments (2) In LLRealtimeSegmentDataManager to create the RealtimeSegmentConfig. RealtimeSegmentConfig is used to specify the text index column info for newly to-be-created Mutable Segments
        Returns:
        a set containing names of text index columns
      • getFSTIndexColumns

        public Set<String> getFSTIndexColumns()
      • getJsonIndexColumns

        public Set<String> getJsonIndexColumns()
      • setInvertedIndexColumns

        public void setInvertedIndexColumns​(Set<String> invertedIndexColumns)
        For tests only.
      • setRangeIndexColumns

        public void setRangeIndexColumns​(Set<String> rangeIndexColumns)
        For tests only.
      • setTextIndexColumns

        public void setTextIndexColumns​(Set<String> textIndexColumns)
        Used directly from text search unit test code since the test code doesn't really have a table config and is directly testing the query execution code of text search using data from generated segments and then loading those segments.
      • setFSTIndexColumns

        public void setFSTIndexColumns​(Set<String> fstIndexColumns)
      • setFSTIndexType

        public void setFSTIndexType​(FSTType fstType)
      • setJsonIndexColumns

        public void setJsonIndexColumns​(Set<String> jsonIndexColumns)
      • setOnHeapDictionaryColumns

        public void setOnHeapDictionaryColumns​(Set<String> onHeapDictionaryColumns)
      • getNoDictionaryColumns

        public Set<String> getNoDictionaryColumns()
      • getnoDictionaryConfig

        public Map<String,​String> getnoDictionaryConfig()
      • getVarLengthDictionaryColumns

        public Set<String> getVarLengthDictionaryColumns()
      • getOnHeapDictionaryColumns

        public Set<String> getOnHeapDictionaryColumns()
      • isEnableDynamicStarTreeCreation

        public boolean isEnableDynamicStarTreeCreation()
      • isEnableDefaultStarTree

        public boolean isEnableDefaultStarTree()
      • getSegmentVersion

        @Nullable
        public SegmentVersion getSegmentVersion()
      • setSegmentVersion

        public void setSegmentVersion​(SegmentVersion segmentVersion)
        For tests only.
      • isEnableSplitCommit

        public boolean isEnableSplitCommit()
      • isEnableSplitCommitEndWithMetadata

        public boolean isEnableSplitCommitEndWithMetadata()
      • isRealtimeOffHeapAllocation

        public boolean isRealtimeOffHeapAllocation()
      • isDirectRealtimeOffHeapAllocation

        public boolean isDirectRealtimeOffHeapAllocation()
      • getSegmentStoreURI

        public String getSegmentStoreURI()
      • setColumnMinMaxValueGeneratorMode

        public void setColumnMinMaxValueGeneratorMode​(ColumnMinMaxValueGeneratorMode columnMinMaxValueGeneratorMode)
        For tests only.
      • getRealtimeAvgMultiValueCount

        public int getRealtimeAvgMultiValueCount()
      • setTableConfig

        public void setTableConfig​(TableConfig tableConfig)
      • getSegmentDirectoryLoader

        public String getSegmentDirectoryLoader()
      • getInstanceId

        public String getInstanceId()