Package io.debezium.relational.history
Class HistoryRecord
- java.lang.Object
-
- io.debezium.relational.history.HistoryRecord
-
public class HistoryRecord extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classHistoryRecord.Fields
-
Field Summary
Fields Modifier and Type Field Description private Documentdocprivate static TableChanges.TableChangesSerializer<Array>tableChangesSerializer
-
Constructor Summary
Constructors Constructor Description HistoryRecord(Document document)HistoryRecord(Map<String,?> source, Map<String,?> position, String databaseName, String schemaName, String ddl, TableChanges changes)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected StringdatabaseName()protected Stringddl()Documentdocument()booleanisValid()Verifies that the record contains mandatory fields - source and positionprotected Documentposition()protected StringschemaName()protected Documentsource()protected ArraytableChanges()StringtoString()
-
-
-
Field Detail
-
doc
private final Document doc
-
tableChangesSerializer
private static final TableChanges.TableChangesSerializer<Array> tableChangesSerializer
-
-
Method Detail
-
document
public Document document()
-
source
protected Document source()
-
position
protected Document position()
-
databaseName
protected String databaseName()
-
schemaName
protected String schemaName()
-
ddl
protected String ddl()
-
tableChanges
protected Array tableChanges()
-
isValid
public boolean isValid()
Verifies that the record contains mandatory fields - source and position- Returns:
- false if mandatory fields are missing
-
-