Class PropagateSourceTypeToSchemaParameter

    • Constructor Detail

      • PropagateSourceTypeToSchemaParameter

        public PropagateSourceTypeToSchemaParameter()
    • Method Detail

      • create

        public ValueConverter create​(Column column)
        Description copied from interface: ColumnMapper
        Create for the given column a function that maps values.
        Specified by:
        create in interface ColumnMapper
        Parameters:
        column - the column description; never null
        Returns:
        the function that converts the value; may be null
      • alterFieldSchema

        public void alterFieldSchema​(Column column,
                                     org.apache.kafka.connect.data.SchemaBuilder schemaBuilder)
        Description copied from interface: ColumnMapper
        Optionally annotate the schema with properties to better capture the mapping behavior.
        Specified by:
        alterFieldSchema in interface ColumnMapper
        Parameters:
        column - the column definition; never null
        schemaBuilder - the builder for the Field's schema; never null