Class DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbHeaderNameBuilder
- java.lang.Object
-
- org.apache.camel.builder.endpoint.dsl.DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbHeaderNameBuilder
-
- Enclosing interface:
- DebeziumMongodbEndpointBuilderFactory
public static class DebeziumMongodbEndpointBuilderFactory.DebeziumMongodbHeaderNameBuilder extends Object
The builder of headers' name for the Debezium MongoDB Connector component.
-
-
Constructor Summary
Constructors Constructor Description DebeziumMongodbHeaderNameBuilder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
debeziumBefore()
If presents, contains the state of the row before the event occurred.String
debeziumDdlSQL()
If presents, the ddl sql text of the event.String
debeziumIdentifier()
The identifier of the connector, normally is this format {server-name}.{database-name}.{table-name}.String
debeziumKey()
The key of the event, normally is the table Primary Key.String
debeziumOperation()
If presents, the type of event operation.String
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.String
debeziumTimestamp()
If presents, the time (using the system clock in the JVM) at which the connector processed the event.
-
-
-
Method Detail
-
debeziumSourceMetadata
public String 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
public String 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
public String 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
public String 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
public String 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
public String 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
public String 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
.
-
-