Class IndexLoadingConfig
- java.lang.Object
-
- org.apache.pinot.segment.local.segment.index.loader.IndexLoadingConfig
-
public class IndexLoadingConfig extends Object
Table level index loading config.
-
-
Field Summary
Fields Modifier and Type Field Description static StringREAD_MODE_KEY
-
Constructor Summary
Constructors Constructor Description IndexLoadingConfig()For tests only.IndexLoadingConfig(InstanceDataManagerConfig instanceDataManagerConfig, TableConfig tableConfig)
-
Method Summary
-
-
-
Field Detail
-
READ_MODE_KEY
public static final String READ_MODE_KEY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
IndexLoadingConfig
public IndexLoadingConfig(InstanceDataManagerConfig instanceDataManagerConfig, TableConfig tableConfig)
-
IndexLoadingConfig
public IndexLoadingConfig()
For tests only.
-
-
Method Detail
-
getReadMode
public ReadMode getReadMode()
-
setReadMode
public void setReadMode(ReadMode readMode)
For tests only.
-
getRangeIndexVersion
public int getRangeIndexVersion()
-
getFSTIndexType
public FSTType getFSTIndexType()
-
getTextIndexColumns
public Set<String> getTextIndexColumns()
Used in two places: (1) InPhysicalColumnIndexContainerto 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
-
getH3IndexConfigs
public Map<String,H3IndexConfig> getH3IndexConfigs()
-
setColumnProperties
public void setColumnProperties(Map<String,Map<String,String>> columnProperties)
-
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.
-
setFSTIndexType
public void setFSTIndexType(FSTType fstType)
-
setH3IndexConfigs
public void setH3IndexConfigs(Map<String,H3IndexConfig> h3IndexConfigs)
-
setBloomFilterConfigs
public void setBloomFilterConfigs(Map<String,BloomFilterConfig> bloomFilterConfigs)
-
setOnHeapDictionaryColumns
public void setOnHeapDictionaryColumns(Set<String> onHeapDictionaryColumns)
-
getBloomFilterConfigs
public Map<String,BloomFilterConfig> getBloomFilterConfigs()
-
isEnableDynamicStarTreeCreation
public boolean isEnableDynamicStarTreeCreation()
-
getStarTreeIndexConfigs
@Nullable public List<StarTreeIndexConfig> getStarTreeIndexConfigs()
-
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()
-
getColumnMinMaxValueGeneratorMode
public ColumnMinMaxValueGeneratorMode getColumnMinMaxValueGeneratorMode()
-
getSegmentStoreURI
public String getSegmentStoreURI()
-
setColumnMinMaxValueGeneratorMode
public void setColumnMinMaxValueGeneratorMode(ColumnMinMaxValueGeneratorMode columnMinMaxValueGeneratorMode)
For tests only.
-
getRealtimeAvgMultiValueCount
public int getRealtimeAvgMultiValueCount()
-
getTableConfig
public TableConfig getTableConfig()
-
setTableConfig
public void setTableConfig(TableConfig tableConfig)
-
getSegmentDirectoryLoader
public String getSegmentDirectoryLoader()
-
getSegmentDirectoryConfigs
public PinotConfiguration getSegmentDirectoryConfigs()
-
getInstanceId
public String getInstanceId()
-
-