aboutsummaryrefslogtreecommitdiffstats
path: root/yql/essentials/minikql/computation/mkql_spiller_factory.h
blob: 0d6dffe67341dc793b72adab6413f941459a2379 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#pragma once

#include "mkql_spiller.h"

namespace NYql::NDq {
struct TSpillingTaskCounters;
}

namespace NKikimr::NMiniKQL {

class ISpillerFactory : private TNonCopyable
{
public:
    virtual ISpiller::TPtr CreateSpiller() = 0;

    virtual void SetTaskCounters(const TIntrusivePtr<NYql::NDq::TSpillingTaskCounters>& spillingTaskCounters) = 0;

    virtual ~ISpillerFactory(){}
};

}//namespace NKikimr::NMiniKQL