aboutsummaryrefslogtreecommitdiffstats
path: root/yt/cpp/mapreduce/interface/client.h
diff options
context:
space:
mode:
authorermolovd <ermolovd@yandex-team.com>2023-10-16 16:11:56 +0300
committerermolovd <ermolovd@yandex-team.com>2023-10-16 16:38:55 +0300
commit2d212baccf6419e96202b6032de33a2ab775c137 (patch)
treebfb768032710e37ee2d0e2917c2af543dd60ad36 /yt/cpp/mapreduce/interface/client.h
parentd4f3485ebf6530953946184c62b06e3d92b8a5c8 (diff)
downloadydb-2d212baccf6419e96202b6032de33a2ab775c137.tar.gz
Possibility to get operation by its alias
Diffstat (limited to 'yt/cpp/mapreduce/interface/client.h')
-rw-r--r--yt/cpp/mapreduce/interface/client.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/yt/cpp/mapreduce/interface/client.h b/yt/cpp/mapreduce/interface/client.h
index 369f9e8710..2b118214d3 100644
--- a/yt/cpp/mapreduce/interface/client.h
+++ b/yt/cpp/mapreduce/interface/client.h
@@ -415,6 +415,14 @@ public:
const TGetOperationOptions& options = TGetOperationOptions()) = 0;
///
+ /// @brief Get operation attributes.
+ ///
+ /// @see [YT doc](https://ytsaurus.tech/docs/en/api/commands.html#get_operation)
+ virtual TOperationAttributes GetOperation(
+ const TString& alias,
+ const TGetOperationOptions& options = TGetOperationOptions()) = 0;
+
+ ///
/// @brief List operations satisfying given filters.
///
/// @see [YT doc](https://ytsaurus.tech/docs/en/api/commands.html#list_operations)