MCPcopy Create free account
hub / github.com/apache/arrow / CastFunction

Method CastFunction

cpp/src/arrow/compute/cast.cc:146–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

144}
145
146CastFunction::CastFunction(std::string name, Type::type out_type_id)
147 : ScalarFunction(std::move(name), Arity::Unary(), FunctionDoc::Empty()),
148 out_type_id_(out_type_id) {}
149
150Status CastFunction::AddKernel(Type::type in_type_id, ScalarKernel kernel) {
151 // We use the same KernelInit for every cast

Callers

nothing calls this directly

Calls 2

UnaryFunction · 0.85
EmptyClass · 0.50

Tested by

no test coverage detected