Package io.debezium.converters
Class RecordParser.SqlserverRecordParser
- java.lang.Object
-
- io.debezium.converters.RecordParser
-
- io.debezium.converters.RecordParser.SqlserverRecordParser
-
- Enclosing class:
- RecordParser
public static final class RecordParser.SqlserverRecordParser extends RecordParser
Parser for records produced by Sql Server connectors.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.debezium.converters.RecordParser
RecordParser.MongodbRecordParser, RecordParser.MysqlRecordParser, RecordParser.PostgresRecordParser, RecordParser.SqlserverRecordParser
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static StringCHANGE_LSN_KEY(package private) static StringCOMMIT_LSN_KEY(package private) static StringEVENT_SERIAL_NO_KEY(package private) static Set<String>SQLSERVER_SOURCE_FIELD-
Fields inherited from class io.debezium.converters.RecordParser
SOURCE_FIELDS
-
-
Constructor Summary
Constructors Constructor Description SqlserverRecordParser(org.apache.kafka.connect.data.Schema schema, org.apache.kafka.connect.data.Struct record)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ObjectgetMetadata(String name)Search for metadata of the record by name, which are defined in the source field; throw a DataException if not found.-
Methods inherited from class io.debezium.converters.RecordParser
connectorType, create, data, dataSchema, op, opSchema, source, transaction, ts_ms, ts_msSchema
-
-
-
-
Field Detail
-
CHANGE_LSN_KEY
static final String CHANGE_LSN_KEY
- See Also:
- Constant Field Values
-
COMMIT_LSN_KEY
static final String COMMIT_LSN_KEY
- See Also:
- Constant Field Values
-
EVENT_SERIAL_NO_KEY
static final String EVENT_SERIAL_NO_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getMetadata
public Object getMetadata(String name)
Description copied from class:RecordParserSearch for metadata of the record by name, which are defined in the source field; throw a DataException if not found.- Specified by:
getMetadatain classRecordParser- Returns:
- metadata of the record
-
-