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

Method ParseWithCallable

cpp/src/arrow/util/rle_encoding_internal.h:672–680  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

670
671template <typename Callable>
672void RleBitPackedParser::ParseWithCallable(Callable&& func) {
673 struct {
674 Callable func;
675 auto OnBitPackedRun(BitPackedRun run) { return func(std::move(run)); }
676 auto OnRleRun(RleRun run) { return func(std::move(run)); }
677 } handler{std::move(func)};
678
679 return Parse(std::move(handler));
680}
681
682namespace internal {
683/// The maximal unsigned size that a variable can fit.

Callers 4

GetBatchMethod · 0.80
GetBatchMethod · 0.80
GetSpacedMethod · 0.80
GetBatchWithDictMethod · 0.80

Calls 1

ParseFunction · 0.50

Tested by

no test coverage detected