Package org.kairosdb.client.builder.aggregator

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


  }

  @Test(expected = NullPointerException.class)
  public void test_unitNull_invalid()
  {
    new SamplingAggregator("sum", 1, null);
  }
View Full Code Here


   * @param unit unit of time
   * @return min aggregator
   */
  public static SamplingAggregator createMinAggregator(int value, TimeUnit unit)
  {
    return new SamplingAggregator("min", value, unit);
  }
View Full Code Here

   * @param unit unit of time
   * @return max aggregator
   */
  public static SamplingAggregator createMaxAggregator(int value, TimeUnit unit)
  {
    return new SamplingAggregator("max", value, unit);
  }
View Full Code Here

   * @param unit unit of time
   * @return average aggregator
   */
  public static SamplingAggregator createAverageAggregator(int value, TimeUnit unit)
  {
    return new SamplingAggregator("avg", value, unit);
  }
View Full Code Here

   * @param unit unit of time
   * @return standard deviation aggregator
   */
  public static SamplingAggregator createStandardDeviationAggregator(int value, TimeUnit unit)
  {
    return new SamplingAggregator("dev", value, unit);
  }
View Full Code Here

   * @param unit unit of time
   * @return sum aggregator
   */
  public static SamplingAggregator createSumAggregator(int value, TimeUnit unit)
  {
    return new SamplingAggregator("sum", value, unit);
  }
View Full Code Here

   * @param unit unit of time
   * @return count aggregator
   */
  public static SamplingAggregator createCountAggregator(int value, TimeUnit unit)
  {
    return new SamplingAggregator("count", value, unit);
  }
View Full Code Here

TOP

Related Classes of org.kairosdb.client.builder.aggregator.SamplingAggregator

Copyright © 2018 www.massapicom. 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.