Files
scylladb/cql3/functions/castas_fcts.hh
Kefu Chai 2dbf044b91 cql3: do not include unused headers
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
2024-01-16 16:43:17 +02:00

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);
}
}