Interface ConfigurableFromIndexLoadingConfig<C extends IndexConfig>
-
- All Known Implementing Classes:
BloomIndexType,DictionaryIndexType,ForwardIndexType,FstIndexType,H3IndexType,InvertedIndexType,JsonIndexType,RangeIndexType,TextIndexType,VectorIndexType
public interface ConfigurableFromIndexLoadingConfig<C extends IndexConfig>This interface can be optionally implemented byindex typesto indicate that they can extract their configuration from an olderIndexLoadingConfigobject.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Map<String,C>fromIndexLoadingConfig(IndexLoadingConfig indexLoadingConfig)Returns a map that can be used to get the index config.
-
-
-
Method Detail
-
fromIndexLoadingConfig
Map<String,C> fromIndexLoadingConfig(IndexLoadingConfig indexLoadingConfig)
Returns a map that can be used to get the index config. This map is used with higher priority whenever the index configuration needs to be read from anIndexLoadingConfig. SometimesIndexLoadingConfigis not completely configured andIndexLoadingConfig.getAllKnownColumns()does not return all columns in the table. Therefore the returned map may not have an entry for each column in the actual schema.- Returns:
- a map whose keys are the column names and the values are the index configuration for that column.
-
-