Class InfluxDBv2Parameters

    • Method Detail

      • fluxLogEnabled

        public final Boolean fluxLogEnabled()

        Include option to show detailed logs for Flux queries.

        Default: false

        Returns:
        Include option to show detailed logs for Flux queries.

        Default: false

      • logLevel

        public final LogLevel logLevel()

        Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.

        Default: info

        If the service returns an enum value that is not available in the current SDK version, logLevel will return LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from logLevelAsString().

        Returns:
        Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.

        Default: info

        See Also:
        LogLevel
      • logLevelAsString

        public final String logLevelAsString()

        Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.

        Default: info

        If the service returns an enum value that is not available in the current SDK version, logLevel will return LogLevel.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from logLevelAsString().

        Returns:
        Log output level. InfluxDB outputs log entries with severity levels greater than or equal to the level specified.

        Default: info

        See Also:
        LogLevel
      • noTasks

        public final Boolean noTasks()

        Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks.

        Default: false

        Returns:
        Disable the task scheduler. If problematic tasks prevent InfluxDB from starting, use this option to start InfluxDB without scheduling or executing tasks.

        Default: false

      • queryConcurrency

        public final Integer queryConcurrency()

        Number of queries allowed to execute concurrently. Setting to 0 allows an unlimited number of concurrent queries.

        Default: 0

        Returns:
        Number of queries allowed to execute concurrently. Setting to 0 allows an unlimited number of concurrent queries.

        Default: 0

      • queryQueueSize

        public final Integer queryQueueSize()

        Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.

        Default: 0

        Returns:
        Maximum number of queries allowed in execution queue. When queue limit is reached, new queries are rejected. Setting to 0 allows an unlimited number of queries in the queue.

        Default: 0

      • tracingType

        public final TracingType tracingType()

        Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.

        If the service returns an enum value that is not available in the current SDK version, tracingType will return TracingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from tracingTypeAsString().

        Returns:
        Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.
        See Also:
        TracingType
      • tracingTypeAsString

        public final String tracingTypeAsString()

        Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.

        If the service returns an enum value that is not available in the current SDK version, tracingType will return TracingType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from tracingTypeAsString().

        Returns:
        Enable tracing in InfluxDB and specifies the tracing type. Tracing is disabled by default.
        See Also:
        TracingType
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)