diff options
author | ermolovd <ermolovd@yandex-team.com> | 2023-10-16 16:11:56 +0300 |
---|---|---|
committer | ermolovd <ermolovd@yandex-team.com> | 2023-10-16 16:38:55 +0300 |
commit | 2d212baccf6419e96202b6032de33a2ab775c137 (patch) | |
tree | bfb768032710e37ee2d0e2917c2af543dd60ad36 /yt/cpp/mapreduce/interface/client.h | |
parent | d4f3485ebf6530953946184c62b06e3d92b8a5c8 (diff) | |
download | ydb-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.h | 8 |
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) |