prerna.ds.r.RIterator Maven / Gradle / Ivy
package prerna.ds.r;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import org.apache.log4j.LogManager;
import org.apache.log4j.Logger;
import prerna.engine.api.IHeadersDataRow;
import prerna.om.HeadersDataRow;
import prerna.query.querystruct.SelectQueryStruct;
import prerna.util.Utility;
public class RIterator implements Iterator{
private static final Logger LOGGER = LogManager.getLogger(RIterator.class.getName());
private RFrameBuilder builder;
private SelectQueryStruct qs;
private String tempVarName;
private int numRows;
private String[] headers = null;
private String[] colTypes = null;
private List