@PublicEvolving public final class ChangelogMode extends Object
RowKind| Modifier and Type | Class and Description |
|---|---|
static class |
ChangelogMode.Builder
Builder for configuring and creating instances of
ChangelogMode. |
| Modifier and Type | Method and Description |
|---|---|
static ChangelogMode |
all()
Shortcut for a changelog that can contain all
RowKinds. |
boolean |
contains(org.apache.flink.types.RowKind kind) |
boolean |
containsOnly(org.apache.flink.types.RowKind kind) |
boolean |
equals(Object o) |
Set<org.apache.flink.types.RowKind> |
getContainedKinds() |
int |
hashCode() |
static ChangelogMode |
insertOnly()
Shortcut for a simple
RowKind.INSERT-only changelog. |
static ChangelogMode.Builder |
newBuilder()
Builder for configuring and creating instances of
ChangelogMode. |
String |
toString() |
static ChangelogMode |
upsert()
Shortcut for an upsert changelog that describes idempotent updates on a key and thus does not
contain
RowKind.UPDATE_BEFORE rows. |
public static ChangelogMode insertOnly()
RowKind.INSERT-only changelog.public static ChangelogMode upsert()
RowKind.UPDATE_BEFORE rows.public static ChangelogMode all()
RowKinds.public static ChangelogMode.Builder newBuilder()
ChangelogMode.public Set<org.apache.flink.types.RowKind> getContainedKinds()
public boolean contains(org.apache.flink.types.RowKind kind)
public boolean containsOnly(org.apache.flink.types.RowKind kind)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.