Skip to content

Commit 0b8f172

Browse files
committed
Added temporary inline namespace V3
1 parent efddedf commit 0b8f172

File tree

244 files changed

+302
-303
lines changed

Some content is hidden

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

244 files changed

+302
-303
lines changed

include/ydb-cpp-sdk/client/common_client/settings.h

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

99
#include <optional>
1010

11-
namespace NYdb {
11+
namespace NYdb::inline V3 {
1212

1313
using TCertificateAndPrivateKey = std::pair<std::string, std::string>;
1414

include/ydb-cpp-sdk/client/common_client/ssl_credentials.h

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

33
#include <string>
44

5-
namespace NYdb {
5+
namespace NYdb::inline V3 {
66

77
struct TSslCredentials {
88
bool IsEnabled = false;

include/ydb-cpp-sdk/client/coordination/coordination.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ namespace Coordination {
1010
}
1111
}
1212

13-
namespace NYdb {
13+
namespace NYdb::inline V3 {
1414

1515
namespace NScheme {
1616
struct TPermissions;

include/ydb-cpp-sdk/client/datastreams/datastreams.h

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

55
#include <src/api/grpc/draft/ydb_datastreams_v1.pb.h>
66

7-
namespace NYdb::NDataStreams::V1 {
7+
namespace NYdb::inline V3::NDataStreams::V1 {
88

99
template<class TProtoResult>
1010
class TProtoResultWrapper : public NYdb::TStatus {

include/ydb-cpp-sdk/client/debug/client.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <ydb-cpp-sdk/client/driver/driver.h>
44

5-
namespace NYdb::NDebug {
5+
namespace NYdb::inline V3::NDebug {
66

77
////////////////////////////////////////////////////////////////////////////////
88

@@ -80,4 +80,4 @@ class TDebugClient {
8080
std::shared_ptr<TImpl> Impl_;
8181
};
8282

83-
} // namespace NYdb::NDebug
83+
} // namespace NYdb::V3::NDebug

include/ydb-cpp-sdk/client/discovery/discovery.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ namespace Discovery {
1212
} // namespace Discovery
1313
} // namespace Ydb
1414

15-
namespace NYdb {
15+
namespace NYdb::inline V3 {
1616
namespace NDiscovery {
1717

1818
////////////////////////////////////////////////////////////////////////////////
@@ -140,5 +140,5 @@ class TDiscoveryClient {
140140
std::shared_ptr<TImpl> Impl_;
141141
};
142142

143-
} // namespace NTable
144143
} // namespace NDiscovery
144+
} // namespace NYdb

include/ydb-cpp-sdk/client/draft/ydb_dynamic_config.h

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

99
#include <memory>
1010

11-
namespace NYdb::NDynamicConfig {
11+
namespace NYdb::inline V3::NDynamicConfig {
1212

1313
struct TGetConfigResult : public TStatus {
1414
TGetConfigResult(

include/ydb-cpp-sdk/client/draft/ydb_replication.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ namespace Ydb::Replication {
1313
class DescribeReplicationResult_Stats;
1414
}
1515

16-
namespace NYdb {
16+
namespace NYdb::inline V3 {
1717
class TProtoAccessor;
1818
}
1919

20-
namespace NYdb::NReplication {
20+
namespace NYdb::inline V3::NReplication {
2121

2222
class TDescribeReplicationResult;
2323
using TAsyncDescribeReplicationResult = NThreading::TFuture<TDescribeReplicationResult>;
@@ -135,7 +135,7 @@ class TReplicationDescription {
135135
};
136136

137137
class TDescribeReplicationResult: public NScheme::TDescribePathResult {
138-
friend class NYdb::TProtoAccessor;
138+
friend class NYdb::V3::TProtoAccessor;
139139
const Ydb::Replication::DescribeReplicationResult& GetProto() const;
140140

141141
public:
@@ -160,4 +160,4 @@ class TReplicationClient {
160160
std::shared_ptr<TImpl> Impl_;
161161
};
162162

163-
} // namespace NYdb::NReplication
163+
} // namespace NYdb::V3::NReplication

include/ydb-cpp-sdk/client/draft/ydb_scripting.h

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
#include <src/api/protos/ydb_query.pb.h>
55

6-
namespace NYdb {
6+
namespace NYdb::inline V3 {
77
namespace NScripting {
88

99
class TExecuteYqlResult : public TStatus {

include/ydb-cpp-sdk/client/draft/ydb_view.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ namespace Ydb::View {
77
class DescribeViewResult;
88
}
99

10-
namespace NYdb {
10+
namespace NYdb::inline V3 {
1111
class TProtoAccessor;
1212
}
1313

14-
namespace NYdb::NView {
14+
namespace NYdb::inline V3::NView {
1515

1616
class TDescribeViewResult;
1717
using TAsyncDescribeViewResult = NThreading::TFuture<TDescribeViewResult>;
@@ -31,7 +31,7 @@ class TViewDescription {
3131
};
3232

3333
class TDescribeViewResult : public NScheme::TDescribePathResult {
34-
friend class NYdb::TProtoAccessor;
34+
friend class NYdb::V3::TProtoAccessor;
3535
const Ydb::View::DescribeViewResult& GetProto() const;
3636

3737
public:
@@ -55,4 +55,4 @@ class TViewClient {
5555
std::shared_ptr<TImpl> Impl_;
5656
};
5757

58-
} // namespace NYdb::NView
58+
} // namespace NYdb::V3::NView

include/ydb-cpp-sdk/client/driver/driver.h

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

1212
////////////////////////////////////////////////////////////////////////////////
1313

14-
namespace NYdb {
14+
namespace NYdb::inline V3 {
1515

1616
class TDriver;
1717
class TGRpcConnectionsImpl;

include/ydb-cpp-sdk/client/export/export.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
#include <ydb-cpp-sdk/client/types/operation/operation.h>
55
#include <ydb-cpp-sdk/client/types/s3_settings.h>
66

7-
namespace NYdb {
7+
namespace NYdb::inline V3 {
88
namespace NExport {
99

1010
/// Common

include/ydb-cpp-sdk/client/extension_common/extension.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class ListEndpointsResult;
1212
}
1313
}
1414

15-
namespace NYdb {
15+
namespace NYdb::inline V3 {
1616

1717
class IExtensionApi {
1818
public:

include/ydb-cpp-sdk/client/extensions/discovery_mutator/discovery_mutator.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
#include <ydb-cpp-sdk/client/extension_common/extension.h>
44

5-
namespace NDiscoveryMutator {
5+
namespace NDiscoveryMutator::inline V3 {
66

77
class TDiscoveryMutator: public NYdb::IExtension {
88
public:
@@ -26,4 +26,4 @@ class TDiscoveryMutator: public NYdb::IExtension {
2626
}
2727
};
2828

29-
}; // namespace NDiscoveryModifie
29+
} // namespace NDiscoveryMutator

include/ydb-cpp-sdk/client/extensions/solomon_stats/pull_client.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <library/cpp/monlib/service/pages/mon_page.h>
99
#include <library/cpp/monlib/service/monservice.h>
1010

11-
namespace NSolomonStatExtension {
11+
namespace NSolomonStatExtension::inline V3 {
1212

1313
class TSolomonStatPullExtension: public NYdb::IExtension {
1414
public:

include/ydb-cpp-sdk/client/extensions/solomon_stats/pull_connector.h

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

55
#include <library/cpp/monlib/metrics/metric_registry.h>
66

7-
namespace NSolomonStatExtension {
7+
namespace NSolomonStatExtension::inline V3 {
88

99
template <typename TMetricRegistryPtr>
1010
class TMetricRegistryConnector: public NYdb::IExtension {

include/ydb-cpp-sdk/client/federated_topic/federated_topic.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
#include <unordered_set>
1010

11-
namespace NYdb::NFederatedTopic {
11+
namespace NYdb::inline V3::NFederatedTopic {
1212

1313
using NTopic::TPrintable;
1414
using TDbInfo = Ydb::FederationDiscovery::DatabaseInfo;
@@ -525,7 +525,7 @@ class TFederatedTopicClient {
525525

526526
} // namespace NYdb::NFederatedTopic
527527

528-
namespace NYdb::NTopic {
528+
namespace NYdb::inline V3::NTopic {
529529

530530
using namespace NFederatedTopic;
531531

include/ydb-cpp-sdk/client/helpers/helpers.h

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

33
#include <ydb-cpp-sdk/client/driver/driver.h>
44

5-
namespace NYdb {
5+
namespace NYdb::inline V3 {
66

77
//! Checks the following environment variables and creates TDriverConfig with the first appeared:
88
//! YDB_SERVICE_ACCOUNT_KEY_FILE_CREDENTIALS=<path-to-file> — service account key file,

include/ydb-cpp-sdk/client/iam/common/types.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
#include <string>
1010

1111
namespace NYdb {
12-
1312
namespace NIam {
1413

1514
constexpr std::string_view DEFAULT_ENDPOINT = "iam.api.cloud.yandex.net";

include/ydb-cpp-sdk/client/iam/iam.h

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

33
#include "common/types.h"
44

5-
namespace NYdb {
5+
namespace NYdb::inline V3 {
66

77
/// Acquire an IAM token using a local metadata service on a virtual machine.
88
TCredentialsProviderFactoryPtr CreateIamCredentialsProviderFactory(const TIamHost& params = {});

include/ydb-cpp-sdk/client/iam_private/iam.h

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

33
#include <ydb-cpp-sdk/client/iam/common/types.h>
44

5-
namespace NYdb {
5+
namespace NYdb::inline V3 {
66

77
/// Acquire an IAM token using a JSON Web Token (JWT) file name.
88
TCredentialsProviderFactoryPtr CreateIamJwtFileCredentialsProviderFactoryPrivate(const TIamJwtFilename& params);

include/ydb-cpp-sdk/client/import/import.h

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

66
#include <ydb-cpp-sdk/client/types/s3_settings.h>
77

8-
namespace NYdb {
8+
namespace NYdb::inline V3 {
99
namespace NImport {
1010

1111
/// Common

include/ydb-cpp-sdk/client/monitoring/monitoring.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ namespace Monitoring {
88
}
99
}
1010

11-
namespace NYdb {
11+
namespace NYdb::inline V3 {
1212

1313
class TProtoAccessor;
1414

@@ -33,7 +33,7 @@ struct TSelfCheckSettings : public TOperationRequestSettings<TSelfCheckSettings>
3333
};
3434

3535
class TSelfCheckResult : public TStatus {
36-
friend class NYdb::TProtoAccessor;
36+
friend class NYdb::V3::TProtoAccessor;
3737
public:
3838
TSelfCheckResult(TStatus&& status, Ydb::Monitoring::SelfCheckResult&& result);
3939
private:

include/ydb-cpp-sdk/client/operation/operation.h

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

6-
namespace NYdb {
6+
namespace NYdb::inline V3 {
77
namespace NOperation {
88

99
template <typename TOp>

include/ydb-cpp-sdk/client/params/params.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ namespace Ydb {
99
class TypedValue;
1010
}
1111

12-
namespace NYdb {
12+
namespace NYdb::inline V3 {
1313

1414
namespace NScripting {
1515
class TScriptingClient;
@@ -43,7 +43,7 @@ class TParams {
4343
friend class NExperimental::TStreamQueryClient;
4444
friend class NQuery::TExecQueryImpl;
4545
friend class NQuery::TQueryClient;
46-
friend class NYdb::TProtoAccessor;
46+
friend class NYdb::V3::TProtoAccessor;
4747
public:
4848
bool Empty() const;
4949

include/ydb-cpp-sdk/client/proto/accessor.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
#include <ydb-cpp-sdk/client/table/table.h>
2020
#include <ydb-cpp-sdk/client/topic/client.h>
2121

22-
namespace NYdb {
22+
namespace NYdb::inline V3 {
2323

2424
class TResultSet;
2525
class TValue;

include/ydb-cpp-sdk/client/query/client.h

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
#include <ydb-cpp-sdk/client/retry/retry.h>
99
#include <ydb-cpp-sdk/client/types/request_settings.h>
1010

11-
namespace NYdb {
11+
namespace NYdb::inline V3 {
1212
class TProtoAccessor;
1313

1414
namespace NRetry::Async {
@@ -21,7 +21,7 @@ namespace NYdb {
2121
} // namespace NRetry::Sync
2222
}
2323

24-
namespace NYdb::NQuery {
24+
namespace NYdb::inline V3::NQuery {
2525

2626
struct TCreateSessionSettings : public TSimpleRequestSettings<TCreateSessionSettings> {
2727
TCreateSessionSettings();
@@ -264,4 +264,4 @@ class TExecuteQueryResult : public TStatus {
264264
std::optional<TTransaction> Transaction_;
265265
};
266266

267-
} // namespace NYdb::NQuery
267+
} // namespace NYdb::V3::NQuery

include/ydb-cpp-sdk/client/query/query.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
#include <library/cpp/threading/future/future.h>
1212

13-
namespace NYdb::NQuery {
13+
namespace NYdb::inline V3::NQuery {
1414

1515
enum class ESyntax {
1616
Unspecified = 0,
@@ -186,4 +186,4 @@ class TExecuteQueryResult;
186186
using TAsyncFetchScriptResultsResult = NThreading::TFuture<TFetchScriptResultsResult>;
187187
using TAsyncExecuteQueryResult = NThreading::TFuture<TExecuteQueryResult>;
188188

189-
} // namespace NYdb::NQuery
189+
} // namespace NYdb::V3::NQuery

include/ydb-cpp-sdk/client/query/stats.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ namespace Ydb::TableStats {
1212
class QueryStats;
1313
}
1414

15-
namespace NYdb {
15+
namespace NYdb::inline V3 {
1616
class TProtoAccessor;
1717
}
1818

19-
namespace NYdb::NQuery {
19+
namespace NYdb::inline V3::NQuery {
2020

2121
class TExecStats {
22-
friend class NYdb::TProtoAccessor;
22+
friend class NYdb::V3::TProtoAccessor;
2323

2424
public:
2525
TExecStats() = default;
@@ -43,4 +43,4 @@ class TExecStats {
4343
std::shared_ptr<TImpl> Impl_;
4444
};
4545

46-
} // namespace NYdb::NQuery
46+
} // namespace NYdb::V3::NQuery

include/ydb-cpp-sdk/client/query/tx.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66

77
#include <optional>
88

9-
namespace NYdb::NQuery {
9+
namespace NYdb::inline V3::NQuery {
1010

1111
struct TTxOnlineSettings {
1212
using TSelf = TTxOnlineSettings;
@@ -108,4 +108,4 @@ struct TTxControl {
108108
: TxSettings_(txSettings) {}
109109
};
110110

111-
} // namespace NYdb::NQuery
111+
} // namespace NYdb::V3::NQuery

0 commit comments

Comments
 (0)