diff options
author | Vitaly Isaev <vitalyisaev@ydb.tech> | 2024-12-12 15:39:00 +0000 |
---|---|---|
committer | Vitaly Isaev <vitalyisaev@ydb.tech> | 2024-12-12 15:39:00 +0000 |
commit | 827b115675004838023427572a7c69f40a86a80a (patch) | |
tree | e99c953fe494b9de8d8597a15859d77c81f118c7 /yt/cpp/mapreduce/interface | |
parent | 42701242eaf5be980cb935631586d0e90b82641c (diff) | |
parent | fab222fd8176d00eee5ddafc6bce8cb95a6e3ab0 (diff) | |
download | ydb-827b115675004838023427572a7c69f40a86a80a.tar.gz |
Merge branch 'rightlib' into rightlib_20241212
Diffstat (limited to 'yt/cpp/mapreduce/interface')
-rw-r--r-- | yt/cpp/mapreduce/interface/fwd.h | 8 | ||||
-rw-r--r-- | yt/cpp/mapreduce/interface/raw_client.h | 25 |
2 files changed, 33 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/fwd.h b/yt/cpp/mapreduce/interface/fwd.h index 485b45129a..162a6ee3e9 100644 --- a/yt/cpp/mapreduce/interface/fwd.h +++ b/yt/cpp/mapreduce/interface/fwd.h @@ -150,6 +150,7 @@ namespace NYT { // common.h //////////////////////////////////////////////////////////////////////////////// + using TMutationId = TGUID; using TTransactionId = TGUID; using TNodeId = TGUID; using TLockId = TGUID; @@ -396,5 +397,12 @@ namespace NYT { struct TRetryConfig; class IRetryConfigProvider; using IRetryConfigProviderPtr = ::TIntrusivePtr<IRetryConfigProvider>; + + //////////////////////////////////////////////////////////////////////////////// + // raw_client.h + //////////////////////////////////////////////////////////////////////////////// + + class IRawClient; + using IRawClientPtr = ::TIntrusivePtr<IRawClient>; } /// @endcond diff --git a/yt/cpp/mapreduce/interface/raw_client.h b/yt/cpp/mapreduce/interface/raw_client.h new file mode 100644 index 0000000000..b1d244ad78 --- /dev/null +++ b/yt/cpp/mapreduce/interface/raw_client.h @@ -0,0 +1,25 @@ +#pragma once + +#include "client_method_options.h" + +namespace NYT { + +//////////////////////////////////////////////////////////////////////////////// + +class IRawClient + : public virtual TThrRefBase +{ +public: + // Cypress + + virtual void Set( + TMutationId& mutationId, + const TTransactionId& transactionId, + const TYPath& path, + const TNode& value, + const TSetOptions& options = {}) = 0; +}; + +//////////////////////////////////////////////////////////////////////////////// + +} // namespace NYT |