Package io.debezium.pipeline.txmetadata
Class DefaultTransactionStructMaker
java.lang.Object
io.debezium.pipeline.txmetadata.AbstractTransactionStructMaker
io.debezium.pipeline.txmetadata.DefaultTransactionStructMaker
- All Implemented Interfaces:
TransactionStructMaker
public class DefaultTransactionStructMaker
extends AbstractTransactionStructMaker
implements TransactionStructMaker
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final org.apache.kafka.connect.data.SchemaFields inherited from class io.debezium.pipeline.txmetadata.AbstractTransactionStructMaker
EVENT_COUNT_PER_DATA_COLLECTION_SCHEMA, transactionKeySchema, transactionValueSchemaFields inherited from interface io.debezium.pipeline.txmetadata.TransactionStructMaker
DEBEZIUM_TRANSACTION_COLLECTION_KEY, DEBEZIUM_TRANSACTION_DATA_COLLECTION_ORDER_KEY, DEBEZIUM_TRANSACTION_DATA_COLLECTIONS_KEY, DEBEZIUM_TRANSACTION_EVENT_COUNT_KEY, DEBEZIUM_TRANSACTION_ID_KEY, DEBEZIUM_TRANSACTION_KEY, DEBEZIUM_TRANSACTION_STATUS_KEY, DEBEZIUM_TRANSACTION_TOTAL_ORDER_KEY, DEBEZIUM_TRANSACTION_TS_MS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.kafka.connect.data.SchemaGet the schema for the event count per data collectionorg.apache.kafka.connect.data.SchemaGet the schema for the transaction block in a data change eventorg.apache.kafka.connect.data.SchemaGet the schema for the transaction key of a begin/end eventorg.apache.kafka.connect.data.SchemaGet the schema for the transaction value of a begin/end eventMethods inherited from class io.debezium.pipeline.txmetadata.AbstractTransactionStructMaker
addTransactionBlock, buildBeginTransactionValue, buildEndTransactionValue, buildTransactionKeyMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.debezium.pipeline.txmetadata.TransactionStructMaker
addTransactionBlock, buildBeginTransactionValue, buildEndTransactionValue, buildTransactionKey
-
Field Details
-
TRANSACTION_BLOCK_SCHEMA
public static final org.apache.kafka.connect.data.Schema TRANSACTION_BLOCK_SCHEMA
-
-
Constructor Details
-
DefaultTransactionStructMaker
-
-
Method Details
-
getTransactionBlockSchema
public org.apache.kafka.connect.data.Schema getTransactionBlockSchema()Description copied from interface:TransactionStructMakerGet the schema for the transaction block in a data change event- Specified by:
getTransactionBlockSchemain interfaceTransactionStructMaker- Returns:
-
getEventCountPerDataCollectionSchema
public org.apache.kafka.connect.data.Schema getEventCountPerDataCollectionSchema()Description copied from interface:TransactionStructMakerGet the schema for the event count per data collection- Specified by:
getEventCountPerDataCollectionSchemain interfaceTransactionStructMaker- Overrides:
getEventCountPerDataCollectionSchemain classAbstractTransactionStructMaker- Returns:
-
getTransactionKeySchema
public org.apache.kafka.connect.data.Schema getTransactionKeySchema()Description copied from interface:TransactionStructMakerGet the schema for the transaction key of a begin/end event- Specified by:
getTransactionKeySchemain interfaceTransactionStructMaker- Overrides:
getTransactionKeySchemain classAbstractTransactionStructMaker- Returns:
-
getTransactionValueSchema
public org.apache.kafka.connect.data.Schema getTransactionValueSchema()Description copied from interface:TransactionStructMakerGet the schema for the transaction value of a begin/end event- Specified by:
getTransactionValueSchemain interfaceTransactionStructMaker- Overrides:
getTransactionValueSchemain classAbstractTransactionStructMaker- Returns:
-