source: other-projects/hathitrust/solr-extracted-features/trunk/src/main/java/org/hathitrust/extractedfeatures/BasePerJSON.java@ 31002

Last change on this file since 31002 was 31002, checked in by davidb, 7 years ago

Need to separate flatMap and foreach calls in PagedJSON

  • Property svn:executable set to *
File size: 760 bytes
Line 
1package org.hathitrust.extractedfeatures;
2
3import org.apache.spark.util.DoubleAccumulator;
4
5public class BasePerJSON
6{
7 private static final long serialVersionUID = 1L;
8
9 protected String _input_dir;
10 protected String _solr_url;
11 protected String _output_dir;
12 protected int _verbosity;
13
14 protected DoubleAccumulator _progress_accum;
15 protected double _progress_step;
16
17 public BasePerJSON(String input_dir, String solr_url, String output_dir, int verbosity,
18 DoubleAccumulator progress_accum, double progress_step)
19 {
20 _input_dir = input_dir;
21 _solr_url = solr_url;
22 _output_dir = output_dir;
23 _verbosity = verbosity;
24
25 _progress_accum = progress_accum;
26 _progress_step = progress_step;
27 }
28}
29
Note: See TracBrowser for help on using the repository browser.