public static interface JdbcEndpointBuilderFactory.JdbcEndpointBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
| Modifier and Type | Method and Description |
|---|---|
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder |
advanced() |
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
allowNamedParameters(boolean allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
allowNamedParameters(String allowNamedParameters)
Whether to allow using named parameters in the queries.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
outputClass(String outputClass)
Specify the full package and class name to use as conversion when
outputType=SelectOne or SelectList.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
outputType(JdbcEndpointBuilderFactory.JdbcOutputType outputType)
Determines the output the producer should use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
outputType(String outputType)
Determines the output the producer should use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
parameters(Map values)
Optional parameters to the java.sql.Statement.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
parameters(String key,
Object value)
Optional parameters to the java.sql.Statement.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
readSize(int readSize)
The default maximum number of rows that can be read by a polling
query.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
readSize(String readSize)
The default maximum number of rows that can be read by a polling
query.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
resetAutoCommit(boolean resetAutoCommit)
Camel will set the autoCommit on the JDBC connection to be false,
commit the change after executed the statement and reset the
autoCommit flag of the connection at the end, if the resetAutoCommit
is true.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
resetAutoCommit(String resetAutoCommit)
Camel will set the autoCommit on the JDBC connection to be false,
commit the change after executed the statement and reset the
autoCommit flag of the connection at the end, if the resetAutoCommit
is true.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
transacted(boolean transacted)
Whether transactions are in use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
transacted(String transacted)
Whether transactions are in use.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useGetBytesForBlob(boolean useGetBytesForBlob)
To read BLOB columns as bytes instead of string data.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useGetBytesForBlob(String useGetBytesForBlob)
To read BLOB columns as bytes instead of string data.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useHeadersAsParameters(boolean useHeadersAsParameters)
Set this option to true to use the prepareStatementStrategy with
named parameters.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useHeadersAsParameters(String useHeadersAsParameters)
Set this option to true to use the prepareStatementStrategy with
named parameters.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useJDBC4ColumnNameAndLabelSemantics(boolean useJDBC4ColumnNameAndLabelSemantics)
Sets whether to use JDBC 4 or JDBC 3.0 or older semantic when
retrieving column name.
|
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder |
useJDBC4ColumnNameAndLabelSemantics(String useJDBC4ColumnNameAndLabelSemantics)
Sets whether to use JDBC 4 or JDBC 3.0 or older semantic when
retrieving column name.
|
default JdbcEndpointBuilderFactory.AdvancedJdbcEndpointBuilder advanced()
default JdbcEndpointBuilderFactory.JdbcEndpointBuilder allowNamedParameters(boolean allowNamedParameters)
boolean type.
Default: true
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder allowNamedParameters(String allowNamedParameters)
boolean type.
Default: true
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder lazyStartProducer(String lazyStartProducer)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder outputClass(String outputClass)
java.lang.String type.
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder outputType(JdbcEndpointBuilderFactory.JdbcOutputType outputType)
org.apache.camel.component.jdbc.JdbcOutputType type.
Default: SelectList
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder outputType(String outputType)
org.apache.camel.component.jdbc.JdbcOutputType type.
Default: SelectList
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder parameters(String key, Object value)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the parameters(String,
Object) method to add a value (call the method multiple times to set
more values).
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder parameters(Map values)
java.util.Map<java.lang.String,
java.lang.Object> type.
The option is multivalued, and you can use the parameters(String,
Object) method to add a value (call the method multiple times to set
more values).
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder readSize(int readSize)
int type.
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder readSize(String readSize)
int type.
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder resetAutoCommit(boolean resetAutoCommit)
boolean type.
Default: true
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder resetAutoCommit(String resetAutoCommit)
boolean type.
Default: true
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder transacted(boolean transacted)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder transacted(String transacted)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useGetBytesForBlob(boolean useGetBytesForBlob)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useGetBytesForBlob(String useGetBytesForBlob)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useHeadersAsParameters(boolean useHeadersAsParameters)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useHeadersAsParameters(String useHeadersAsParameters)
boolean type.
Default: false
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useJDBC4ColumnNameAndLabelSemantics(boolean useJDBC4ColumnNameAndLabelSemantics)
boolean type.
Default: true
Group: producerdefault JdbcEndpointBuilderFactory.JdbcEndpointBuilder useJDBC4ColumnNameAndLabelSemantics(String useJDBC4ColumnNameAndLabelSemantics)
boolean type.
Default: true
Group: producerApache Camel