Package io.debezium.relational
Record Class RelationalSnapshotChangeEventSource.PreparedTables
java.lang.Object
java.lang.Record
io.debezium.relational.RelationalSnapshotChangeEventSource.PreparedTables
- Enclosing class:
RelationalSnapshotChangeEventSource<P extends Partition,O extends OffsetContext>
private static record RelationalSnapshotChangeEventSource.PreparedTables(Map<TableId,RelationalSnapshotChangeEventSource.SnapshotSelect> queryTables, Map<TableId,OptionalLong> rowCountTables)
extends Record
Holds the prepared table information for snapshot processing.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Map<TableId, RelationalSnapshotChangeEventSource.SnapshotSelect> The field for thequeryTablesrecord component.private final Map<TableId, OptionalLong> The field for therowCountTablesrecord component. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivatePreparedTables(Map<TableId, RelationalSnapshotChangeEventSource.SnapshotSelect> queryTables, Map<TableId, OptionalLong> rowCountTables) Creates an instance of aPreparedTablesrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.Returns the value of thequeryTablesrecord component.Returns the value of therowCountTablesrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
queryTables
The field for thequeryTablesrecord component. -
rowCountTables
The field for therowCountTablesrecord component.
-
-
Constructor Details
-
PreparedTables
private PreparedTables(Map<TableId, RelationalSnapshotChangeEventSource.SnapshotSelect> queryTables, Map<TableId, OptionalLong> rowCountTables) Creates an instance of aPreparedTablesrecord class.- Parameters:
queryTables- the value for thequeryTablesrecord componentrowCountTables- the value for therowCountTablesrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
queryTables
Returns the value of thequeryTablesrecord component.- Returns:
- the value of the
queryTablesrecord component
-
rowCountTables
Returns the value of therowCountTablesrecord component.- Returns:
- the value of the
rowCountTablesrecord component
-