@@ -228,8 +228,8 @@ class TChangefeedDescription {
228
228
TChangefeedDescription& WithInitialScan ();
229
229
// Attributes
230
230
TChangefeedDescription& AddAttribute (const std::string& key, const std::string& value);
231
- TChangefeedDescription& SetAttributes (const THashMap <std::string, std::string>& attrs);
232
- TChangefeedDescription& SetAttributes (THashMap <std::string, std::string>&& attrs);
231
+ TChangefeedDescription& SetAttributes (const std::unordered_map <std::string, std::string>& attrs);
232
+ TChangefeedDescription& SetAttributes (std::unordered_map <std::string, std::string>&& attrs);
233
233
// Value that will be emitted in the `awsRegion` field of the record in DynamoDBStreamsJson format
234
234
TChangefeedDescription& WithAwsRegion (const std::string& value);
235
235
@@ -240,7 +240,7 @@ class TChangefeedDescription {
240
240
bool GetVirtualTimestamps () const ;
241
241
const std::optional<TDuration>& GetResolvedTimestamps () const ;
242
242
bool GetInitialScan () const ;
243
- const THashMap <std::string, std::string>& GetAttributes () const ;
243
+ const std::unordered_map <std::string, std::string>& GetAttributes () const ;
244
244
const std::string& GetAwsRegion () const ;
245
245
246
246
void SerializeTo (Ydb::Table::Changefeed& proto) const ;
@@ -263,7 +263,7 @@ class TChangefeedDescription {
263
263
std::optional<TDuration> ResolvedTimestamps_;
264
264
std::optional<TDuration> RetentionPeriod_;
265
265
bool InitialScan_ = false ;
266
- THashMap <std::string, std::string> Attributes_;
266
+ std::unordered_map <std::string, std::string> Attributes_;
267
267
std::string AwsRegion_;
268
268
};
269
269
@@ -520,7 +520,7 @@ class TTableDescription {
520
520
const std::vector<TColumnFamilyDescription>& GetColumnFamilies () const ;
521
521
522
522
// Attributes
523
- const THashMap <std::string, std::string>& GetAttributes () const ;
523
+ const std::unordered_map <std::string, std::string>& GetAttributes () const ;
524
524
525
525
// Returns partitioning settings of the table
526
526
const TPartitioningSettings& GetPartitioningSettings () const ;
@@ -564,8 +564,8 @@ class TTableDescription {
564
564
void SetStorageSettings (const TStorageSettings& settings);
565
565
void AddColumnFamily (const TColumnFamilyDescription& desc);
566
566
void AddAttribute (const std::string& key, const std::string& value);
567
- void SetAttributes (const THashMap <std::string, std::string>& attrs);
568
- void SetAttributes (THashMap <std::string, std::string>&& attrs);
567
+ void SetAttributes (const std::unordered_map <std::string, std::string>& attrs);
568
+ void SetAttributes (std::unordered_map <std::string, std::string>&& attrs);
569
569
void SetCompactionPolicy (const std::string& name);
570
570
void SetUniformPartitions (ui64 partitionsCount);
571
571
void SetPartitionAtKeys (const TExplicitPartitions& keys);
@@ -787,8 +787,8 @@ class TTableBuilder {
787
787
TTableBuilder& AddColumnFamily (const TColumnFamilyDescription& desc);
788
788
789
789
TTableBuilder& AddAttribute (const std::string& key, const std::string& value);
790
- TTableBuilder& SetAttributes (const THashMap <std::string, std::string>& attrs);
791
- TTableBuilder& SetAttributes (THashMap <std::string, std::string>&& attrs);
790
+ TTableBuilder& SetAttributes (const std::unordered_map <std::string, std::string>& attrs);
791
+ TTableBuilder& SetAttributes (std::unordered_map <std::string, std::string>&& attrs);
792
792
793
793
TTableBuilder& SetCompactionPolicy (const std::string& name);
794
794
@@ -1379,7 +1379,7 @@ class TAlterAttributesBuilder {
1379
1379
1380
1380
private:
1381
1381
TAlterTableSettings& Parent_;
1382
- THashMap <std::string, std::string> AlterAttributes_;
1382
+ std::unordered_map <std::string, std::string> AlterAttributes_;
1383
1383
};
1384
1384
1385
1385
class TAlterPartitioningSettingsBuilder {
@@ -1422,7 +1422,7 @@ class TAlterPartitioningSettingsBuilder {
1422
1422
1423
1423
struct TAlterTableSettings : public TOperationRequestSettings <TAlterTableSettings> {
1424
1424
using TSelf = TAlterTableSettings;
1425
- using TAlterAttributes = THashMap <std::string, std::string>;
1425
+ using TAlterAttributes = std::unordered_map <std::string, std::string>;
1426
1426
1427
1427
TAlterTableSettings ();
1428
1428
0 commit comments