All Products
Search
Document Center

SubQuery

Last Updated: Apr 13, 2022

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.Builder

    static class

    SubQuery.Builder

    Built class of the SubQuery instance

    static class

    SubQuery.MetricBuilder

    Used to build the intermediate class of SubQuery.Builder
    • Builder 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 Aggregator

      String

      getAggregator()

      Get the Aggregator

      Aggregator

      getAggregatorType()

      Get the Aggregator type

      String

      getDownsample()

      Get the downsample characters

      List<Filter>

      getFilters()

      Get all Filter conditions

      String

      getMetric()

      Get the Metric name

      Boolean

      getRate()

      Get the Rate

      Map<String,String>

      getTags()

      Get the Tag key-value pair in the Map form

      Boolean

      isExplicitTags()

      Get the explicit value

      static SubQuery.MetricBuilder

      metric(String metric)

      Create SubQuery.MetricBuilder instances using the Metric name

      static SubQuery.Builder

      metric(String metric, Aggregator aggregator)

      String

      toJSON()

      Convert to JSON string
      • Method of inheritance from a class java.lang. Object

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

  • 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