Package org.apache.flink.table.connector
Class ChangelogMode
java.lang.Object
org.apache.flink.table.connector.ChangelogMode
The set of changes contained in a changelog.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classBuilder for configuring and creating instances ofChangelogMode. -
Method Summary
Modifier and TypeMethodDescriptionstatic ChangelogModeall()Shortcut for a changelog that can contain allRowKinds.booleanbooleancontainsOnly(RowKind kind) booleaninthashCode()static ChangelogModeShortcut for a simpleRowKind.INSERT-only changelog.booleanstatic ChangelogMode.BuilderBuilder for configuring and creating instances ofChangelogMode.toString()static ChangelogModeupsert()Shortcut for an upsert changelog that describes idempotent updates on a key and thus does not containRowKind.UPDATE_BEFORErows.static ChangelogModeupsert(boolean keyOnlyDeletes) Shortcut for an upsert changelog that describes idempotent updates on a key and thus does not containRowKind.UPDATE_BEFORErows.
-
Method Details
-
insertOnly
Shortcut for a simpleRowKind.INSERT-only changelog. -
upsert
Shortcut for an upsert changelog that describes idempotent updates on a key and thus does not containRowKind.UPDATE_BEFORErows. -
upsert
Shortcut for an upsert changelog that describes idempotent updates on a key and thus does not containRowKind.UPDATE_BEFORErows.- Parameters:
keyOnlyDeletes- Tells the system the DELETEs contain just the key.
-
all
Shortcut for a changelog that can contain allRowKinds. -
newBuilder
Builder for configuring and creating instances ofChangelogMode. -
getContainedKinds
-
contains
-
containsOnly
-
keyOnlyDeletes
public boolean keyOnlyDeletes() -
equals
-
hashCode
public int hashCode() -
toString
-