Class HibernateEmbeddingStore.BaseBuilder<E>
java.lang.Object
dev.langchain4j.store.embedding.hibernate.HibernateEmbeddingStore.BaseBuilder<E>
- Direct Known Subclasses:
HibernateEmbeddingStore.DynamicBuilder, HibernateEmbeddingStore.DynamicDatasourceBuilder
- Enclosing class:
HibernateEmbeddingStore<E>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Booleanprotected Booleanprotected DatabaseKindprotected Integerprotected DistanceFunctionprotected Booleanprotected Stringprotected Stringprotected String -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected org.hibernate.cfg.ConfigurationcreateIndex(Boolean createIndex) protected org.hibernate.SessionFactorycreateSessionFactory(org.hibernate.cfg.Configuration cfg, DatabaseKind databaseKind) createTable(Boolean createTable) databaseKind(DatabaseKind databaseKind) distanceFunction(DistanceFunction distanceFunction) dropTableFirst(Boolean dropTableFirst) indexOptions(String indexOptions)
-
Field Details
-
databaseKind
-
table
-
dimension
-
createIndex
-
indexType
-
indexOptions
-
createTable
-
dropTableFirst
-
distanceFunction
-
-
Constructor Details
-
BaseBuilder
public BaseBuilder()
-
-
Method Details
-
createConfiguration
protected org.hibernate.cfg.Configuration createConfiguration() -
createSessionFactory
protected org.hibernate.SessionFactory createSessionFactory(org.hibernate.cfg.Configuration cfg, DatabaseKind databaseKind) -
databaseKind
-
table
-
dimension
-
createIndex
-
indexType
-
indexOptions
-
createTable
-
dropTableFirst
-
distanceFunction
-