Class SqlConstants


  • public final class SqlConstants
    extends Object
    SQL Constants.
    • Field Detail

      • SQL_QUERY

        @Metadata(label="producer",
                  description="Query to execute. This query takes precedence over the\nquery specified in the endpoint URI. Note that query parameters in the\nheader _are_ represented by a `?` instead of a `pass:[#]` symbol",
                  javaType="String")
        public static final String SQL_QUERY
        See Also:
        Constant Field Values
      • SQL_UPDATE_COUNT

        @Metadata(label="producer",
                  description="The number of rows updated for `update` operations, returned as an\n`Integer` object. This header is not provided when using\noutputType=StreamList.",
                  javaType="Integer")
        public static final String SQL_UPDATE_COUNT
        See Also:
        Constant Field Values
      • SQL_ROW_COUNT

        @Metadata(label="producer",
                  description="The number of rows returned for `select` operations, returned as an\n`Integer` object. This header is not provided when using\noutputType=StreamList.",
                  javaType="Integer")
        public static final String SQL_ROW_COUNT
        See Also:
        Constant Field Values
      • SQL_RETRIEVE_GENERATED_KEYS

        @Metadata(label="producer",
                  description="Set its value to true to retrieve generated keys",
                  javaType="Boolean",
                  defaultValue="false")
        public static final String SQL_RETRIEVE_GENERATED_KEYS
        Boolean input header. Set its value to true to retrieve generated keys, default is false
        See Also:
        Constant Field Values
      • SQL_GENERATED_KEYS_ROW_COUNT

        @Metadata(label="producer",
                  description="The number of rows in the header that contains generated keys.",
                  javaType="Integer")
        public static final String SQL_GENERATED_KEYS_ROW_COUNT
        int output header giving the number of rows of generated keys
        See Also:
        Constant Field Values
      • SQL_GENERATED_KEYS_DATA

        @Metadata(label="producer",
                  description="Rows that contains the generated keys (a list of maps of keys).",
                  javaType="List<Map<String, Object>>")
        public static final String SQL_GENERATED_KEYS_DATA
        List> output header containing the generated keys retrieved
        See Also:
        Constant Field Values
      • SQL_PARAMETERS

        @Metadata(label="producer",
                  javaType="Iterator")
        public static final String SQL_PARAMETERS
        The SQL parameters when using the option useMessageBodyForSql
        See Also:
        Constant Field Values