Interface RiceDeltaEncodingOrBuilder (2.21.0)

public interface RiceDeltaEncodingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEncodedData()

public abstract ByteString getEncodedData()

The encoded deltas that are encoded using the Golomb-Rice coder.

bytes encoded_data = 4;

Returns
TypeDescription
ByteString

The encodedData.

getEntryCount()

public abstract int getEntryCount()

The number of entries that are delta encoded in the encoded data. If only a single integer was encoded, this will be zero and the single value will be stored in first_value.

int32 entry_count = 3;

Returns
TypeDescription
int

The entryCount.

getFirstValue()

public abstract long getFirstValue()

The offset of the first entry in the encoded data, or, if only a single integer was encoded, that single integer's value. If the field is empty or missing, assume zero.

int64 first_value = 1;

Returns
TypeDescription
long

The firstValue.

getRiceParameter()

public abstract int getRiceParameter()

The Golomb-Rice parameter, which is a number between 2 and 28. This field is missing (that is, zero) if num_entries is zero.

int32 rice_parameter = 2;

Returns
TypeDescription
int

The riceParameter.