Package org.apache.camel.component.jdbc
Class JdbcConstants
java.lang.Object
org.apache.camel.component.jdbc.JdbcConstants
JDBC Constants
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final StringString[] or int[] input header - optional Set it to specify the expected generated columns, see:static final StringListinvalid input: '<'Mapinvalid input: '<'String, Object>> output header containing the generated keys retrievedstatic final Stringint output header giving the number of rows of generated keysstatic final Stringstatic final StringBoolean input header.static final Stringstatic final String -
Method Summary
-
Field Details
-
JDBC_UPDATE_COUNT
@Metadata(label="producer", description="If the query is an `UPDATE`, query the update count is returned in this\nOUT header.", javaType="int") public static final String JDBC_UPDATE_COUNT- See Also:
-
JDBC_ROW_COUNT
@Metadata(label="producer", description="If the query is a `SELECT`, query the row count is returned in this OUT\nheader.", javaType="int") public static final String JDBC_ROW_COUNT- See Also:
-
JDBC_COLUMN_NAMES
@Metadata(label="producer", description="The column names from the ResultSet as a `java.util.Set`\ntype.", javaType="Set<String>") public static final String JDBC_COLUMN_NAMES- See Also:
-
JDBC_PARAMETERS
@Metadata(label="producer", description="A `java.util.Map` which has the headers to be used if\n`useHeadersAsParameters` has been enabled.", javaType="Map") public static final String JDBC_PARAMETERS- See Also:
-
JDBC_RETRIEVE_GENERATED_KEYS
@Metadata(label="producer", description="Set its value to true to retrieve generated keys", javaType="Boolean", defaultValue="false") public static final String JDBC_RETRIEVE_GENERATED_KEYSBoolean input header. Set its value to true to retrieve generated keys, default is false- See Also:
-
JDBC_GENERATED_COLUMNS
@Metadata(label="producer", description="Set it to specify the expected generated columns", javaType="String[] or int[]") public static final String JDBC_GENERATED_COLUMNSString[] or int[] input header - optional Set it to specify the expected generated columns, see:- See Also:
-
JDBC_GENERATED_KEYS_ROW_COUNT
@Metadata(label="producer", description="The number of rows in the header that contains generated\nkeys.", javaType="int") public static final String JDBC_GENERATED_KEYS_ROW_COUNTint output header giving the number of rows of generated keys- See Also:
-
JDBC_GENERATED_KEYS_DATA
@Metadata(label="producer", description="Rows that contains the generated keys.", javaType="List<Map<String, Object>>") public static final String JDBC_GENERATED_KEYS_DATAListinvalid input: '<'Mapinvalid input: '<'String, Object>> output header containing the generated keys retrieved- See Also:
-