public interface MeasurementFetchStrategy
FetchResults fetch(long start, long end, long step, int maxrows, Long interval, Long heartbeat, List<Source> sources, boolean relaxed) throws Exception
start- timestamp in milliseconds
end- timestamp in milliseconds
step- desired resolution in milliseconds - actual resolution might differ
maxrows- maximum number of rows - no limit when <= 0
interval- duration in milliseconds, used by strategies that implement late aggregation
heartbeat- duration in milliseconds, used by strategies that implement late aggregation
sources- array of sources - these should have unique labels
falsea missing source results in a return of
trueon the other hand ignores that source.
Copyright © 2021. All rights reserved.