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

Method get

cpp/src/arrow/acero/schema_util.h:49–53  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

47 const int* source_to_base;
48 const int* base_to_target;
49 inline int get(int i) const {
50 assert(i >= 0 && i < num_cols);
51 assert(source_to_base[i] != kMissingField);
52 return base_to_target[source_to_base[i]];
53 }
54};
55
56/// Helper class for managing different projections of the same row schema.

Callers 15

TESTFunction · 0.45
TestUnionConversionFunction · 0.45
WriteMethod · 0.45
AppendListBatchFunction · 0.45
AppendMapBatchFunction · 0.45
AppendUnionBatchInternalFunction · 0.45
WriteListBatchFunction · 0.45
WriteMapBatchFunction · 0.45
GetOrcTypeFunction · 0.45
EncodeBatchMethod · 0.45
ProbeBatch_OutputOneMethod · 0.45

Calls

no outgoing calls

Tested by 15

TESTFunction · 0.36
TestUnionConversionFunction · 0.36
TESTFunction · 0.36
TestSourceSinkErrorFunction · 0.36
ASSERT_OK_AND_ASSIGNFunction · 0.36
RunGroupByFunction · 0.36
DoInvalidPlanTestFunction · 0.36
TestBackpressureFunction · 0.36
TESTFunction · 0.36
ConcurrentQueueBasicTestFunction · 0.36
CheckRunOutputMethod · 0.36