Class name: com.aliyun.hitsdb.client.value.request.SubQuery
java.lang.Object
com.aliyun.hitsdb.client.value.request.SubQuery
public class SubQuery extends Object
Essentials of the nested class
Qualifier and type
Class and explanations
static class
SubQuery.AggregatorBuilder
Used to build the intermediate class of SubQuery.Builderstatic class
SubQuery.Builder
Built class of the SubQuery instancestatic class
SubQuery.MetricBuilder
Used to build the intermediate class of SubQuery.BuilderBuilder Essentials
Builder and explanation
SubQuery
()
Method Essentials
Qualifier and type
Method and explanation
static SubQuery.AggregatorBuilder
aggregator
(Aggregator aggregator)
Get the SubQuery.AggregatorBuilder instance by specifying the AggregatorString
getAggregator
()
Get the AggregatorAggregator
getAggregatorType
()
Get the Aggregator typeString
getDownsample
()
Get the downsample charactersList<Filter>
getFilters
()
Get all Filter conditionsString
getMetric
()
Get the Metric nameBoolean
getRate
()
Get the RateMap<String,String>
getTags
()
Get the Tag key-value pair in the Map formBoolean
isExplicitTags
()
Get the explicit valuestatic SubQuery.MetricBuilder
metric
(String metric)
Create SubQuery.MetricBuilder instances using the Metric namestatic SubQuery.Builder
metric
(String metric, Aggregator aggregator)
String
toJSON
()
Convert to JSON stringMethod of inheritance from a class java.lang. Object
clone
,equals
,finalize
,getClass
,hashCode
,notify
,notifyAll
,toString
,wait
,wait
,wait
Builder details
SubQuery
public SubQuery()
Builder details
SubQuery
public SubQuery()
Method details
metric
public static SubQuery.Builder metric(String metric, Aggregator aggregator)
Get the SubQuery.Builder instance using the Aggregator
metric
public static SubQuery.MetricBuilder metric(String metric)
Get the SubQuery.Builder instance using the Metric name
aggregator
public static SubQuery.AggregatorBuilder aggregator(Aggregator aggregator)
getAggregatorType
public Aggregator getAggregatorType()
getAggregator
public String getAggregator()
Get the Aggregator
getMetric
public String getMetric()
Get the Metric name
getDownsample
public String getDownsample()
Get a downsample string
getRate
public Boolean getRate()
Get the Rate.
getTags
public Map<String,String> getTags()
Get the Tag key-value pair in the Map form
toJSON
public String toJSON()
Convert to JSON string
getFilters
public List<Filter> getFilters()
Get all Filter condition instances