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
autoCreateDatabase(boolean autoCreateDatabase)
Define if we want to auto create the database if it's not present.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
autoCreateDatabase(String autoCreateDatabase)
Define if we want to auto create the database if it's not present.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
checkDatabaseExistence(boolean checkDatabaseExistence)
Define if we want to check the database existence while starting the endpoint.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
checkDatabaseExistence(String checkDatabaseExistence)
Define if we want to check the database existence while starting the endpoint.default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder
databaseName(String databaseName)
The name of the database where the time series will be stored.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()
-
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
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder batch(boolean 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
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder batch(String 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
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder databaseName(String 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
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder operation(String 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
default InfluxDbEndpointBuilderFactory.InfluxDbEndpointBuilder query(String 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
-
-