Interface KeyModification
-
public interface KeyModificationQueryResult 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.StringgetStringValue()Returns the key's value at the time returned bygetTimestamp(), decoded as a UTF-8 string.java.time.InstantgetTimestamp()Returns the timestamp of the key modification entry.java.lang.StringgetTxId()Returns the transaction id.byte[]getValue()Returns the key's value at the time returned bygetTimestamp().booleanisDeleted()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
-
-