Interface InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
-
- All Superinterfaces:
org.apache.camel.builder.EndpointProducerBuilder
,org.apache.camel.EndpointProducerResolver
- Enclosing interface:
- InfluxDbEndpointBuilderFactory
public static interface InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder extends org.apache.camel.builder.EndpointProducerBuilder
Builder for endpoint for the InfluxDB component.
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default InfluxDbEndpointBuilderFactory.AdvancedInfluxDbEndpointBuilder
advanced()
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
batch(boolean batch)
Define if this operation is a batch operation or not.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
batch(String batch)
Define if this operation is a batch operation or not.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
databaseName(String databaseName)
The name of the database where the time series will be stored.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message).default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message).default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
operation(String operation)
Define if this operation is an insert or a query.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
query(String query)
Define the query in case of operation query.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
retentionPolicy(String retentionPolicy)
The string that defines the retention policy to the data created by the endpoint.
-
-
-
Method Detail
-
advanced
default InfluxDbEndpointBuilderFactory.AdvancedInfluxDbEndpointBuilder advanced()
-
batch
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder batch(boolean batch)
Define if this operation is a batch operation or not. The option is a:boolean
type. Default: false Group: producer
-
batch
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder batch(String batch)
Define if this operation is a batch operation or not. The option will be converted to aboolean
type. Default: false Group: producer
-
databaseName
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder databaseName(String databaseName)
The name of the database where the time series will be stored. The option is a:java.lang.String
type. Group: producer
-
lazyStartProducer
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder lazyStartProducer(boolean lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option is a:boolean
type. Default: false Group: producer
-
lazyStartProducer
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder lazyStartProducer(String lazyStartProducer)
Whether the producer should be started lazy (on the first message). By starting lazy you can use this to allow CamelContext and routes to startup in situations where a producer may otherwise fail during starting and cause the route to fail being started. By deferring this startup to be lazy then the startup failure can be handled during routing messages via Camel's routing error handlers. Beware that when the first message is processed then creating and starting the producer may take a little time and prolong the total processing time of the processing. The option will be converted to aboolean
type. Default: false Group: producer
-
operation
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder operation(String operation)
Define if this operation is an insert or a query. The option is a:java.lang.String
type. Default: insert Group: producer
-
query
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder query(String query)
Define the query in case of operation query. The option is a:java.lang.String
type. Group: producer
-
retentionPolicy
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder retentionPolicy(String retentionPolicy)
The string that defines the retention policy to the data created by the endpoint. The option is a:java.lang.String
type. Default: default Group: producer
-
-