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

Method AddLength

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

Source from the content-addressed store, hash-verified

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

Callers 3

TESTFunction · 0.45
EncodeAndAppendMethod · 0.45
ConsumeImplMethod · 0.45

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.36