
org.kairosdb.client.response.grouping.DefaultGroupResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of kairosdb-client Show documentation
Show all versions of kairosdb-client Show documentation
Java client for pushing and querying data to/from KairosDB
The newest version!
package org.kairosdb.client.response.grouping;
import org.kairosdb.client.response.GroupResult;
import static org.kairosdb.client.util.Preconditions.checkNotNullOrEmpty;
/**
* Group that represents natural grouping based on the type of the data.
*/
public class DefaultGroupResult extends GroupResult
{
private String type;
public DefaultGroupResult(String name, String type)
{
super(name);
this.type = checkNotNullOrEmpty(type);
}
/**
* Returns the type of data.
*
* @return type of the data
*/
public String getType()
{
return type;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy