MCPcopy Create free account
hub / github.com/apache/impala / GetRleValuesSkip

Method GetRleValuesSkip

be/src/util/rle-test.cc:72–79  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

70 /// Get many values from a batch RLE decoder using its low level functions.
71 template <typename T>
72 static bool GetRleValuesSkip(RleBatchDecoder<T>* decoder, int num_vals, T* vals,
73 int skip_at, int skip_count) {
74 if (!GetRleValues(decoder, skip_at, vals)) return false;
75 if (decoder->SkipValues(skip_count) != skip_count) return false;
76 int consumed = skip_at + skip_count;
77 if (!GetRleValues(decoder, num_vals - consumed, vals + skip_at)) return false;
78 return true;
79 }
80
81 /// Get many values from a batch RLE decoder using its GetValues() function.
82 template <typename T>

Callers

nothing calls this directly

Calls 1

SkipValuesMethod · 0.45

Tested by

no test coverage detected