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

Method get

r/src/array.cpp:28–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

26namespace cpp11 {
27
28const char* r6_class_name<arrow::Array>::get(const std::shared_ptr<arrow::Array>& array) {
29 auto type = array->type_id();
30 switch (type) {
31 case arrow::Type::DICTIONARY:
32 return "DictionaryArray";
33 case arrow::Type::STRUCT:
34 return "StructArray";
35 case arrow::Type::LIST:
36 return "ListArray";
37 case arrow::Type::LARGE_LIST:
38 return "LargeListArray";
39 case arrow::Type::FIXED_SIZE_LIST:
40 return "FixedSizeListArray";
41 case arrow::Type::MAP:
42 return "MapArray";
43 case arrow::Type::EXTENSION:
44 return "ExtensionArray";
45
46 default:
47 return "Array";
48 }
49}
50
51} // namespace cpp11
52

Callers 15

_resolve_objectFunction · 0.45
__init__Method · 0.45
_make_global_functionsFunction · 0.45
_create_file_infoMethod · 0.45
_reconstruct_blockFunction · 0.45
table_to_dataframeFunction · 0.45
_reconstruct_indexFunction · 0.45
_add_any_metadataFunction · 0.45

Calls 1

type_idMethod · 0.45

Tested by 15

__init__Method · 0.36
test_s3_real_awsFunction · 0.36
test_cython_apiFunction · 0.36
resource_rootFunction · 0.36
start_callMethod · 0.36
gdb_arrowFunction · 0.36
bool_envFunction · 0.36
hdfs_connectionFunction · 0.36