Class DebeziumSqlserverEndpointBuilderFactory.DebeziumSqlserverHeaderNameBuilder

  • Enclosing interface:
    DebeziumSqlserverEndpointBuilderFactory

    public static class DebeziumSqlserverEndpointBuilderFactory.DebeziumSqlserverHeaderNameBuilder
    extends Object
    The builder of headers' name for the Debezium SQL Server Connector component.
    • Constructor Detail

      • DebeziumSqlserverHeaderNameBuilder

        public DebeziumSqlserverHeaderNameBuilder()
    • 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.