Class StreamDataProducer.RowWithKey

  • Enclosing interface:
    StreamDataProducer

    public static class StreamDataProducer.RowWithKey
    extends Object
    Helper class so the key and payload can be easily tied together instead of using a pair The class is intended for StreamDataProducer only
    • Constructor Detail

      • RowWithKey

        public RowWithKey​(@Nullable
                          byte[] key,
                          byte[] payload)
    • Method Detail

      • getKey

        public byte[] getKey()
      • getPayload

        public byte[] getPayload()
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object