Package io.pravega.client.tables
Class Insert
- java.lang.Object
-
- io.pravega.client.tables.TableModification
-
- io.pravega.client.tables.TableEntryUpdate
-
- io.pravega.client.tables.Insert
-
public final class Insert extends TableEntryUpdate
Represents an Insertion of aTableKey
(with a value) into aKeyValueTable
.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Version
getVersion()
Gets aVersion
that may condition the modification.java.lang.String
toString()
-
Methods inherited from class io.pravega.client.tables.TableEntryUpdate
getValue, isRemoval
-
Methods inherited from class io.pravega.client.tables.TableModification
getKey
-
-
-
-
Method Detail
-
getVersion
public Version getVersion()
Description copied from class:TableModification
Gets aVersion
that may condition the modification. SeeKeyValueTable
for details on conditional updates.- Specified by:
getVersion
in classTableModification
- Returns:
- The
Version
.
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-