Examples of RateAggregator


Examples of org.kairosdb.client.builder.aggregator.RateAggregator

  }

  @Test
  public void test_createRateAggregator()
  {
    RateAggregator aggregator = AggregatorFactory.createRateAggregator(TimeUnit.DAYS);

    assertThat(aggregator.getName(), equalTo("rate"));
    assertThat(aggregator.getUnit(), equalTo(TimeUnit.DAYS));
  }
View Full Code Here

Examples of org.kairosdb.client.builder.aggregator.RateAggregator

   * @param unit unit of time
   * @return rate aggregator
   */
  public static RateAggregator createRateAggregator(TimeUnit unit)
  {
    return new RateAggregator(unit);
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.