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

Function NewGroup

cpp/src/parquet/schema_test.cc:57–70  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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