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

Function NewGroup

cpp/src/parquet/schema_test.cc:59–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

57}
58
59static inline SchemaElement NewGroup(const std::string& name,
60 FieldRepetitionType::type repetition,
61 int num_children, int field_id = -1) {
62 SchemaElement result;
63 result.__set_name(name);
64 result.__set_repetition_type(repetition);
65 result.__set_num_children(num_children);
66
67 if (field_id >= 0) {
68 result.__set_field_id(field_id);
69 }
70
71 return result;
72}
73
74template <typename NodeType>
75static void CheckNodeRoundtrip(const Node& node) {

Callers 1

TEST_FFunction · 0.85

Calls 4

__set_nameMethod · 0.80
__set_repetition_typeMethod · 0.80
__set_num_childrenMethod · 0.80
__set_field_idMethod · 0.80

Tested by

no test coverage detected