Skip to content

Commit 1b0d187

Browse files
Gazizonokiblinkov
authored andcommitted
Change C++ SDK namespace from V3 to Dev (#15478)
1 parent e71349b commit 1b0d187

File tree

296 files changed

+454
-385
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+454
-385
lines changed

ydb/core/base/appdata_fwd.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ namespace NMonitoring {
114114
class TBusNgMonPage;
115115
}
116116

117-
namespace NYdb::inline V3 {
117+
namespace NYdb::inline Dev {
118118
class TDriver;
119119
}
120120

ydb/core/persqueue/events/internal.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@
2222
#include <ydb/public/api/protos/persqueue_error_codes_v1.pb.h>
2323
#include <util/generic/maybe.h>
2424

25-
namespace NYdb::inline V3 {
25+
namespace NYdb::inline Dev {
2626
class ICredentialsProviderFactory;
2727
}
2828

ydb/library/arrow_parquet/result_set_parquet_printer.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
#include <string>
77

88
namespace NYdb {
9-
inline namespace V3 {
9+
inline namespace Dev {
1010
class TResultSet;
1111
}
1212

ydb/library/backup/backup.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class TRegExMatch;
1111

1212
namespace NYdb {
1313

14-
inline namespace V3 {
14+
inline namespace Dev {
1515
class TDriver;
1616
class TResultSetParser;
1717
class TValue;

ydb/public/lib/idx_test/idx_test_common.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <ydb-cpp-sdk/client/table/table.h>
44

55
using namespace NYdb;
6-
using namespace NYdb::V3::NTable;
6+
using namespace NYdb::Dev::NTable;
77

88
namespace NIdxTest {
99

ydb/public/lib/ydb_cli/commands/topic_operations_scenario.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
class TLogBackend;
1616
class TLog;
1717

18-
namespace NYdb::inline V3 {
18+
namespace NYdb::inline Dev {
1919

2020
class TDriver;
2121
class TParams;
2222

2323
}
2424

25-
namespace NYdb::inline V3::NTable {
25+
namespace NYdb::inline Dev::NTable {
2626

2727
class TSession;
2828
class TTableClient;

ydb/public/lib/ydb_cli/commands/ydb_common.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,20 +6,20 @@
66
namespace NYdb {
77
namespace NConsoleClient {
88

9-
inline void ThrowOnError(const NYdb::V3::TOperation& operation) {
9+
inline void ThrowOnError(const NYdb::Dev::TOperation& operation) {
1010
if (!operation.Ready())
1111
return;
1212
NStatusHelpers::ThrowOnError(operation.Status());
1313
}
1414

15-
inline bool ThrowOnErrorAndCheckEOS(NYdb::V3::TStreamPartStatus status) {
15+
inline bool ThrowOnErrorAndCheckEOS(NYdb::Dev::TStreamPartStatus status) {
1616
if (!status.IsSuccess()) {
1717
if (status.EOS()) {
1818
return true;
1919
}
20-
throw NStatusHelpers::TYdbErrorException(status) << static_cast<NYdb::V3::TStatus>(status);
20+
throw NStatusHelpers::TYdbErrorException(status) << static_cast<NYdb::Dev::TStatus>(status);
2121
} else if (status.GetIssues()) {
22-
Cerr << static_cast<NYdb::V3::TStatus>(status);
22+
Cerr << static_cast<NYdb::Dev::TStatus>(status);
2323
}
2424
return false;
2525
}

ydb/public/lib/ydb_cli/commands/ydb_ping.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
namespace NYdb {
99

10-
inline namespace V3 {
10+
inline namespace Dev {
1111
namespace NQuery {
1212
class TQueryClient;
1313
class TSession;

ydb/public/lib/ydb_cli/commands/ydb_sdk_core_access.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
#include <ydb/public/sdk/cpp/src/client/types/core_facility/core_facility.h>
44
#include <memory>
55

6-
namespace NYdb::inline V3 {
6+
namespace NYdb::inline Dev {
77
class TDriver;
88
}
99

ydb/public/lib/ydb_cli/common/aws.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
#include <util/generic/maybe.h>
88
#include <util/system/env.h>
99

10-
namespace NYdb::inline V3::NImport {
10+
namespace NYdb::inline Dev::NImport {
1111
struct TImportFromS3Settings;
1212
}
1313

0 commit comments

Comments
 (0)