Interface KeyModification
-
public interface KeyModification
QueryResult for history query. Holds a transaction ID, value, timestamp, and delete marker which resulted from a history query.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getStringValue()
Returns the key's value at the time returned bygetTimestamp()
, decoded as a UTF-8 string.java.time.Instant
getTimestamp()
Returns the timestamp of the key modification entry.java.lang.String
getTxId()
Returns the transaction id.byte[]
getValue()
Returns the key's value at the time returned bygetTimestamp()
.boolean
isDeleted()
Returns the deletion marker.
-
-
-
Method Detail
-
getTxId
java.lang.String getTxId()
Returns the transaction id.- Returns:
- tx id of modification
-
getValue
byte[] getValue()
Returns the key's value at the time returned bygetTimestamp()
.- Returns:
- value
-
getStringValue
java.lang.String getStringValue()
Returns the key's value at the time returned bygetTimestamp()
, decoded as a UTF-8 string.- Returns:
- value as string
-
getTimestamp
java.time.Instant getTimestamp()
Returns the timestamp of the key modification entry.- Returns:
- timestamp
-
isDeleted
boolean isDeleted()
Returns the deletion marker.- Returns:
- is key was deleted
-
-