MENU
      DataQueryRequest

        DataQueryRequest


        Article summary

        Available in Classic

        This is the data query request information.

        Syntax

        The syntax is as follows.

        private long timeStart;
        private long timeEnd;
        private String productName;
        private String cw_key;
        private String metric;
        private Interval interval;
        private Calculation aggregation;
        private QueryAggregation queryAggregation;
        private Map<String, String> dimensions;
        Java

        Field

        The following describes the fields.

        FieldTypeRequiredDescription
        timeStartlongOptionalQuery start time (milliseconds)
        timeEndlongOptionalQuery end time (milliseconds)
        productNameStringOptionalProduct name
        cw_keyStringRequiredcw_key of the product
        metricStringRequiredMetric name to be searched
        intervalIntervalOptionalAggregation interval for the data you want to query
        • Min1(default) | Min5 | Min30 | Hour2 | Day1
        aggregationCalculationOptionalAggregation function for the data you want to query
        • COUNT | SUM | MAX | MIN | AVG (default)
        queryAggregationQueryAggregationOptionalMethod of processing query results in case of insufficient query standards
        • COUNT | SUM | MAX | MIN | AVG (default)
        dimensionsMap<String, String>RequiredSpecify the dimension to query in JSON format
        Note

        This is the case where multiple data exists as a result of the actual query because the dimension conditions for the metric you are looking at are not clear enough. In such cases, aggregated values are returned by the method specified in queryAggregation.


        Was this article helpful?

        Changing your password will log you out immediately. Use the new password to log back in.
        First name must have atleast 2 characters. Numbers and special characters are not allowed.
        Last name must have atleast 1 characters. Numbers and special characters are not allowed.
        Enter a valid email
        Enter a valid password
        Your profile has been successfully updated.