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.ObjectDefines a modification that can be applied to aTableKeyin aKeyValueTable.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description @NonNull TableKeygetKey()TheTableKeyaffected.abstract VersiongetVersion()Gets aVersionthat may condition the modification.abstract booleanisRemoval()Gets a value indicating whether this modification attempts to remove theTableKeyor not.
-
-
-
Method Detail
-
isRemoval
public abstract boolean isRemoval()
Gets a value indicating whether this modification attempts to remove theTableKeyor not.- Returns:
- True if removal, false otherwise.
-
getVersion
@Nullable public abstract Version getVersion()
Gets aVersionthat may condition the modification. SeeKeyValueTablefor details on conditional updates.- Returns:
- The
Version.
-
-