| Modifier and Type | Class and Description |
|---|---|
static class |
ChangeEvent.Builder<T extends ChangeEvent.Builder>
Builds a ChangeEvent
|
| Modifier | Constructor and Description |
|---|---|
protected |
ChangeEvent(Offset offset,
boolean isSnapshot,
ChangeType changeType,
Long sourceTimestampMillis) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
ChangeType |
getChangeType() |
Offset |
getOffset() |
Long |
getSourceTimestampMillis()
unordered should return a non null value. |
int |
hashCode() |
boolean |
isSnapshot() |
protected ChangeEvent(Offset offset, boolean isSnapshot, ChangeType changeType, @Nullable Long sourceTimestampMillis)
public Offset getOffset()
public boolean isSnapshot()
public ChangeType getChangeType()
@Nullable public Long getSourceTimestampMillis()
unordered should return a non null value.
and this value should be able to identify the order of the event.Copyright © 2021 CDAP Licensed under the Apache License, Version 2.0.