All Products
Search
Document Center

QueryResult

Last Updated: Apr 28, 2022

Class name: com.aliyun.hitsdb.client.value.response.QueryResult

java.lang.Object

com.aliyun.hitsdb.client.value.JSONValue

com.aliyun.hitsdb.client.value.response.QueryResult

public class QueryResult extends JSONValue

Builder Essentials

Builder and explanation

QueryResult()

Class of query results

Method Essentials

Qualifier and type

Method and explanation

List<String>

getAggregateTags()

Get the aggregated Tags

LinkedHashMap<Long,Number>

getDps()

Get data query results.

String

getMetric()

Get the Metric name

Map<String,String>

getTags()

Get the queried Tags

void

setAggregateTags(List<String> aggregateTags)

void

setDps(LinkedHashMap<Long,Number> dps)

void

setMetric(String metric)

void

setTags(Map<String,String> tags)

Method of inheritance from a class com.aliyun.hitsdb.client.value.JSONValue

appendJSON, parseObject, toJSON, toString

Method of inheritance from a class java.lang.Object

clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait

Builder details

QueryResult

public QueryResult()

Method details

  • getAggregateTags

    public List<String> getAggregateTags()
  • setAggregateTags

    public void setAggregateTags(List<String> aggregateTags)
  • getDps

    public LinkedHashMap<Long,Number> getDps()
  • getMetric

    public String getMetric()
  • getTags

    public Map<String,String> getTags()
  • setDps

    public void setDps(LinkedHashMap<Long,Number> dps)
  • setMetric

    public void setMetric(String metric)
  • setTags

    public void setTags(Map<String,String> tags)