Class BigQueryReadClientFactory

java.lang.Object
io.trino.plugin.bigquery.BigQueryReadClientFactory

public class BigQueryReadClientFactory extends Object
Since Guice recommends to avoid injecting closeable resources (see https://github.com/google/guice/wiki/Avoid-Injecting-Closable-Resources), this factory creates short lived clients that can be closed independently.
  • Constructor Details

    • BigQueryReadClientFactory

      @Inject public BigQueryReadClientFactory(Set<io.trino.plugin.bigquery.BigQueryOptionsConfigurer> configurers)