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

public class MetadataColumn extends Object
Metadata column information used to define a new table colunm
  • Constructor Details

    • MetadataColumn

      public MetadataColumn(String name, String type, Boolean nullable)
      Metadata column's name, type and nullable constraint
      Parameters:
      name - the column name
      type - supported types: "text", "char()", "varchar()", "uuid", "integer", "bigint", "real" and "double"
      nullable - should use nullable constraint
  • Method Details

    • generateColumnString

      public String generateColumnString()
      generate the column clause to be used by AlloyDBEngine
      Returns:
      column clause for create table
    • getName

      public String getName()
      the metadata column name
      Returns:
      name string