Class Value

    • Field Detail

      • INVALID_VALUE_TIMESTAMP

        public static final long INVALID_VALUE_TIMESTAMP
        See Also:
        Constant Field Values
      • GET_TIMESTAMP

        public static final com.google.common.base.Function<Value,​Long> GET_TIMESTAMP
      • GET_VALUE

        public static final com.google.common.base.Function<Value,​byte[]> GET_VALUE
    • Method Detail

      • create

        public static Value create​(byte[] contents,
                                   long timestamp)
      • createWithCopyOfData

        public static Value createWithCopyOfData​(byte[] contents,
                                                 long timestamp)
      • getContents

        @Nonnull
        public byte[] getContents()
        The contents of the value.
      • isEmpty

        public boolean isEmpty()
      • isTombstone

        public static boolean isTombstone​(byte[] value)
      • getTimestamp

        public long getTimestamp()
        The timestamp of the value.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object