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

Method WithType

cpp/src/arrow/type.cc:329–331  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

327}
328
329std::shared_ptr<Field> Field::WithType(const std::shared_ptr<DataType>& type) const {
330 return std::make_shared<Field>(name_, type, nullable_, metadata_);
331}
332
333std::shared_ptr<Field> Field::WithName(const std::string& name) const {
334 return std::make_shared<Field>(name, type_, nullable_, metadata_);

Callers 15

ConvertCategoricalsFunction · 0.80
FlushMethod · 0.80
TESTFunction · 0.80
CastMethod · 0.80
ARROW_ASSIGN_OR_RAISEFunction · 0.80
MakeBatchesFromNumStringFunction · 0.80
RunEndEncodeTableColumnsFunction · 0.80
FinishMethod · 0.80
InferFunction · 0.80
typeMethod · 0.80
typeMethod · 0.80

Calls

no outgoing calls

Tested by 3

TESTFunction · 0.64
MakeBatchesFromNumStringFunction · 0.64
RunEndEncodeTableColumnsFunction · 0.64