Class SerializablePairLongStringDeltaEncodedStagedSerde

  • All Implemented Interfaces:
    StagedSerde<SerializablePairLongString>

    public class SerializablePairLongStringDeltaEncodedStagedSerde
    extends AbstractSerializablePairLongObjectDeltaEncodedStagedSerde<SerializablePairLongString>
    serializes a Long/String pair in the context of a column/segment. Uses the minValue to perform delta encoding/decoding and if the range of the segment fits in an integer (useIntegerDelta), the format is Integer:Integer:bytes otherwise Long:Integer:bytes The StringSize can be following: -1 : Denotes an empty string 0 : Denotes a null string >0 : Denotes a non-empty string Mapping of null and empty string is done weirdly to preserve backward compatibility when nulls were returned all the time, and there was no distinction between empty and null string