Class DebeziumDb2EndpointBuilderFactory.DebeziumDb2HeaderNameBuilder
java.lang.Object
org.apache.camel.builder.endpoint.dsl.DebeziumDb2EndpointBuilderFactory.DebeziumDb2HeaderNameBuilder
- Enclosing interface:
- DebeziumDb2EndpointBuilderFactory
The builder of headers' name for the Debezium DB2 Connector component.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionIf presents, contains the state of the row before the event occurred.If presents, the ddl sql text of the event.The identifier of the connector, normally is this format {server-name}.{database-name}.{table-name}.The key of the event, normally is the table Primary Key.If presents, the type of event operation.The metadata about the source event, for example table name, database name, log position, etc, please refer to the Debezium documentation for more info.If presents, the time (using the system clock in the JVM) at which the connector processed the event.
-
Constructor Details
-
DebeziumDb2HeaderNameBuilder
public DebeziumDb2HeaderNameBuilder()
-
-
Method Details
-
debeziumSourceMetadata
The metadata about the source event, for example table name, database name, log position, etc, please refer to the Debezium documentation for more info. The option is a:Map<String, Object>
type. Group: consumer- Returns:
- the name of the header
DebeziumSourceMetadata
.
-
debeziumIdentifier
The identifier of the connector, normally is this format {server-name}.{database-name}.{table-name}. The option is a:String
type. Group: consumer- Returns:
- the name of the header
DebeziumIdentifier
.
-
debeziumKey
The key of the event, normally is the table Primary Key. The option is a:Struct
type. Group: consumer- Returns:
- the name of the header
DebeziumKey
.
-
debeziumOperation
If presents, the type of event operation. Values for the connector are c for create (or insert), u for update, d for delete or r for read (in the case of a initial sync) or in case of a snapshot event. The option is a:String
type. Group: consumer- Returns:
- the name of the header
DebeziumOperation
.
-
debeziumTimestamp
If presents, the time (using the system clock in the JVM) at which the connector processed the event. The option is a:Long
type. Group: consumer- Returns:
- the name of the header
DebeziumTimestamp
.
-
debeziumBefore
If presents, contains the state of the row before the event occurred. The option is a:Struct
type. Group: consumer- Returns:
- the name of the header
DebeziumBefore
.
-
debeziumDdlSQL
If presents, the ddl sql text of the event. The option is a:String
type. Group: consumer- Returns:
- the name of the header
DebeziumDdlSQL
.
-