Interface ChangelogRange
- All Known Implementing Classes:
ChangelogRange.TimestampRange,ChangelogRange.UnboundedRange,ChangelogRange.VersionRange
@Evolving
public sealed interface ChangelogRange
permits ChangelogRange.VersionRange, ChangelogRange.TimestampRange, ChangelogRange.UnboundedRange
Represents the version or timestamp range for a Change Data Capture (CDC) query.
This sealed interface has three implementations:
ChangelogRange.VersionRange— range defined by version identifiersChangelogRange.TimestampRange— range defined by timestampsChangelogRange.UnboundedRange— no boundaries (used by streaming queries)
- Since:
- 4.2.0
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic final recordA changelog range defined by timestamps.static final recordAn unbounded changelog range with no starting or ending boundaries.static final recordA changelog range defined by version identifiers. -
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the ending bound is inclusive.booleanWhether the starting bound is inclusive.
-
Method Details
-
startingBoundInclusive
boolean startingBoundInclusive()Whether the starting bound is inclusive. -
endingBoundInclusive
boolean endingBoundInclusive()Whether the ending bound is inclusive.
-