@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
RowKind s. |
boolean |
contains(RowKind kind) |
boolean |
containsOnly(RowKind kind) |
boolean |
equals(Object o) |
Set<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()
RowKind
s.public static ChangelogMode.Builder newBuilder()
ChangelogMode
.public boolean contains(RowKind kind)
public boolean containsOnly(RowKind kind)
Copyright © 2014–2022 The Apache Software Foundation. All rights reserved.