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
Modifier and TypeMethodDescriptionadvanced()
autoCreateDatabase
(boolean autoCreateDatabase) Define if we want to auto create the database if it's not present.autoCreateDatabase
(String autoCreateDatabase) Define if we want to auto create the database if it's not present.batch
(boolean batch) Define if this operation is a batch operation or not.Define if this operation is a batch operation or not.checkDatabaseExistence
(boolean checkDatabaseExistence) Define if we want to check the database existence while starting the endpoint.checkDatabaseExistence
(String checkDatabaseExistence) Define if we want to check the database existence while starting the endpoint.databaseName
(String databaseName) The name of the database where the time series will be stored.Define if this operation is an insert or a query.Define the query in case of operation query.retentionPolicy
(String retentionPolicy) The string that defines the retention policy to the data created by the endpoint.Methods inherited from interface org.apache.camel.builder.EndpointProducerBuilder
doSetMultiValueProperties, doSetMultiValueProperty, doSetProperty, expr, getRawUri, getUri
Methods inherited from interface org.apache.camel.EndpointProducerResolver
resolve, resolve
-
Method Details
-
advanced
-
autoCreateDatabase
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder autoCreateDatabase(boolean autoCreateDatabase) Define if we want to auto create the database if it's not present. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
autoCreateDatabase
- the value to set- Returns:
- the dsl builder
-
autoCreateDatabase
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder autoCreateDatabase(String autoCreateDatabase) Define if we want to auto create the database if it's not present. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
autoCreateDatabase
- the value to set- Returns:
- the dsl builder
-
batch
Define if this operation is a batch operation or not. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
batch
- the value to set- Returns:
- the dsl builder
-
batch
Define if this operation is a batch operation or not. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
batch
- the value to set- Returns:
- the dsl builder
-
checkDatabaseExistence
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder checkDatabaseExistence(boolean checkDatabaseExistence) Define if we want to check the database existence while starting the endpoint. The option is a: <code>boolean</code> type. Default: false Group: producer- Parameters:
checkDatabaseExistence
- the value to set- Returns:
- the dsl builder
-
checkDatabaseExistence
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder checkDatabaseExistence(String checkDatabaseExistence) Define if we want to check the database existence while starting the endpoint. The option will be converted to a <code>boolean</code> type. Default: false Group: producer- Parameters:
checkDatabaseExistence
- the value to set- Returns:
- the dsl builder
-
databaseName
The name of the database where the time series will be stored. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
databaseName
- the value to set- Returns:
- the dsl builder
-
operation
Define if this operation is an insert or a query. The option is a: <code>java.lang.String</code> type. Default: insert Group: producer- Parameters:
operation
- the value to set- Returns:
- the dsl builder
-
query
Define the query in case of operation query. The option is a: <code>java.lang.String</code> type. Group: producer- Parameters:
query
- the value to set- Returns:
- the dsl builder
-
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: <code>java.lang.String</code> type. Default: default Group: producer- Parameters:
retentionPolicy
- the value to set- Returns:
- the dsl builder
-