Class ElasticSearchDocumentMapper
java.lang.Object
org.jobrunr.storage.nosql.elasticsearch.ElasticSearchDocumentMapper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoBackgroundJobServerStatus
(org.elasticsearch.search.SearchHit searchHit) toJob
(org.elasticsearch.action.get.GetResponse response) toJob
(org.elasticsearch.search.SearchHit hit) toMetadata
(Map<String, Object> fieldMap) toMetadata
(org.elasticsearch.action.get.GetResponse response) toMetadata
(org.elasticsearch.search.SearchHit searchHit) toRecurringJob
(org.elasticsearch.search.SearchHit hit) org.elasticsearch.xcontent.XContentBuilder
toXContentBuilder
(Job job) org.elasticsearch.xcontent.XContentBuilder
org.elasticsearch.xcontent.XContentBuilder
toXContentBuilder
(JobRunrMetadata metadata) org.elasticsearch.xcontent.XContentBuilder
toXContentBuilderForInsert
(BackgroundJobServerStatus serverStatus) org.elasticsearch.xcontent.XContentBuilder
toXContentBuilderForUpdate
(BackgroundJobServerStatus serverStatus)
-
Constructor Details
-
ElasticSearchDocumentMapper
-
-
Method Details
-
toXContentBuilderForInsert
public org.elasticsearch.xcontent.XContentBuilder toXContentBuilderForInsert(BackgroundJobServerStatus serverStatus) -
toXContentBuilderForUpdate
public org.elasticsearch.xcontent.XContentBuilder toXContentBuilderForUpdate(BackgroundJobServerStatus serverStatus) -
toXContentBuilder
-
toXContentBuilder
-
toXContentBuilder
-
toBackgroundJobServerStatus
public BackgroundJobServerStatus toBackgroundJobServerStatus(org.elasticsearch.search.SearchHit searchHit) -
toMetadata
-
toMetadata
-
toMetadata
-
toJob
-
toJob
-
toRecurringJob
-