Class MetadataColumn
java.lang.Object
dev.langchain4j.community.store.embedding.alloydb.MetadataColumn
Metadata column information used to define a new table colunm
-
Constructor Summary
ConstructorsConstructorDescriptionMetadataColumn(String name, String type, Boolean nullable) Metadata column's name, type and nullable constraint -
Method Summary
Modifier and TypeMethodDescriptiongenerate the column clause to be used byAlloyDBEnginegetName()the metadata column name
-
Constructor Details
-
MetadataColumn
Metadata column's name, type and nullable constraint- Parameters:
name- the column nametype- supported types: "text", "char()", "varchar()", "uuid", "integer", "bigint", "real" and "double"nullable- should use nullable constraint
-
-
Method Details
-
generateColumnString
generate the column clause to be used byAlloyDBEngine- Returns:
- column clause for create table
-
getName
the metadata column name- Returns:
- name string
-