Package org.apache.camel.component.sql
Class SqlConstants
java.lang.Object
org.apache.camel.component.sql.SqlConstants
SQL Constants.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final String
String[] or int[] input header - optional Set it to specify the expected generated columns, see:static final String
Listinvalid input: '<'Mapinvalid input: '<'String, Object>> output header containing the generated keys retrievedstatic final String
int output header giving the number of rows of generated keysstatic final String
The SQL parameters when using the option useMessageBodyForSqlstatic final String
static final String
Boolean input header.static final String
static final String
-
Method Summary
-
Field Details
-
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:
-
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:
-
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:
-
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:
-
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:- See Also:
-
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:
-
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_DATAListinvalid input: '<'Mapinvalid input: '<'String, Object>> output header containing the generated keys retrieved- See Also:
-
SQL_PARAMETERS
The SQL parameters when using the option useMessageBodyForSql- See Also:
-