@@ -9,7 +9,6 @@ import java.util.Optional;
|
||||
import java.util.regex.Pattern;
|
||||
|
||||
import org.lucares.pdb.api.DateTimeRange;
|
||||
import org.lucares.pdb.datastore.PdbIndexId;
|
||||
import org.lucares.recommind.logs.GnuplotAxis;
|
||||
import org.lucares.utils.Preconditions;
|
||||
|
||||
@@ -19,8 +18,6 @@ public class PlotSettings {
|
||||
|
||||
private String query;
|
||||
|
||||
private PdbIndexId index;
|
||||
|
||||
private int height;
|
||||
|
||||
private int width;
|
||||
@@ -58,14 +55,6 @@ public class PlotSettings {
|
||||
this.query = query;
|
||||
}
|
||||
|
||||
public PdbIndexId getIndex() {
|
||||
return index;
|
||||
}
|
||||
|
||||
public void setIndex(final PdbIndexId index) {
|
||||
this.index = index;
|
||||
}
|
||||
|
||||
public int getHeight() {
|
||||
return height;
|
||||
}
|
||||
|
||||
@@ -22,7 +22,6 @@ import org.lucares.pdb.api.GroupResult;
|
||||
import org.lucares.pdb.api.Query;
|
||||
import org.lucares.pdb.api.Result;
|
||||
import org.lucares.pdb.api.Tags;
|
||||
import org.lucares.pdb.datastore.PdbIndexId;
|
||||
import org.lucares.pdb.plot.api.AggregatorCollection;
|
||||
import org.lucares.pdb.plot.api.Limit;
|
||||
import org.lucares.pdb.plot.api.PlotSettings;
|
||||
@@ -68,7 +67,6 @@ public class Plotter {
|
||||
final List<DataSeries> dataSeries = Collections.synchronizedList(new ArrayList<>());
|
||||
|
||||
final String query = plotSettings.getQuery();
|
||||
final PdbIndexId index = plotSettings.getIndex();
|
||||
final List<String> groupBy = plotSettings.getGroupBy();
|
||||
final int height = plotSettings.getHeight();
|
||||
final int width = plotSettings.getWidth();
|
||||
@@ -76,7 +74,7 @@ public class Plotter {
|
||||
final OffsetDateTime dateFrom = dateRange.getStart();
|
||||
final OffsetDateTime dateTo = dateRange.getEnd();
|
||||
|
||||
final Result result = db.get(new Query(query, dateRange, index.getId()), groupBy);
|
||||
final Result result = db.get(new Query(query, dateRange), groupBy);
|
||||
|
||||
final long start = System.nanoTime();
|
||||
final AtomicInteger idCounter = new AtomicInteger(0);
|
||||
|
||||
Reference in New Issue
Block a user