folly::compression::EliasFanoReader::skipTo

Skips to the first element >= value whose position is greater or equal to the current position. Requires that value >= value() (or that the reader is positioned before the first element). Returns false if no such element exists. If kCanBeAtValue is false, the requirement above becomes value > value().

Synopsis

Declared in <folly/compression/elias_fano/EliasFanoCoding.h>

template<bool kCanBeAtValue = true>
bool
skipTo(ValueType value);

Return Value

True if an element >= value was found.

Parameters

NameDescription
valueThe value to skip to.