Class M005_CreateMetadataIndexAndDropJobStatsIndex
- java.lang.Object
-
- org.jobrunr.storage.nosql.elasticsearch.migrations.ElasticSearchMigration
-
- org.jobrunr.storage.nosql.elasticsearch.migrations.M005_CreateMetadataIndexAndDropJobStatsIndex
-
public class M005_CreateMetadataIndexAndDropJobStatsIndex extends ElasticSearchMigration
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
JOBRUNR_JOB_STATS
-
Constructor Summary
Constructors Constructor Description M005_CreateMetadataIndexAndDropJobStatsIndex()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static org.elasticsearch.action.index.IndexRequest
jobStats(long totalSucceededAmount, java.lang.String metadataIndexName)
void
runMigration(org.elasticsearch.client.RestHighLevelClient client, java.lang.String indexPrefix)
-
Methods inherited from class org.jobrunr.storage.nosql.elasticsearch.migrations.ElasticSearchMigration
createIndex, createIndex, indexExists, mapping, updateIndex, waitForHealthyCluster
-
-
-
-
Field Detail
-
JOBRUNR_JOB_STATS
public static final java.lang.String JOBRUNR_JOB_STATS
- See Also:
- Constant Field Values
-
-
Method Detail
-
runMigration
public void runMigration(org.elasticsearch.client.RestHighLevelClient client, java.lang.String indexPrefix) throws java.io.IOException
- Specified by:
runMigration
in classElasticSearchMigration
- Throws:
java.io.IOException
-
jobStats
public static org.elasticsearch.action.index.IndexRequest jobStats(long totalSucceededAmount, java.lang.String metadataIndexName)
-
-