Class SpringJdbcEndpointBuilderFactory.SpringJdbcHeaderNameBuilder

  • Enclosing interface:
    SpringJdbcEndpointBuilderFactory

    public static class SpringJdbcEndpointBuilderFactory.SpringJdbcHeaderNameBuilder
    extends Object
    The builder of headers' name for the Spring JDBC component.
    • Constructor Detail

      • SpringJdbcHeaderNameBuilder

        public SpringJdbcHeaderNameBuilder()
    • Method Detail

      • jdbcUpdateCount

        public String jdbcUpdateCount()
        If the query is an UPDATE, query the update count is returned in this OUT header. The option is a: int type. Group: producer
        Returns:
        the name of the header JdbcUpdateCount.
      • jdbcRowCount

        public String jdbcRowCount()
        If the query is a SELECT, query the row count is returned in this OUT header. The option is a: int type. Group: producer
        Returns:
        the name of the header JdbcRowCount.
      • jdbcColumnNames

        public String jdbcColumnNames()
        The column names from the ResultSet as a java.util.Set type. The option is a: Set<String> type. Group: producer
        Returns:
        the name of the header JdbcColumnNames.
      • jdbcParameters

        public String jdbcParameters()
        A java.util.Map which has the headers to be used if useHeadersAsParameters has been enabled. The option is a: Map type. Group: producer
        Returns:
        the name of the header JdbcParameters.
      • retrieveGeneratedKeys

        public String retrieveGeneratedKeys()
        Set its value to true to retrieve generated keys. The option is a: Boolean type. Default: false Group: producer
        Returns:
        the name of the header RetrieveGeneratedKeys.
      • generatedColumns

        public String generatedColumns()
        Set it to specify the expected generated columns. The option is a: String[] or int[] type. Group: producer
        Returns:
        the name of the header GeneratedColumns.
      • generatedKeysRowCount

        public String generatedKeysRowCount()
        The number of rows in the header that contains generated keys. The option is a: int type. Group: producer
        Returns:
        the name of the header GeneratedKeysRowCount.
      • generatedKeysRows

        public String generatedKeysRows()
        Rows that contains the generated keys. The option is a: List<Map<String, Object>> type. Group: producer
        Returns:
        the name of the header GeneratedKeysRows.