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

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

Explicity default constructors added

  • Property svn:executable set to *
File size: 937 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()
18 {
19 _input_dir = null;
20 _solr_url = null;
21 _output_dir = null;
22 _verbosity = 0;
23
24 _progress_accum = null;
25 _progress_step = 0.0;
26 }
27
28 public BasePerJSON(String input_dir, String solr_url, String output_dir, int verbosity,
29 DoubleAccumulator progress_accum, double progress_step)
30 {
31 _input_dir = input_dir;
32 _solr_url = solr_url;
33 _output_dir = output_dir;
34 _verbosity = verbosity;
35
36 _progress_accum = progress_accum;
37 _progress_step = progress_step;
38 }
39}
40
Note: See TracBrowser for help on using the repository browser.