Class ChangelogInfo
Object
org.apache.spark.sql.connector.catalog.ChangelogInfo
Encapsulates the parameters of a Change Data Capture (CDC) query, passed from the
parser / DataFrame API to the catalog's
TableCatalog.loadChangelog(Identifier, ChangelogInfo) method.- Since:
- 4.2.0
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumDeduplication modes controlling how Spark post-processes raw change data. -
Constructor Summary
ConstructorsConstructorDescriptionChangelogInfo(ChangelogRange range, ChangelogInfo.DeduplicationMode deduplicationMode, boolean computeUpdates) -
Method Summary
-
Constructor Details
-
ChangelogInfo
public ChangelogInfo(ChangelogRange range, ChangelogInfo.DeduplicationMode deduplicationMode, boolean computeUpdates)
-
-
Method Details
-
range
Returns the version/timestamp range for this CDC query. -
deduplicationMode
Returns the deduplication mode for this CDC query. -
computeUpdates
public boolean computeUpdates()Whether to derive update_preimage/update_postimage from insert/delete pairs. -
equals
-
hashCode
public int hashCode() -
toString
-