mkql_spiller_factory.h 415 B

123456789101112131415161718192021
  1. #pragma once
  2. #include "mkql_spiller.h"
  3. namespace NYql::NDq {
  4. struct TSpillingTaskCounters;
  5. }
  6. namespace NKikimr::NMiniKQL {
  7. class ISpillerFactory : private TNonCopyable
  8. {
  9. public:
  10. virtual ISpiller::TPtr CreateSpiller() = 0;
  11. virtual void SetTaskCounters(const TIntrusivePtr<NYql::NDq::TSpillingTaskCounters>& spillingTaskCounters) = 0;
  12. virtual ~ISpillerFactory(){}
  13. };
  14. }//namespace NKikimr::NMiniKQL