aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/raw_client/raw_client.h
diff options
context:
space:
mode:
authorMaxim Yurchuk <maxim-yurchuk@ydb.tech>2024-12-13 10:22:13 +0000
committerGitHub <noreply@github.com>2024-12-13 10:22:13 +0000
commite73e490feb4e1f63d097697324aa48b643a62317 (patch)
treef63fe3d15819a5148ade51609c5211251d93e425 /yt/cpp/mapreduce/raw_client/raw_client.h
parent19346460a8060a0ed4731edb192745642ff34b3d (diff)
parent4dde77404d1eae4a633d1cc3807142409a9938eb (diff)
downloadydb-e73e490feb4e1f63d097697324aa48b643a62317.tar.gz
Merge pull request #12582 from vitalyisaev2/rightlib_20241212
Merge rightlib 20241212
Diffstat (limited to 'yt/cpp/mapreduce/raw_client/raw_client.h')
-rw-r--r--yt/cpp/mapreduce/raw_client/raw_client.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/raw_client/raw_client.h b/yt/cpp/mapreduce/raw_client/raw_client.h
new file mode 100644
index 0000000000..def521a918
--- /dev/null
+++ b/yt/cpp/mapreduce/raw_client/raw_client.h
@@ -0,0 +1,33 @@
+#pragma once
+
+#include <yt/cpp/mapreduce/http/context.h>
+
+#include <yt/cpp/mapreduce/interface/client_method_options.h>
+#include <yt/cpp/mapreduce/interface/raw_client.h>
+
+namespace NYT::NDetail {
+
+////////////////////////////////////////////////////////////////////////////////
+
+class THttpRawClient
+ : public IRawClient
+{
+public:
+ THttpRawClient(const TClientContext& context);
+
+ // Cypress
+
+ void Set(
+ TMutationId& mutationId,
+ const TTransactionId& transactionId,
+ const TYPath& path,
+ const TNode& value,
+ const TSetOptions& options = {}) override;
+
+private:
+ const TClientContext Context_;
+};
+
+////////////////////////////////////////////////////////////////////////////////
+
+} // namespace NYT::NDetail