java.lang.Object
dev.langchain4j.community.store.embedding.alloydb.AlloyDBEngine

public class AlloyDBEngine extends Object
AlloyDBEngine

Instances of this store are created by configuring a builder:

AlloyDBEngine engine = new AlloyDBEngine.Builder(projectId, region, cluster, instance, database).build(); Uses HikariCP as a DataSource. A connection pool that will avoid the latency of repeatedly creating new database connections.
  • Constructor Details

    • AlloyDBEngine

      public AlloyDBEngine(AlloyDBEngine.Builder builder)
      Constructor for AlloyDBEngine
      Parameters:
      builder - builder.
  • Method Details