can return nullptr if this feature is unavailable * (ignored or this data provider contains only subset of features) */
| 478 | * (ignored or this data provider contains only subset of features) |
| 479 | */ |
| 480 | TMaybeData<const THashedCatValuesHolder*> GetCatFeature(ui32 catFeatureIdx) const { |
| 481 | return MakeMaybeData<const THashedCatValuesHolder>(Data.CatFeatures[catFeatureIdx]); |
| 482 | } |
| 483 | |
| 484 | void SetCatFeature(ui32 catFeatureIdx, THolder<THashedCatValuesHolder>&& newFeatureValues) { |
| 485 | Data.CatFeatures[catFeatureIdx] = std::move(newFeatureValues); |
no outgoing calls