aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhor911 <hor911@ydb.tech>2023-09-25 14:11:21 +0300
committerhor911 <hor911@ydb.tech>2023-09-25 15:32:05 +0300
commit6d6f24fa8c8b64387a8250e3cc5f17fbbd6a71c8 (patch)
tree7c9a82ef3849b3193766bfdc07fa49c2b6b38b72
parentea3d7713c703fce4bcd221922f95349df72bdf48 (diff)
downloadydb-6d6f24fa8c8b64387a8250e3cc5f17fbbd6a71c8.tar.gz
Remove legacy unused class
-rw-r--r--ydb/library/yql/dq/runtime/dq_tasks_runner.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/ydb/library/yql/dq/runtime/dq_tasks_runner.h b/ydb/library/yql/dq/runtime/dq_tasks_runner.h
index 7801b8582d..b50f2b6f51 100644
--- a/ydb/library/yql/dq/runtime/dq_tasks_runner.h
+++ b/ydb/library/yql/dq/runtime/dq_tasks_runner.h
@@ -148,35 +148,6 @@ struct TDqTaskRunnerStats : public TTaskRunnerStatsBase {
}
};
-struct TDqTaskRunnerStatsInplace : public TTaskRunnerStatsBase {
- // all stats are owned by this object
- TVector<THolder<TDqInputChannelStats>> InputChannelHolder;
- TVector<THolder<TDqAsyncInputBufferStats>> SourceHolder;
- TVector<THolder<TDqOutputChannelStats>> OutputChannelHolder;
-
- template<typename TStat>
- static TStat* GetOrCreate(THashMap<ui64, const TStat*>& mapper, TVector<THolder<TStat>>& holder, ui64 statIdx) {
- if (auto it = mapper.find(statIdx); it != mapper.end()) {
- return const_cast<TStat*>(it->second);
- }
- holder.push_back(MakeHolder<TStat>(statIdx));
- mapper[statIdx] = holder.back().Get();
- return holder.back().Get();
- }
-
- TDqInputChannelStats* MutableInputChannel(ui64 channelId) override {
- return GetOrCreate(InputChannels, InputChannelHolder, channelId);
- }
-
- TDqAsyncInputBufferStats* MutableSource(ui64 sourceId) override {
- return GetOrCreate(Sources, SourceHolder, sourceId);
- }
-
- TDqOutputChannelStats* MutableOutputChannel(ui64 channelId) override {
- return GetOrCreate(OutputChannels, OutputChannelHolder, channelId);
- }
-};
-
// Provides read access to TTaskRunnerStatsBase
// May or may not own the underlying object
class TDqTaskRunnerStatsView {