Package org.apache.camel.component.sql
Class SqlConstants
- java.lang.Object
-
- org.apache.camel.component.sql.SqlConstants
-
public final class SqlConstants extends Object
SQL Constants.
-
-
Field Summary
Fields Modifier and Type Field Description static StringSQL_GENERATED_COLUMNSString[] or int[] input header - optional Set it to specify the expected generated columns, see:static StringSQL_GENERATED_KEYS_DATAList output header containing the generated keys retrievedstatic StringSQL_GENERATED_KEYS_ROW_COUNTint output header giving the number of rows of generated keysstatic StringSQL_PARAMETERSThe SQL parameters when using the option useMessageBodyForSqlstatic StringSQL_QUERYstatic StringSQL_RETRIEVE_GENERATED_KEYSBoolean input header.static StringSQL_ROW_COUNTstatic StringSQL_UPDATE_COUNT
-
-
-
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_KEYSBoolean input header. Set its value to true to retrieve generated keys, default is false- See Also:
- Constant Field Values
-
SQL_GENERATED_COLUMNS
@Metadata(label="producer", description="Set it to specify the expected generated columns", javaType="String[] or int[]") public static final String SQL_GENERATED_COLUMNSString[] or int[] input header - optional Set it to specify the expected generated columns, see:
-
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_COUNTint 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_DATAList output header containing the generated keys retrieved- See Also:
- Constant Field Values
-
SQL_PARAMETERS
@Metadata(label="producer", javaType="Iterator") public static final String SQL_PARAMETERSThe SQL parameters when using the option useMessageBodyForSql- See Also:
- Constant Field Values
-
-