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

Method GetColumnIndex

cpp/src/parquet/schema.cc:891–897  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

889}
890
891int SchemaDescriptor::GetColumnIndex(const PrimitiveNode& node) const {
892 auto it = node_to_leaf_index_.find(&node);
893 if (it == node_to_leaf_index_.end()) {
894 return -1;
895 }
896 return it->second;
897}
898
899ColumnDescriptor::ColumnDescriptor(schema::NodePtr node, int16_t max_definition_level,
900 int16_t max_repetition_level,

Callers 7

TEST_PFunction · 0.45
ReadSizeStatisticsMethod · 0.45
ResolveListFunction · 0.45
NodeToSchemaFieldFunction · 0.45
ReadPageIndexesMethod · 0.45
FuzzReadPageIndexFunction · 0.45
CheckPageIndexMethod · 0.45

Calls 2

findMethod · 0.45
endMethod · 0.45

Tested by 4

TEST_PFunction · 0.36
ReadSizeStatisticsMethod · 0.36
ReadPageIndexesMethod · 0.36
CheckPageIndexMethod · 0.36