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

Method get

r/src/dataset.cpp:38–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36namespace cpp11 {
37
38const char* r6_class_name<ds::Dataset>::get(const std::shared_ptr<ds::Dataset>& dataset) {
39 auto type_name = dataset->type_name();
40
41 if (type_name == "union") {
42 return "UnionDataset";
43 } else if (type_name == "filesystem") {
44 return "FileSystemDataset";
45 } else if (type_name == "in-memory") {
46 return "InMemoryDataset";
47 } else {
48 return "Dataset";
49 }
50}
51
52const char* r6_class_name<ds::FileFormat>::get(
53 const std::shared_ptr<ds::FileFormat>& file_format) {

Callers

nothing calls this directly

Calls 1

type_nameMethod · 0.45

Tested by

no test coverage detected