Package io.debezium.transforms
Class ExtractNewRecordStateTest
java.lang.Object
io.debezium.transforms.AbstractExtractStateTest
io.debezium.transforms.ExtractNewRecordStateTest
- Author:
- Jiri Pechanec
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final Stringprivate static final StringFields inherited from class io.debezium.transforms.AbstractExtractStateTest
envelope, recordSchema, sourceSchema -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.apache.kafka.connect.source.SourceRecordaddDropFieldsHeader(org.apache.kafka.connect.source.SourceRecord record, String name, List<String> values) voidvoidvoidvoidprivate StringgetSourceRecordHeaderByKey(org.apache.kafka.connect.source.SourceRecord record, String headerKey) voidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidvoidMethods inherited from class io.debezium.transforms.AbstractExtractStateTest
createComplexCreateRecord, createCreateRecord, createCreateRecordWithKey, createCreateRecordWithOptionalNull, createDeleteRecord, createTombstoneRecord, createTruncateRecord, createUnknownRecord, createUnknownUnnamedSchemaRecord, createUpdateRecord, createUpdateRecordWithKey, createUpdateRecordWithOptionalNull
-
Field Details
-
DROP_TOMBSTONES
- See Also:
-
HANDLE_DELETES
- See Also:
-
ROUTE_BY_FIELD
- See Also:
-
ADD_FIELDS
- See Also:
-
ADD_HEADERS
- See Also:
-
ADD_FIELDS_PREFIX
- See Also:
-
ADD_HEADERS_PREFIX
- See Also:
-
DROP_FIELDS_HEADER_NAME
- See Also:
-
DROP_FIELDS_FROM_KEY
- See Also:
-
DROP_FIELDS_KEEP_SCHEMA_COMPATIBLE
- See Also:
-
-
Constructor Details
-
ExtractNewRecordStateTest
public ExtractNewRecordStateTest()
-
-
Method Details
-
testTombstoneDroppedByDefault
public void testTombstoneDroppedByDefault() -
testTombstoneDroppedConfigured
public void testTombstoneDroppedConfigured() -
testTombstoneForwardConfigured
public void testTombstoneForwardConfigured() -
testTruncateDroppedByDefault
public void testTruncateDroppedByDefault() -
getSourceRecordHeaderByKey
-
testDeleteDroppedByDefault
public void testDeleteDroppedByDefault() -
testHandleDeleteDrop
public void testHandleDeleteDrop() -
testHandleDeleteNone
public void testHandleDeleteNone() -
testHandleDeleteRewrite
public void testHandleDeleteRewrite() -
testHandleCreateRewrite
public void testHandleCreateRewrite() -
testUnwrapCreateRecord
public void testUnwrapCreateRecord() -
testUnwrapCreateRecordWithOptionalDefaultValue
-
testIgnoreUnknownRecord
public void testIgnoreUnknownRecord() -
testUnwrapPropagatesRecordHeaders
-
testAddField
-
testAddTimestamp
-
testAddFields
-
testNewFieldAndHeaderMapping
-
testAddFieldsForMissingOptionalField
-
testAddFieldsSpecifyStruct
-
testAddHeader
-
testAddHeaders
-
testAddHeadersForMissingOptionalField
-
testAddHeadersSpecifyStruct
-
testAddTopicRoutingField
public void testAddTopicRoutingField() -
testUpdateTopicRoutingField
public void testUpdateTopicRoutingField() -
testDeleteTopicRoutingField
public void testDeleteTopicRoutingField() -
testAddHeadersHandleDeleteRewriteAndTombstone
-
testAddFieldNonExistantField
public void testAddFieldNonExistantField() -
testAddFieldHandleDeleteRewrite
-
testAddFieldsHandleDeleteRewrite
-
testAddFieldsHandleDeleteRewriteAndTombstone
-
testAddFieldsSpecifyStructHandleDeleteRewrite
-
testSchemaChangeEventWithOperationHeader
-
dropFieldsFromValueWithSchemaCompatibility
-
dropFieldsFromValueWithoutSchemaCompatibility
-
dropFieldsFromValueAndKeyWithSchemaCompatibility
-
dropFieldsFromValueAndKeyWithoutSchemaCompatibility
-
addDropFieldsHeader
-