Class SerializablePairLongStringSimpleStagedSerde

  • All Implemented Interfaces:
    StagedSerde<SerializablePairLongString>

    public class SerializablePairLongStringSimpleStagedSerde
    extends AbstractSerializablePairLongObjectSimpleStagedSerde<SerializablePairLongString>
    serializes a Long/String pair as Long:Integer:bytes

    or Long:StringSize:StringData 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