org.archive.hadoop.ArchiveJSONViewLoader Maven / Gradle / Ivy
package org.archive.hadoop;
import java.io.IOException;
import java.util.ArrayList;
import java.util.List;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.apache.commons.lang.StringUtils;
import org.apache.pig.backend.executionengine.ExecException;
import org.apache.pig.data.Tuple;
import org.apache.pig.data.TupleFactory;
import org.archive.format.json.JSONView;
import org.json.JSONException;
import org.json.JSONObject;
public class ArchiveJSONViewLoader extends ArchiveMetadataLoader {
private final static Logger LOG =
Logger.getLogger(ArchiveJSONViewLoader.class.getName());
protected TupleFactory mCacheTupleFactory = TupleFactory.getInstance();
private ArrayList