Package io.pravega.client.tables
Interface Version
-
public interface VersionVersion of a Key in a Table.
-
-
Field Summary
Fields Modifier and Type Field Description static VersionNO_VERSIONVersionthat indicates no specific version is desired.static VersionNOT_EXISTS
-
Method Summary
All Methods Static Methods Instance Methods Abstract Methods Modifier and Type Method Description io.pravega.client.tables.impl.VersionImplasImpl()Returns the actual instance.static VersionfromString(java.lang.String str)Deserializes theVersionfrom its serialized form obtained from callingtoString().java.lang.StringtoString()Serializes theVersionto a human readable string.
-
-
-
Field Detail
-
NO_VERSION
static final Version NO_VERSION
Versionthat indicates no specific version is desired. Using this will result in an unconditional update or removal being performed. SeeKeyValueTablefor details on conditional/unconditional updates.
-
NOT_EXISTS
static final Version NOT_EXISTS
Versionthat indicates theTableKeymust not exist. Using this will result in an conditional update or removal being performed, conditioned on theTableKeynot existing at the time of the operation. SeeKeyValueTablefor details on conditional/unconditional updates.
-
-
Method Detail
-
asImpl
io.pravega.client.tables.impl.VersionImpl asImpl()
Returns the actual instance. This method prevents other classes from implementing this interface.- Returns:
- Implementation of the
Versioninterface.
-
toString
java.lang.String toString()
Serializes theVersionto a human readable string.- Overrides:
toStringin classjava.lang.Object- Returns:
- A string representation of the
Version.
-
fromString
static Version fromString(java.lang.String str)
Deserializes theVersionfrom its serialized form obtained from callingtoString().
-
-