public static FetchResults createEmtpyFetchResults(final long step, final Map<String, Object> constants) { final Map<String, double[]> columns = new HashMap<>(); return new FetchResults(new long[0], columns, step, constants); } }
public static FetchResults createEmtpyFetchResults(final long step, final Map<String, Object> constants) { final Map<String, double[]> columns = new HashMap<>(); return new FetchResults(new long[0], columns, step, constants, new QueryMetadata()); } }
return new FetchResults(timestamps, valuesByLabel, xportResults.getStep() * 1000, constants);
return new FetchResults(timestamps, valuesByLabel, xportResults.getStep() * 1000, constants, metadata);
FetchResults fetchResults = new FetchResults(timestamps, columns, lag.getStep(), constants, new QueryMetadata(resources)); if (relaxed) { Utils.fillMissingValues(fetchResults, sources);
return new FetchResults(timestamps, columns, dproc.getStep() * 1000, constants, metadata);
FetchResults fetchResults = new FetchResults(timestamps, columns, lag.getStep(), constants); if (relaxed) { Utils.fillMissingValues(fetchResults, sources);
return new FetchResults(timestamps, columns, dproc.getStep() * 1000, constants);
return new FetchResults(timestamps, columns, xportStepInMs, constants, metadata);
return new FetchResults(timestamps, columns, xportStepInMs, constants);
source.setAttribute(rrdAttribute.getName()); source.setAggregation("AVERAGE"); FetchResults results = new FetchResults(new long[] {report.getStartTime()}, Collections.singletonMap("result", new double[] {100.0}), report.getEndTime() - report.getStartTime(),
source.setAttribute(rrdAttribute.getName()); source.setAggregation("AVERAGE"); FetchResults results = new FetchResults(new long[] {report.getStartTime()}, Collections.singletonMap("result", new double[] {100.0}), report.getEndTime() - report.getStartTime(),
RowSortedTable<Long, String, Double> table = results.asRowSortedTable(); filterEngine.filter(request.getFilters(), table); results = new FetchResults(table, results.getStep(), results.getConstants());
RowSortedTable<Long, String, Double> table = results.asRowSortedTable(); filterEngine.filter(request.getFilters(), table); results = new FetchResults(table, results.getStep(), results.getConstants(), results.getMetadata());