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

Method GetColumnIndex

cpp/src/parquet/schema.cc:859–865  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

857}
858
859int SchemaDescriptor::GetColumnIndex(const PrimitiveNode& node) const {
860 auto it = node_to_leaf_index_.find(&node);
861 if (it == node_to_leaf_index_.end()) {
862 return -1;
863 }
864 return it->second;
865}
866
867ColumnDescriptor::ColumnDescriptor(schema::NodePtr node, int16_t max_definition_level,
868 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