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 Detail

      • 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
      • 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: <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - the value to set
        Returns:
        the dsl builder
      • 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 a <code>boolean</code> type. Default: false Group: producer
        Parameters:
        lazyStartProducer - 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
      • 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