Class RecordImporter

java.lang.Object
eu.dnetlib.dhp.solr.RecordImporter
All Implemented Interfaces:
Serializable

public class RecordImporter extends Object implements Serializable
See Also:
  • Field Details

    • BATCH_SIZE

      public static final int BATCH_SIZE
      See Also:
    • RETRY_DELAY_MILLIS

      public static final int RETRY_DELAY_MILLIS
      Base delay before the first retry; doubles on each subsequent attempt.
      See Also:
  • Constructor Details

    • RecordImporter

      public RecordImporter()
  • Method Details

    • importRecords

      public static void importRecords(org.apache.spark.SparkConf conf, String zkHost, String collection, String path, int batchSize, boolean shouldCommit, boolean shouldFilterXmlPayload)
    • importRecords

      public static void importRecords(org.apache.spark.SparkConf conf, CloudClientParams params, String path, int batchSize, boolean shouldCommit, boolean shouldFilterXmlPayload)