Skip to content

Commit

Permalink
remove func template
Browse files Browse the repository at this point in the history
  • Loading branch information
maximyurchuk committed Jul 12, 2024
1 parent 1d0798e commit 04a8c8c
Showing 1 changed file with 35 additions and 35 deletions.
70 changes: 35 additions & 35 deletions ydb/library/yql/minikql/computation/mkql_computation_node_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -873,22 +873,22 @@ class TComputationValueBase: public TBaseExt

private:
bool HasFastListLength() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

ui64 GetListLength() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return 0;
}

ui64 GetEstimatedListLength() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return 0;
}

bool HasListItems() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

Expand Down Expand Up @@ -919,22 +919,22 @@ class TComputationValueBase: public TBaseExt
}

ui64 GetDictLength() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return 0;
}

bool HasDictItems() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

NUdf::TStringRef GetResourceTag() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return NUdf::TStringRef();
}

void* GetResource() override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return nullptr;
}

Expand All @@ -943,40 +943,40 @@ class TComputationValueBase: public TBaseExt
}

NUdf::TUnboxedValue GetListIterator() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

NUdf::TUnboxedValue GetDictIterator() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

NUdf::TUnboxedValue GetKeysIterator() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

NUdf::TUnboxedValue GetPayloadsIterator() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

bool Contains(const NUdf::TUnboxedValuePod& key) const override {
Y_UNUSED(key);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

NUdf::TUnboxedValue Lookup(const NUdf::TUnboxedValuePod& key) const override {
Y_UNUSED(key);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return NUdf::TUnboxedValuePod();
}

NUdf::TUnboxedValue GetElement(ui32 index) const override {
Y_UNUSED(index);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

Expand All @@ -990,7 +990,7 @@ class TComputationValueBase: public TBaseExt
{
Y_UNUSED(valueBuilder);
Y_UNUSED(args);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

Expand All @@ -1000,96 +1000,96 @@ class TComputationValueBase: public TBaseExt
}

bool Next(NUdf::TUnboxedValue&) override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

bool NextPair(NUdf::TUnboxedValue&, NUdf::TUnboxedValue&) override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

ui32 GetVariantIndex() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return 0;
}

NUdf::TUnboxedValue GetVariantItem() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

NUdf::EFetchStatus Fetch(NUdf::TUnboxedValue& result) override {
Y_UNUSED(result);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return NUdf::EFetchStatus::Finish;
}

ui32 GetTraverseCount() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return 0;
}

NUdf::TUnboxedValue GetTraverseItem(ui32 index) const override {
Y_UNUSED(index);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return {};
}

NUdf::TUnboxedValue Save() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return NUdf::TUnboxedValue::Zero();
}

void Load(const NUdf::TStringRef& state) override {
Y_UNUSED(state);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

bool Load2(const NUdf::TUnboxedValue& state) override {
Y_UNUSED(state);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

void Push(const NUdf::TUnboxedValuePod& value) override {
Y_UNUSED(value);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

bool IsSortedDict() const override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return false;
}

void Unused1() override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

void Unused2() override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

void Unused3() override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

void Unused4() override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

void Unused5() override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

void Unused6() override {
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
}

NUdf::EFetchStatus WideFetch(NUdf::TUnboxedValue* result, ui32 width) override {
Y_UNUSED(result);
Y_UNUSED(width);
ThrowNotSupported(__func__);
ThrowNotSupported("foo");
return NUdf::EFetchStatus::Finish;
}

Expand Down

0 comments on commit 04a8c8c

Please sign in to comment.