public enum SnapshotRecord extends Enum<SnapshotRecord>
| Enum Constant and Description |
|---|
FALSE
Record is from streaming phase.
|
LAST
Record is from snapshot is the last record generated in snapshot phase.
|
TRUE
Record is from snapshot is not the last one.
|
| Modifier and Type | Method and Description |
|---|---|
static SnapshotRecord |
fromSource(org.apache.kafka.connect.data.Struct source) |
void |
toSource(org.apache.kafka.connect.data.Struct source) |
static SnapshotRecord |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SnapshotRecord[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SnapshotRecord TRUE
public static final SnapshotRecord LAST
public static final SnapshotRecord FALSE
public static SnapshotRecord[] values()
for (SnapshotRecord c : SnapshotRecord.values()) System.out.println(c);
public static SnapshotRecord valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static SnapshotRecord fromSource(org.apache.kafka.connect.data.Struct source)
public void toSource(org.apache.kafka.connect.data.Struct source)
Copyright © 2020 JBoss by Red Hat. All rights reserved.