Interface InfluxDBConnectionFactory.InfluxDBQuery<T>

  • Enclosing class:
    InfluxDBConnectionFactory
    Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public static interface InfluxDBConnectionFactory.InfluxDBQuery<T>
    A query against an InfluxDBClient that may fail with an auth error. The operation MUST fully materialize or consume its results before returning, because InfluxDB's Flight streams are lazy — auth errors surface during stream consumption, not when query() is called.
    • Method Detail

      • run

        T run​(com.influxdb.v3.client.InfluxDBClient client)
        throws Exception
        Throws:
        Exception