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

Function Increment

cpp/src/parquet/level_conversion.h:81–90  ·  view source on GitHub ↗

Increments levels according to the cardinality of node.

Source from the content-addressed store, hash-verified

79
80 /// Increments levels according to the cardinality of node.
81 void Increment(const schema::Node& node) {
82 if (node.is_repeated()) {
83 IncrementRepeated();
84 return;
85 }
86 if (node.is_optional()) {
87 IncrementOptional();
88 return;
89 }
90 }
91
92 /// Increments level for a optional node.
93 void IncrementOptional() { def_level++; }

Callers

nothing calls this directly

Calls 2

IncrementRepeatedFunction · 0.85
IncrementOptionalFunction · 0.85

Tested by

no test coverage detected