#pragma once #include namespace NYql { class TPgInRange { public: class TCallState { public: virtual ~TCallState() = default; virtual NUdf::TUnboxedValue Call(NUdf::TUnboxedValue tailval, NUdf::TUnboxedValue currval, NUdf::TUnboxedValue offset, bool sub, bool less) const = 0; }; TPgInRange(ui32 procId, NKikimr::NMiniKQL::TPgType* columnType, NKikimr::NMiniKQL::TPgType* offsetType); TPgInRange(TPgInRange&&) noexcept; TPgInRange& operator=(TPgInRange&&) noexcept; ~TPgInRange(); THolder MakeCallState() const; private: class TImpl; THolder Impl_; }; } // namespace NYql