Class ValueWithRecordId<ValueT>

  • Type Parameters:
    ValueT - the underlying value type

    @Internal
    public class ValueWithRecordId<ValueT>
    extends java.lang.Object
    For internal use only; no backwards compatibility guarantees.

    Immutable struct containing a value as well as a unique id identifying the value.

    • Constructor Detail

      • ValueWithRecordId

        public ValueWithRecordId​(ValueT value,
                                 byte[] id)
    • Method Detail

      • getValue

        public ValueT getValue()
      • getId

        public byte[] getId()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(@Nullable java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object