Package ca.uhn.fhir.jpa.search.elastic
Class ElasticsearchHibernatePropertiesBuilder
java.lang.Object
ca.uhn.fhir.jpa.search.elastic.ElasticsearchHibernatePropertiesBuilder
This class is used to inject appropriate properties into a hibernate
Properties object being used to create an entitymanager for a HAPI
FHIR JPA server. This class also injects a starter template into the ES cluster.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
apply
(Properties theProperties) setDebugIndexSyncStrategy
(String theSyncStrategy) setDebugPrettyPrintJsonLog
(boolean theDebugPrettyPrintJsonLog) setIndexManagementWaitTimeoutMillis
(long theIndexManagementWaitTimeoutMillis) setIndexSchemaManagementStrategy
(org.hibernate.search.mapper.orm.schema.management.SchemaManagementStrategyName theIndexSchemaManagementStrategy) setPassword
(String thePassword) setProtocol
(String theProtocol) setRequiredIndexStatus
(org.hibernate.search.backend.elasticsearch.index.IndexStatus theRequiredIndexStatus) setUsername
(String theUsername)
-
Constructor Details
-
ElasticsearchHibernatePropertiesBuilder
-
-
Method Details
-
setUsername
-
setPassword
-
apply
-
setRequiredIndexStatus
public ElasticsearchHibernatePropertiesBuilder setRequiredIndexStatus(org.hibernate.search.backend.elasticsearch.index.IndexStatus theRequiredIndexStatus) -
setHosts
-
setProtocol
-
setIndexSchemaManagementStrategy
public ElasticsearchHibernatePropertiesBuilder setIndexSchemaManagementStrategy(org.hibernate.search.mapper.orm.schema.management.SchemaManagementStrategyName theIndexSchemaManagementStrategy) -
setIndexManagementWaitTimeoutMillis
public ElasticsearchHibernatePropertiesBuilder setIndexManagementWaitTimeoutMillis(long theIndexManagementWaitTimeoutMillis) -
setDebugIndexSyncStrategy
-
setDebugPrettyPrintJsonLog
public ElasticsearchHibernatePropertiesBuilder setDebugPrettyPrintJsonLog(boolean theDebugPrettyPrintJsonLog)
-