remove some unused member function of IFunctionBase (#30260)

This commit is contained in:
Pxl
2024-01-23 17:17:39 +08:00
committed by yiguolei
parent 72f4e7e2d1
commit 02a27a587a
17 changed files with 25 additions and 166 deletions

View File

@ -89,9 +89,12 @@ public:
PreparedFunctionPtr prepare(FunctionContext* context, const Block& sample_block,
const ColumnNumbers& arguments, size_t result) const override {
return std::make_shared<JavaUdfPreparedFunction>(
std::bind<Status>(&JavaFunctionCall::execute_impl, this, std::placeholders::_1,
std::placeholders::_2, std::placeholders::_3,
std::placeholders::_4, std::placeholders::_5),
[this](auto&& PH1, auto&& PH2, auto&& PH3, auto&& PH4, auto&& PH5) {
return JavaFunctionCall::execute_impl(
std::forward<decltype(PH1)>(PH1), std::forward<decltype(PH2)>(PH2),
std::forward<decltype(PH3)>(PH3), std::forward<decltype(PH4)>(PH4),
std::forward<decltype(PH5)>(PH5));
},
fn_.name.function_name);
}
@ -102,10 +105,6 @@ public:
Status close(FunctionContext* context, FunctionContext::FunctionStateScope scope) override;
bool is_deterministic() const override { return false; }
bool is_deterministic_in_scope_of_query() const override { return false; }
bool is_use_default_implementation_for_constants() const override { return true; }
private: