Interface CassandraEndpointBuilderFactory.CassandraEndpointProducerBuilder
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder,org.apache.camel.EndpointProducerResolver
- All Known Subinterfaces:
CassandraEndpointBuilderFactory.CassandraEndpointBuilder
- Enclosing interface:
CassandraEndpointBuilderFactory
public static interface CassandraEndpointBuilderFactory.CassandraEndpointProducerBuilder
extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint producers for the Cassandra CQL component.
-
Method Summary
Modifier and TypeMethodDescriptionadvanced()clusterName(String clusterName) Cluster name.CQL query to perform.datacenter(String datacenter) Datacenter to use.Password for session authentication.prepareStatements(boolean prepareStatements) Whether to use PreparedStatements or regular Statements.prepareStatements(String prepareStatements) Whether to use PreparedStatements or regular Statements.Username for session authentication.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUriMethods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
clusterName
default CassandraEndpointBuilderFactory.CassandraEndpointProducerBuilder clusterName(String clusterName) Cluster name. The option is a:java.lang.Stringtype. Group: common- Parameters:
clusterName- the value to set- Returns:
- the dsl builder
-
cql
CQL query to perform. Can be overridden with the message header with key CamelCqlQuery. The option is a:java.lang.Stringtype. Group: common- Parameters:
cql- the value to set- Returns:
- the dsl builder
-
datacenter
default CassandraEndpointBuilderFactory.CassandraEndpointProducerBuilder datacenter(String datacenter) Datacenter to use. The option is a:java.lang.Stringtype. Default: datacenter1 Group: common- Parameters:
datacenter- the value to set- Returns:
- the dsl builder
-
prepareStatements
default CassandraEndpointBuilderFactory.CassandraEndpointProducerBuilder prepareStatements(boolean prepareStatements) Whether to use PreparedStatements or regular Statements. The option is a:booleantype. Default: true Group: common- Parameters:
prepareStatements- the value to set- Returns:
- the dsl builder
-
prepareStatements
default CassandraEndpointBuilderFactory.CassandraEndpointProducerBuilder prepareStatements(String prepareStatements) Whether to use PreparedStatements or regular Statements. The option will be converted to abooleantype. Default: true Group: common- Parameters:
prepareStatements- the value to set- Returns:
- the dsl builder
-
password
Password for session authentication. The option is a:java.lang.Stringtype. Group: security- Parameters:
password- the value to set- Returns:
- the dsl builder
-
username
Username for session authentication. The option is a:java.lang.Stringtype. Group: security- Parameters:
username- the value to set- Returns:
- the dsl builder
-