Package org.kairosdb.client.response.grouping

Examples of org.kairosdb.client.response.grouping.DefaultGroupResult


    // Groups
    assertThat(results.get(0).getGroupResults().size(), equalTo(4));

    // Default Group
    DefaultGroupResult defaultGroupResults = (DefaultGroupResult) results.get(0).getGroupResults().get(0);
    assertThat(defaultGroupResults.getName(), equalTo("type"));
    assertThat(defaultGroupResults.getType(), equalTo("number"));

    // Value Group
    ValueGroupResult valueGroupResults = (ValueGroupResult) results.get(0).getGroupResults().get(1);
    assertThat(valueGroupResults.getName(), equalTo("value"));
    assertThat(valueGroupResults.getRangeSize(), equalTo(10));
View Full Code Here

TOP

Related Classes of org.kairosdb.client.response.grouping.DefaultGroupResult

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.