mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-23 16:22:15 +00:00
these unused includes were identified by clangd. see https://clangd.llvm.org/guides/include-cleaner#unused-include-warning for more details on the "Unused include" warning. Signed-off-by: Kefu Chai <kefu.chai@scylladb.com> Closes scylladb/scylladb#16791
30 lines
537 B
C++
30 lines
537 B
C++
/*
|
|
* Modified by ScyllaDB
|
|
*
|
|
* Copyright (C) 2017-present ScyllaDB
|
|
*/
|
|
|
|
/*
|
|
* SPDX-License-Identifier: (AGPL-3.0-or-later and Apache-2.0)
|
|
*/
|
|
|
|
#pragma once
|
|
|
|
#include "cql3/functions/function.hh"
|
|
#include <seastar/core/print.hh>
|
|
|
|
namespace cql3 {
|
|
namespace functions {
|
|
|
|
/*
|
|
* Support for CAST(. AS .) functions.
|
|
*/
|
|
|
|
using castas_fctn = data_value(*)(data_value);
|
|
|
|
castas_fctn get_castas_fctn(data_type to_type, data_type from_type);
|
|
::shared_ptr<function> get_castas_fctn_as_cql3_function(data_type to_type, data_type from_type);
|
|
|
|
}
|
|
}
|