Package io.pravega.client.tables
Class TableModification
- java.lang.Object
-
- io.pravega.client.tables.TableModification
-
- Direct Known Subclasses:
Remove
,TableEntryUpdate
public abstract class TableModification extends java.lang.Object
Defines a modification that can be applied to aTableKey
in aKeyValueTable
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description @NonNull TableKey
getKey()
TheTableKey
affected.abstract Version
getVersion()
Gets aVersion
that may condition the modification.abstract boolean
isRemoval()
Gets a value indicating whether this modification attempts to remove theTableKey
or not.
-
-
-
Method Detail
-
isRemoval
public abstract boolean isRemoval()
Gets a value indicating whether this modification attempts to remove theTableKey
or not.- Returns:
- True if removal, false otherwise.
-
getVersion
@Nullable public abstract Version getVersion()
Gets aVersion
that may condition the modification. SeeKeyValueTable
for details on conditional updates.- Returns:
- The
Version
.
-
-