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 Details

  • Constructor Details

    • M005_CreateMetadataIndexAndDropJobStatsIndex

      public M005_CreateMetadataIndexAndDropJobStatsIndex()
  • Method Details

    • runMigration

      public void runMigration(org.elasticsearch.client.RestHighLevelClient client, String indexPrefix) throws IOException
      Specified by:
      runMigration in class ElasticSearchMigration
      Throws:
      IOException
    • jobStats

      public static org.elasticsearch.action.index.IndexRequest jobStats(long totalSucceededAmount, String metadataIndexName)