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

Method ParseWithCallable

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

Source from the content-addressed store, hash-verified

803
804template <typename Callable>
805void RleBitPackedParser::ParseWithCallable(Callable&& func) {
806 struct {
807 Callable func;
808 auto OnBitPackedRun(BitPackedRun run) { return func(std::move(run)); }
809 auto OnRleRun(RleRun run) { return func(std::move(run)); }
810 } handler{std::move(func)};
811
812 return Parse(std::move(handler));
813}
814
815namespace internal {
816/// The maximal unsigned size that a variable can fit.

Callers 3

GetBatchMethod · 0.80
ProcessValuesMethod · 0.80
GetSpacedMethod · 0.80

Calls 1

ParseFunction · 0.50

Tested by

no test coverage detected