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

Method AddLength

cpp/src/arrow/compute/row/row_encoder_internal.cc:66–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

64}
65
66void BooleanKeyEncoder::AddLength(const ExecValue&, int64_t batch_length,
67 int32_t* lengths) {
68 for (int64_t i = 0; i < batch_length; ++i) {
69 lengths[i] += kByteWidth + kExtraByteForNull;
70 }
71}
72
73void BooleanKeyEncoder::AddLengthNull(int32_t* length) {
74 *length += kByteWidth + kExtraByteForNull;

Callers 4

TESTFunction · 0.45
EncodeAndAppendMethod · 0.45
ConsumeImplMethod · 0.45

Calls

no outgoing calls

Tested by 2

TESTFunction · 0.36