Interface RiceDeltaEncodingOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    RiceDeltaEncoding, RiceDeltaEncoding.Builder

    public interface RiceDeltaEncodingOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      com.google.protobuf.ByteString getEncodedData()
      The encoded deltas that are encoded using the Golomb-Rice coder.
      int getEntryCount()
      The number of entries that are delta encoded in the encoded data.
      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.
      int getRiceParameter()
      The Golomb-Rice parameter, which is a number between 2 and 28.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getFirstValue

        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:
        The firstValue.
      • getRiceParameter

        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:
        The riceParameter.
      • getEntryCount

        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:
        The entryCount.
      • getEncodedData

        com.google.protobuf.ByteString getEncodedData()
         The encoded deltas that are encoded using the Golomb-Rice coder.
         
        bytes encoded_data = 4;
        Returns:
        The encodedData.