.dimension("user", "alex") .timeRange(tsInSec - 60, tsInSec + 60) .limit(100) .build()); Assert.assertEquals(2, tags.size());
/** * Defines time range for {@link CubeExploreQuery}. * @param startTsInSec start time inclusive (epoch in seconds) * @param endTsInSec end time exclusive (epoch in seconds) * @return builder for configuring {@link CubeExploreQuery} */ public Limit timeRange(long startTsInSec, long endTsInSec) { Builder.this.startTs = startTsInSec; Builder.this.endTs = endTsInSec; return new Limit(); } }