Class AmazonOpenSearchServerlessWorkFactory
java.lang.Object
org.hibernate.search.backend.elasticsearch.work.factory.impl.Elasticsearch7WorkFactory
org.hibernate.search.backend.elasticsearch.work.factory.impl.AmazonOpenSearchServerlessWorkFactory
- All Implemented Interfaces:
ElasticsearchWorkFactory
A work builder factory for Amazon OpenSearch Serverless.
Not all operations are supported, see the documentation.
-
Field Summary
Fields inherited from class org.hibernate.search.backend.elasticsearch.work.factory.impl.Elasticsearch7WorkFactory
gsonProvider -
Constructor Summary
ConstructorsConstructorDescriptionAmazonOpenSearchServerlessWorkFactory(GsonProvider gsonProvider, Boolean ignoreShardFailures) -
Method Summary
Modifier and TypeMethodDescriptioncloseIndex(URLEncodedString indexName) deleteByQuery(URLEncodedString indexName, com.google.gson.JsonObject payload) flush()booleanbooleanbooleanbooleanbooleanopenIndex(URLEncodedString indexName) refresh()waitForIndexStatus(URLEncodedString indexName, IndexStatus requiredStatus, int requiredStatusTimeoutInMs) Methods inherited from class org.hibernate.search.backend.elasticsearch.work.factory.impl.Elasticsearch7WorkFactory
analyze, bulk, clearScroll, count, createIndex, delete, dropIndex, explain, getIndexMetadata, index, putIndexAliases, putIndexSettings, putIndexTypeMapping, scroll, search
-
Constructor Details
-
AmazonOpenSearchServerlessWorkFactory
public AmazonOpenSearchServerlessWorkFactory(GsonProvider gsonProvider, Boolean ignoreShardFailures)
-
-
Method Details
-
isDeleteByQuerySupported
public boolean isDeleteByQuerySupported()- Specified by:
isDeleteByQuerySupportedin interfaceElasticsearchWorkFactory- Overrides:
isDeleteByQuerySupportedin classElasticsearch7WorkFactory
-
deleteByQuery
public DeleteByQueryWork.Builder deleteByQuery(URLEncodedString indexName, com.google.gson.JsonObject payload) - Specified by:
deleteByQueryin interfaceElasticsearchWorkFactory- Overrides:
deleteByQueryin classElasticsearch7WorkFactory
-
isFlushSupported
public boolean isFlushSupported()- Specified by:
isFlushSupportedin interfaceElasticsearchWorkFactory- Overrides:
isFlushSupportedin classElasticsearch7WorkFactory
-
flush
- Specified by:
flushin interfaceElasticsearchWorkFactory- Overrides:
flushin classElasticsearch7WorkFactory
-
isRefreshSupported
public boolean isRefreshSupported()- Specified by:
isRefreshSupportedin interfaceElasticsearchWorkFactory- Overrides:
isRefreshSupportedin classElasticsearch7WorkFactory
-
refresh
- Specified by:
refreshin interfaceElasticsearchWorkFactory- Overrides:
refreshin classElasticsearch7WorkFactory
-
isMergeSegmentsSupported
public boolean isMergeSegmentsSupported()- Specified by:
isMergeSegmentsSupportedin interfaceElasticsearchWorkFactory- Overrides:
isMergeSegmentsSupportedin classElasticsearch7WorkFactory
-
mergeSegments
- Specified by:
mergeSegmentsin interfaceElasticsearchWorkFactory- Overrides:
mergeSegmentsin classElasticsearch7WorkFactory
-
openIndex
- Specified by:
openIndexin interfaceElasticsearchWorkFactory- Overrides:
openIndexin classElasticsearch7WorkFactory
-
closeIndex
- Specified by:
closeIndexin interfaceElasticsearchWorkFactory- Overrides:
closeIndexin classElasticsearch7WorkFactory
-
waitForIndexStatus
public WaitForIndexStatusWork.Builder waitForIndexStatus(URLEncodedString indexName, IndexStatus requiredStatus, int requiredStatusTimeoutInMs) - Specified by:
waitForIndexStatusin interfaceElasticsearchWorkFactory- Overrides:
waitForIndexStatusin classElasticsearch7WorkFactory
-
isWaitForIndexStatusSupported
public boolean isWaitForIndexStatusSupported()- Specified by:
isWaitForIndexStatusSupportedin interfaceElasticsearchWorkFactory- Overrides:
isWaitForIndexStatusSupportedin classElasticsearch7WorkFactory
-