Class QueryResultMetadataSummary.Builder

    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • queryResultRowTypeSummaries

        public QueryResultMetadataSummary.Builder queryResultRowTypeSummaries​(List<QueryResultRowTypeSummary> queryResultRowTypeSummaries)
        A collection of QueryResultRowTypeSummary objects that describe the type and properties of the individual row elements of the query rows being returned.

        The i-th element in this list contains the QueryResultRowTypeSummary of the i-th key-value pair in the QueryResultRowData map.

        Parameters:
        queryResultRowTypeSummaries - the value to set
        Returns:
        this builder
      • sourceName

        public QueryResultMetadataSummary.Builder sourceName​(String sourceName)
        Source of the query result set (traces, spans, and so on).
        Parameters:
        sourceName - the value to set
        Returns:
        this builder
      • queryResultsGroupedBy

        public QueryResultMetadataSummary.Builder queryResultsGroupedBy​(List<QueryResultsGroupedBySummary> queryResultsGroupedBy)
        Columns or attributes of the query rows which are group by values.

        This is a list of ResultsGroupedBy summary objects, and the list will contain as many elements as the attributes and aggregate functions in the group by clause in the select query.

        Parameters:
        queryResultsGroupedBy - the value to set
        Returns:
        this builder
      • queryResultsOrderedBy

        public QueryResultMetadataSummary.Builder queryResultsOrderedBy​(List<QueryResultsOrderedBySummary> queryResultsOrderedBy)
        Order by which the query results are organized.

        This is a list of queryResultsOrderedBy summary objects, and the list will contain more than one OrderedBy summary object, if the sort was multidimensional.

        Parameters:
        queryResultsOrderedBy - the value to set
        Returns:
        this builder
      • timeSeriesIntervalInMins

        public QueryResultMetadataSummary.Builder timeSeriesIntervalInMins​(Integer timeSeriesIntervalInMins)
        Interval for the time series function in minutes.
        Parameters:
        timeSeriesIntervalInMins - the value to set
        Returns:
        this builder